# -*- coding: utf-8 -*- #
# Copyright 2025 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This file is autogenerated and should not be edited by hand.
# AUTOGEN_CLI_VERSION: HEAD
folders_or_organizations_or_projects_locations:
  name: location
  plural_name: locations
  resources:
  - name: location
    plural_name: locations
    collection: iam.folders.locations
    attributes:
    - &folder
      parameter_name: foldersId
      attribute_name: folder
      help: The folder id of the {resource} resource.
    - &location
      parameter_name: locationsId
      attribute_name: location
      help: The location id of the {resource} resource.
    disable_auto_completers: true
  - name: location
    plural_name: locations
    collection: iam.organizations.locations
    attributes:
    - &organization
      parameter_name: organizationsId
      attribute_name: organization
      help: The organization id of the {resource} resource.
    - *location
    disable_auto_completers: true
  - name: location
    plural_name: locations
    collection: iam.projects.locations
    attributes:
    - &project
      parameter_name: projectsId
      attribute_name: project
      help: The project id of the {resource} resource.
      property: core/project
    - *location
    disable_auto_completers: true
organizations_locations:
  name: location
  plural_name: locations
  collection: iam.organizations.locations
  attributes:
  - *organization
  - *location
  disable_auto_completers: true
folders_or_organizations_or_projects_locations_access_policies:
  name: accessPolicy
  plural_name: accessPolicies
  resources:
  - name: accessPolicy
    plural_name: accessPolicies
    collection: iam.folders.locations.accessPolicies
    attributes:
    - *folder
    - *location
    - &accessPolicy
      parameter_name: accessPoliciesId
      attribute_name: access_policy
      help: The accessPolicy id of the {resource} resource.
    disable_auto_completers: true
  - name: accessPolicy
    plural_name: accessPolicies
    collection: iam.organizations.locations.accessPolicies
    attributes:
    - *organization
    - *location
    - *accessPolicy
    disable_auto_completers: true
  - name: accessPolicy
    plural_name: accessPolicies
    collection: iam.projects.locations.accessPolicies
    attributes:
    - *project
    - *location
    - *accessPolicy
    disable_auto_completers: true
folders_or_organizations_or_projects_locations_policy_bindings:
  name: policyBinding
  plural_name: policyBindings
  resources:
  - name: policyBinding
    plural_name: policyBindings
    collection: iam.folders.locations.policyBindings
    attributes:
    - *folder
    - *location
    - &policyBinding
      parameter_name: policyBindingsId
      attribute_name: policy_binding
      help: The policyBinding id of the {resource} resource.
    disable_auto_completers: true
  - name: policyBinding
    plural_name: policyBindings
    collection: iam.organizations.locations.policyBindings
    attributes:
    - *organization
    - *location
    - *policyBinding
    disable_auto_completers: true
  - name: policyBinding
    plural_name: policyBindings
    collection: iam.projects.locations.policyBindings
    attributes:
    - *project
    - *location
    - *policyBinding
    disable_auto_completers: true
organizations_locations_principal_access_boundary_policies:
  name: principalAccessBoundaryPolicy
  plural_name: principalAccessBoundaryPolicies
  collection: iam.organizations.locations.principalAccessBoundaryPolicies
  attributes:
  - *organization
  - *location
  - &principalAccessBoundaryPolicy
    parameter_name: principalAccessBoundaryPoliciesId
    attribute_name: principal_access_boundary_policy
    help: The principalAccessBoundaryPolicy id of the {resource} resource.
  disable_auto_completers: false
