# frozen_string_literal: true

# 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.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Ads
    module AdManager
      module V1
        # The `PrivateAuction` resource.
        # @!attribute [rw] name
        #   @return [::String]
        #     Identifier. The resource name of the `PrivateAuction`.
        #     Format:
        #     `networks/{network_code}/privateAuctions/{private_auction_id}`
        # @!attribute [r] private_auction_id
        #   @return [::Integer]
        #     Output only. `PrivateAuction` ID.
        # @!attribute [rw] display_name
        #   @return [::String]
        #     Required. Display name of the `PrivateAuction`. This attribute has a
        #     maximum length of 255 bytes.
        # @!attribute [rw] description
        #   @return [::String]
        #     Optional. Description of the `PrivateAuction`. This attribute has a
        #     maximum length of 4096 bytes.
        # @!attribute [rw] seller_contact_users
        #   @return [::Array<::String>]
        #     Optional. The resource names of the seller contact users associated with
        #     this `PrivateAuction`. Format: `networks/{network_code}/users/{user_id}`
        # @!attribute [r] archived
        #   @return [::Boolean]
        #     Output only. Whether the `PrivateAuction` is archived.
        # @!attribute [r] create_time
        #   @return [::Google::Protobuf::Timestamp]
        #     Output only. The instant at which the PrivateAuction was created.
        # @!attribute [r] update_time
        #   @return [::Google::Protobuf::Timestamp]
        #     Output only. The instant at which the PrivateAuction was last updated.
        class PrivateAuction
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
