Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Jun 23, 2015

Fixes #90.

@dhermes dhermes added api: storage Issues related to the Cloud Storage API. api: core labels Jun 23, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 23, 2015
@tseaver
Copy link
Contributor

tseaver commented Jun 23, 2015

LGTM.

dhermes added a commit that referenced this pull request Jun 23, 2015
Moving storage iterator into core modules.
@dhermes dhermes merged commit be52e91 into googleapis:master Jun 23, 2015
@dhermes dhermes deleted the fix-90 branch June 23, 2015 20:18
dhermes added a commit to dhermes/google-cloud-python that referenced this pull request Jun 23, 2015
@dhermes dhermes mentioned this pull request Jul 10, 2015
parthea added a commit that referenced this pull request Aug 21, 2025
* feat: Add BigQuery Metastore Partition Service API version v1beta

PiperOrigin-RevId: 753333720

Source-Link: googleapis/googleapis@389abd1

Source-Link: googleapis/googleapis-gen@a875887
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTg3NTg4NzkxYWMwMDU3YjViY2Q1YjkxZTQ5N2E1ZGFmZjY2ZWJiYyJ9

* update replacement in owlbot.py

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Add gapic_version.py

* update gapic_version.py

* update docs/index.rst

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This was referenced Sep 12, 2025
parthea added a commit that referenced this pull request Sep 16, 2025
* feat: Add BigQuery Metastore Partition Service API version v1beta

PiperOrigin-RevId: 753333720

Source-Link: googleapis/googleapis@389abd1

Source-Link: googleapis/googleapis-gen@a875887
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTg3NTg4NzkxYWMwMDU3YjViY2Q1YjkxZTQ5N2E1ZGFmZjY2ZWJiYyJ9

* update replacement in owlbot.py

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Add gapic_version.py

* update gapic_version.py

* update docs/index.rst

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
Generate mock field inputs for all required fields.

* For oneofs, the first option is selected.
* For enums, the last option is selected (as 0 is often unspecified).
* Mock input for string fields that reference resources (`resource_pb2.resource_reference`) is the pattern provided in the protos.

**TODOs:**
- When a resource's pattern is `*` this results in unhelpful strings
    ```proto
    message Asset {
      option (google.api.resource) = {
        type: "cloudasset.googleapis.com/Asset"
        pattern: "*"
      };
    ```

    ```py
    request = asset_v1.BatchGetAssetsHistoryRequest(
       parent="*",
    )
    ```
- Map fields are not yet handled.

**Other changes:**

* Fields are set like `foo.bar` rather than through dict access `foo["bar"]`. This is because the former allows you to set fields nested more than one field deep `foo.bar.baz`.

    **Before**:
    ```py
    output_config = {}
    output_config["gcs_destination"]["uri"] = "uri_value" # fails as there is no nested dict
    ```

    **After**:
    ```py
    output_config = asset_v1.IamPolicyAnalysisOutputConfig()
    output_config.gcs_destination.uri = "uri_value"
    ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: core api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants