Skip to content

[iam-policy] v1 and v1beta is not generated to java-iam-policy/google-iam-policy #13024

@zhumin8

Description

@zhumin8

google/iam/v1 and google/iam/v1beta are configured to in generation_config.yaml:

- api_shortname: iam-policy
name_pretty: IAM
product_documentation: n/a
api_description: n/a
release_level: stable
distribution_name: com.google.cloud:google-iam-policy
api_id: iam.googleapis.com
client_documentation: https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history
excluded_poms: proto-google-iam-v1-bom,google-iam-policy,proto-google-iam-v1
excluded_dependencies: google-iam-policy
GAPICs:
- proto_path: google/iam/v1
- proto_path: google/iam/v1beta
- proto_path: google/iam/v2
- proto_path: google/iam/v2beta
- proto_path: google/iam/v3
- proto_path: google/iam/v3beta

However, they are not copied in .OwlBot-hermetic.yaml. So even though generated, it is not copied to final location.

Is this intentional?
For now, I propose to remove these paths from generation_config.yaml for consistency.

Then, If we desire to add these to generated code, we can:

  • update .OwlBot-hermetic.yaml to copy v1 and v1beta now before migration
  • update librarian.yaml after migration to librarian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions