# 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 Cloud
    module NetworkManagement
      module V1
        # Request for the `ListVpcFlowLogsConfigs` method.
        # @!attribute [rw] parent
        #   @return [::String]
        #     Required. The parent resource of the VpcFlowLogsConfig:
        #         `projects/{project_id}/locations/global`
        # @!attribute [rw] page_size
        #   @return [::Integer]
        #     Optional. Number of `VpcFlowLogsConfigs` to return.
        # @!attribute [rw] page_token
        #   @return [::String]
        #     Optional. Page token from an earlier query, as returned in
        #     `next_page_token`.
        # @!attribute [rw] filter
        #   @return [::String]
        #     Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression.
        #     A filter expression must use the supported [CEL logic operators]
        #     (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
        # @!attribute [rw] order_by
        #   @return [::String]
        #     Optional. Field to use to sort the list.
        class ListVpcFlowLogsConfigsRequest
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Response for the `ListVpcFlowLogsConfigs` method.
        # @!attribute [rw] vpc_flow_logs_configs
        #   @return [::Array<::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig>]
        #     List of VPC Flow Log configurations.
        # @!attribute [rw] next_page_token
        #   @return [::String]
        #     Page token to fetch the next set of configurations.
        # @!attribute [rw] unreachable
        #   @return [::Array<::String>]
        #     Locations that could not be reached (when querying all locations with `-`).
        class ListVpcFlowLogsConfigsResponse
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Request for the `GetVpcFlowLogsConfig` method.
        # @!attribute [rw] name
        #   @return [::String]
        #     Required. `VpcFlowLogsConfig` resource name using the form:
        #         `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`
        class GetVpcFlowLogsConfigRequest
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Request for the `CreateVpcFlowLogsConfig` method.
        # @!attribute [rw] parent
        #   @return [::String]
        #     Required. The parent resource of the VPC Flow Logs configuration to create:
        #         `projects/{project_id}/locations/global`
        # @!attribute [rw] vpc_flow_logs_config_id
        #   @return [::String]
        #     Required. ID of the `VpcFlowLogsConfig`.
        # @!attribute [rw] vpc_flow_logs_config
        #   @return [::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig]
        #     Required. A `VpcFlowLogsConfig` resource
        class CreateVpcFlowLogsConfigRequest
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Request for the `UpdateVpcFlowLogsConfig` method.
        # @!attribute [rw] update_mask
        #   @return [::Google::Protobuf::FieldMask]
        #     Required. Mask of fields to update. At least one path must be supplied in
        #     this field.
        # @!attribute [rw] vpc_flow_logs_config
        #   @return [::Google::Cloud::NetworkManagement::V1::VpcFlowLogsConfig]
        #     Required. Only fields specified in update_mask are updated.
        class UpdateVpcFlowLogsConfigRequest
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end

        # Request for the `DeleteVpcFlowLogsConfig` method.
        # @!attribute [rw] name
        #   @return [::String]
        #     Required. `VpcFlowLogsConfig` resource name using the form:
        #         `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`
        class DeleteVpcFlowLogsConfigRequest
          include ::Google::Protobuf::MessageExts
          extend ::Google::Protobuf::MessageExts::ClassMethods
        end
      end
    end
  end
end
