google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

The Cloud Quotas python client update quota preference request example is missing an important field

Open hqin2016 opened this issue 1 year ago • 0 comments

Determine this is the right repository

  • [X] I determined this is the correct repository in which to report this bug.

Summary of the issue

Context In https://cloud.google.com/python/docs/reference/google-cloud-cloudquotas/latest/google.cloud.cloudquotas_v1.services.cloud_quotas.CloudQuotasClient#google_cloud_cloudquotas_v1_services_cloud_quotas_CloudQuotasClient_update_quota_preference,

quota_preference.name should be defined as well.

API client name and version

No response

Reproduction steps: code

file: main.py

   def reproduce():
    # complete code here

Reproduction steps: supporting files

file: mydata.csv

alpha,1,3
beta,2,5

Reproduction steps: actual results

file: output.txtmydata.csv

Calculated: foo

Reproduction steps: expected results

file: output.txtmydata.csv

Calculated: bar

OS & version + platform

No response

Python environment

No response

Python dependencies

No response

hqin2016 avatar Sep 26 '24 18:09 hqin2016