Current section
Files
Jump to
Current section
Files
lib/google_api/vault/v1/model/export.ex
# Copyright 2017 Google Inc.
#
# 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 class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule GoogleApi.Vault.V1.Model.Export do
@moduledoc """
An export
## Attributes
- cloudStorageSink (CloudStorageSink): Output only. Export sink for cloud storage files. Defaults to: `null`.
- createTime (DateTime.t): Output only. The time when the export was created. Defaults to: `null`.
- exportOptions (ExportOptions): Advanced options of the export. Defaults to: `null`.
- id (String.t): Output only. The generated export ID. Defaults to: `null`.
- matterId (String.t): Output only. The matter ID. Defaults to: `null`.
- name (String.t): The export name. Defaults to: `null`.
- query (Query): The search query being exported. Defaults to: `null`.
- requester (UserInfo): Output only. The requester of the export. Defaults to: `null`.
- stats (ExportStats): Output only. Export statistics. Defaults to: `null`.
- status (String.t): Output only. The export status. Defaults to: `null`.
- Enum - one of [EXPORT_STATUS_UNSPECIFIED, COMPLETED, FAILED, IN_PROGRESS]
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:cloudStorageSink => GoogleApi.Vault.V1.Model.CloudStorageSink.t(),
:createTime => DateTime.t(),
:exportOptions => GoogleApi.Vault.V1.Model.ExportOptions.t(),
:id => any(),
:matterId => any(),
:name => any(),
:query => GoogleApi.Vault.V1.Model.Query.t(),
:requester => GoogleApi.Vault.V1.Model.UserInfo.t(),
:stats => GoogleApi.Vault.V1.Model.ExportStats.t(),
:status => any()
}
field(:cloudStorageSink, as: GoogleApi.Vault.V1.Model.CloudStorageSink)
field(:createTime, as: DateTime)
field(:exportOptions, as: GoogleApi.Vault.V1.Model.ExportOptions)
field(:id)
field(:matterId)
field(:name)
field(:query, as: GoogleApi.Vault.V1.Model.Query)
field(:requester, as: GoogleApi.Vault.V1.Model.UserInfo)
field(:stats, as: GoogleApi.Vault.V1.Model.ExportStats)
field(:status)
end
defimpl Poison.Decoder, for: GoogleApi.Vault.V1.Model.Export do
def decode(value, options) do
GoogleApi.Vault.V1.Model.Export.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Vault.V1.Model.Export do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end