// 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
//
//      https://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.

// Generated by the Codegen C++ plugin.
// If you make any local changes, they will be lost.
// source:
// google/cloud/compute/interconnect_attachment_groups/v1/interconnect_attachment_groups.proto

#include "google/cloud/compute/interconnect_attachment_groups/v1/interconnect_attachment_groups_connection_idempotency_policy.h"
#include <memory>

namespace google {
namespace cloud {
namespace compute_interconnect_attachment_groups_v1 {
GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN

using ::google::cloud::Idempotency;

InterconnectAttachmentGroupsConnectionIdempotencyPolicy::
    ~InterconnectAttachmentGroupsConnectionIdempotencyPolicy() = default;

std::unique_ptr<InterconnectAttachmentGroupsConnectionIdempotencyPolicy>
InterconnectAttachmentGroupsConnectionIdempotencyPolicy::clone() const {
  return std::make_unique<
      InterconnectAttachmentGroupsConnectionIdempotencyPolicy>(*this);
}

Idempotency InterconnectAttachmentGroupsConnectionIdempotencyPolicy::
    DeleteInterconnectAttachmentGroup(
        google::cloud::cpp::compute::interconnect_attachment_groups::v1::
            DeleteInterconnectAttachmentGroupRequest const&) {
  return Idempotency::kNonIdempotent;
}

Idempotency InterconnectAttachmentGroupsConnectionIdempotencyPolicy::
    GetInterconnectAttachmentGroup(
        google::cloud::cpp::compute::interconnect_attachment_groups::v1::
            GetInterconnectAttachmentGroupRequest const&) {
  return Idempotency::kIdempotent;
}

Idempotency
InterconnectAttachmentGroupsConnectionIdempotencyPolicy::GetIamPolicy(
    google::cloud::cpp::compute::interconnect_attachment_groups::v1::
        GetIamPolicyRequest const&) {
  return Idempotency::kIdempotent;
}

Idempotency
InterconnectAttachmentGroupsConnectionIdempotencyPolicy::GetOperationalStatus(
    google::cloud::cpp::compute::interconnect_attachment_groups::v1::
        GetOperationalStatusRequest const&) {
  return Idempotency::kIdempotent;
}

Idempotency InterconnectAttachmentGroupsConnectionIdempotencyPolicy::
    InsertInterconnectAttachmentGroup(
        google::cloud::cpp::compute::interconnect_attachment_groups::v1::
            InsertInterconnectAttachmentGroupRequest const&) {
  return Idempotency::kNonIdempotent;
}

Idempotency InterconnectAttachmentGroupsConnectionIdempotencyPolicy::
    ListInterconnectAttachmentGroups(
        google::cloud::cpp::compute::interconnect_attachment_groups::v1::
            ListInterconnectAttachmentGroupsRequest) {  // NOLINT
  return Idempotency::kIdempotent;
}

Idempotency InterconnectAttachmentGroupsConnectionIdempotencyPolicy::
    PatchInterconnectAttachmentGroup(
        google::cloud::cpp::compute::interconnect_attachment_groups::v1::
            PatchInterconnectAttachmentGroupRequest const&) {
  return Idempotency::kNonIdempotent;
}

Idempotency
InterconnectAttachmentGroupsConnectionIdempotencyPolicy::SetIamPolicy(
    google::cloud::cpp::compute::interconnect_attachment_groups::v1::
        SetIamPolicyRequest const&) {
  return Idempotency::kNonIdempotent;
}

Idempotency
InterconnectAttachmentGroupsConnectionIdempotencyPolicy::TestIamPermissions(
    google::cloud::cpp::compute::interconnect_attachment_groups::v1::
        TestIamPermissionsRequest const&) {
  return Idempotency::kNonIdempotent;
}

std::unique_ptr<InterconnectAttachmentGroupsConnectionIdempotencyPolicy>
MakeDefaultInterconnectAttachmentGroupsConnectionIdempotencyPolicy() {
  return std::make_unique<
      InterconnectAttachmentGroupsConnectionIdempotencyPolicy>();
}

GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
}  // namespace compute_interconnect_attachment_groups_v1
}  // namespace cloud
}  // namespace google
