// Copyright 2025 Google LLC
//
// 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.

syntax = "proto3";

package google.ads.admanager.v1;

option csharp_namespace = "Google.Ads.AdManager.V1";
option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
option java_multiple_files = true;
option java_outer_classname = "TeamEnumsProto";
option java_package = "com.google.ads.admanager.v1";
option php_namespace = "Google\\Ads\\AdManager\\V1";
option ruby_package = "Google::Ads::AdManager::V1";

// Wrapper message for
// [TeamStatus][google.ads.admanager.v1.TeamStatusEnum.TeamStatus]
message TeamStatusEnum {
  // Represents the status of a team, whether it is active or inactive.
  enum TeamStatus {
    // Default value. This value is unused.
    TEAM_STATUS_UNSPECIFIED = 0;

    // The status of an active team.
    ACTIVE = 1;

    // The status of an inactive team.
    INACTIVE = 2;
  }
}

// Wrapper message for
// [TeamAccessType][google.ads.admanager.v1.TeamAccessTypeEnum.TeamAccessType]
message TeamAccessTypeEnum {
  // Represents the types of team access supported for orders.
  enum TeamAccessType {
    // Default value. This value is unused.
    TEAM_ACCESS_TYPE_UNSPECIFIED = 0;

    // The level of access in which team members can't view or edit a team's
    // orders.
    NONE = 1;

    // The level of access in which team members can only view a team's orders.
    READ_ONLY = 2;

    // The level of access in which team members can view and edit a team's
    // orders.
    READ_WRITE = 3;
  }
}
