| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCounts do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `value` (*type:* `list(GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCount.t)`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :value => | ||
| list( | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCount.t() | ||
| ) | ||
| | nil | ||
| } | ||
|
|
||
| field(:value, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCount, | ||
| type: :list | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCounts do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCounts.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsDynamiteSharedSegmentedMembershipCounts do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream do | ||
| @moduledoc """ | ||
| A DestinationStream is a /namespace/id[0]/id[1]/.../id[n] that represents a collection of Activities. Example destinations: -The Profile Stream on http://plus.google.com/+JohnDoe/posts -A Square Stream on http://plus.google.com/squares/123 -A "comment Stream" (Fountain) on http://www.youtube.com/watch?id=123 It's possible for a single Activity to show in each of these destinations - and it might behave/look slightly differently for each one. Destinations can have their own business logic associated with them at both write-time and read-time server-side (these are documented below). Each DestinationStream is indexed and can be retrieved using the GetDestinationStreamRequest. For the repeated ID space indexing happens at all levels, e.g. if you have: /square/123/abc /square/123/efd /square/456 You can fetch /square/123/abc directly or /square/123 (which includes all Activities in both /square/123/abc and /square/123/efd), or even /square which retrieves all Activities in the Square namespace (visible for that user). On the storage layer, we represent DestinationStream as Channel (http://cs/#google3/social/common/channel/channel.proto), since the storage does not have the concept of a Stream. Both terms are used interchangeably within the service layer, but client of Social Infrastructure should use the term DestinationStream. Next ID: 3 | ||
| ## Attributes | ||
| * `id` (*type:* `list(String.t)`, *default:* `nil`) - The hierarchy of IDs. Each individual ID is "flat" and the repeated list defines the hierarchy. Namespaces define the "validity" of this hierachy (depth, naming convention, etc) and the server will reject invalid IDs. | ||
| * `namespace` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :id => list(String.t()) | nil, | ||
| :namespace => String.t() | nil | ||
| } | ||
|
|
||
| field(:id, type: :list) | ||
| field(:namespace) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityStreamqualityDistillerEngagements do | ||
| @moduledoc """ | ||
| Stores the number of different kind of user engagement actions. Abuse Report is also consider an engagement. Currently we only have abuse report engagements but in future we might add other types of engagements as well. | ||
| ## Attributes | ||
| * `reportCompromised` (*type:* `String.t`, *default:* `nil`) - Corresponds on "This account might be compromised or hacked" reporting action. | ||
| * `reportHarassment` (*type:* `String.t`, *default:* `nil`) - Corresponds on "Harassment or bullying" reporting action. | ||
| * `reportHate` (*type:* `String.t`, *default:* `nil`) - Corresponds on "Hate speach or graphic violence" reporting action. | ||
| * `reportPorn` (*type:* `String.t`, *default:* `nil`) - Corresponds on "Pornography or sexually explicit material" reporting action. | ||
| * `reportSpam` (*type:* `String.t`, *default:* `nil`) - Corresponds on "Unwanted commercial content or spam" reporting action. | ||
| * `serveCount` (*type:* `String.t`, *default:* `nil`) - Number of times this activity was served out of asbe/stanza. | ||
| * `timeSec` (*type:* `String.t`, *default:* `nil`) - Timestamp in seconds for which time this record is valid. | ||
| * `ytThumbsDown` (*type:* `String.t`, *default:* `nil`) - Corresponds on Distiller comment thumbs down action. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :reportCompromised => String.t() | nil, | ||
| :reportHarassment => String.t() | nil, | ||
| :reportHate => String.t() | nil, | ||
| :reportPorn => String.t() | nil, | ||
| :reportSpam => String.t() | nil, | ||
| :serveCount => String.t() | nil, | ||
| :timeSec => String.t() | nil, | ||
| :ytThumbsDown => String.t() | nil | ||
| } | ||
|
|
||
| field(:reportCompromised) | ||
| field(:reportHarassment) | ||
| field(:reportHate) | ||
| field(:reportPorn) | ||
| field(:reportSpam) | ||
| field(:serveCount) | ||
| field(:timeSec) | ||
| field(:ytThumbsDown) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityStreamqualityDistillerEngagements do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityStreamqualityDistillerEngagements.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityStreamqualityDistillerEngagements do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAbout do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `contentType` (*type:* `String.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `safeHtmlValue` (*type:* `GoogleApi.ContentWarehouse.V1.Model.WebutilHtmlTypesSafeHtmlProto.t`, *default:* `nil`) - Sanitized HTML value that is only populated when the SANITIZE_ABOUT_HTML extension is requested. | ||
| * `value` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :contentType => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :safeHtmlValue => | ||
| GoogleApi.ContentWarehouse.V1.Model.WebutilHtmlTypesSafeHtmlProto.t() | nil, | ||
| :value => String.t() | nil | ||
| } | ||
|
|
||
| field(:contentType) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:safeHtmlValue, as: GoogleApi.ContentWarehouse.V1.Model.WebutilHtmlTypesSafeHtmlProto) | ||
| field(:value) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAbout do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAbout.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAbout do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedData do | ||
| @moduledoc """ | ||
| Extension data for use in AboutMe. | ||
| ## Attributes | ||
| * `nameDisplayOptions` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions.t`, *default:* `nil`) - | ||
| * `photosCompareData` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData.t`, *default:* `nil`) - | ||
| * `profileEditability` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability.t`, *default:* `nil`) - | ||
| * `profileNameModificationHistory` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :nameDisplayOptions => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions.t() | ||
| | nil, | ||
| :photosCompareData => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData.t() | ||
| | nil, | ||
| :profileEditability => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability.t() | ||
| | nil, | ||
| :profileNameModificationHistory => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:nameDisplayOptions, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions | ||
| ) | ||
|
|
||
| field(:photosCompareData, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData | ||
| ) | ||
|
|
||
| field(:profileEditability, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability | ||
| ) | ||
|
|
||
| field(:profileNameModificationHistory, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedData do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedData.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedData do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions do | ||
| @moduledoc """ | ||
| See NameDisplayOptions in //depot/google3/focus/backend/proto/backend.proto. See also go/nickname-mess. | ||
| ## Attributes | ||
| * `nicknameOption` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :nicknameOption => String.t() | nil | ||
| } | ||
|
|
||
| field(:nicknameOption) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataNameDisplayOptions do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `diffData` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData.t`, *default:* `nil`) - | ||
| * `highResUrl` (*type:* `String.t`, *default:* `nil`) - | ||
| * `inconsistentPhoto` (*type:* `boolean()`, *default:* `nil`) - True if photo diff is greater than 0.01 on any color band, or if the user has a low res photo but no high res photo. This field is primarily for use in About Me and for other uses it's recommended to use the DiffData values directly instead. The cutoff is based on a heuristic determined in go/comparing-profile-photos | ||
| * `lowResData` (*type:* `String.t`, *default:* `nil`) - Only present if the photo diff is greater than 0.01 on any color band. | ||
| * `lowResUrl` (*type:* `String.t`, *default:* `nil`) - | ||
| * `monogramUrl` (*type:* `String.t`, *default:* `nil`) - | ||
| * `privateLowResAcl` (*type:* `boolean()`, *default:* `nil`) - True if the low-res photo has a private ACL set. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :diffData => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData.t() | ||
| | nil, | ||
| :highResUrl => String.t() | nil, | ||
| :inconsistentPhoto => boolean() | nil, | ||
| :lowResData => String.t() | nil, | ||
| :lowResUrl => String.t() | nil, | ||
| :monogramUrl => String.t() | nil, | ||
| :privateLowResAcl => boolean() | nil | ||
| } | ||
|
|
||
| field(:diffData, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData | ||
| ) | ||
|
|
||
| field(:highResUrl) | ||
| field(:inconsistentPhoto) | ||
| field(:lowResData) | ||
| field(:lowResUrl) | ||
| field(:monogramUrl) | ||
| field(:privateLowResAcl) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareData do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `blueDiff` (*type:* `number()`, *default:* `nil`) - | ||
| * `greenDiff` (*type:* `number()`, *default:* `nil`) - | ||
| * `redDiff` (*type:* `number()`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :blueDiff => number() | nil, | ||
| :greenDiff => number() | nil, | ||
| :redDiff => number() | nil | ||
| } | ||
|
|
||
| field(:blueDiff) | ||
| field(:greenDiff) | ||
| field(:redDiff) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataPhotosCompareDataDiffData do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability do | ||
| @moduledoc """ | ||
| See UserEditedLockedMask in //depot/google3/focus/backend/proto/backend.proto. | ||
| ## Attributes | ||
| * `lockedField` (*type:* `list(String.t)`, *default:* `nil`) - Read-only set of zero or more field paths that are locked for update on this person, such as "person.name", "person.email", etc. The set of fields is only populated for the requester's profile. Fields in the set cannot be edited, added, or deleted from the profile. Attempting to update any of these fields will result in an exception. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :lockedField => list(String.t()) | nil | ||
| } | ||
|
|
||
| field(:lockedField, type: :list) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileEditability do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory do | ||
| @moduledoc """ | ||
| See ABUSE_NAME_LAST_MODIFIED in //depot/google3/focus/backend/proto/backend.proto which maps to //depot/google3/focus/proto/profileattribute.proto | ||
| ## Attributes | ||
| * `computedNameChangesRemaining` (*type:* `integer()`, *default:* `nil`) - The number of name changes remaining at RPC request time. This can be more than name_changes_remaining, if user hasn't changed name for some time and accrued quota since last change. | ||
| * `computedNicknameChangesRemaining` (*type:* `integer()`, *default:* `nil`) - The number of nickname changes remaining at RPC request time. This can be more than nickname_changes_remaining, if user hasn't changed nickname for some time and accrued quota since last change. | ||
| * `nameChangesRemaining` (*type:* `integer()`, *default:* `nil`) - The number of name changes remaining at the time the name was last modified. | ||
| * `nameLastModified` (*type:* `String.t`, *default:* `nil`) - The last time the profile name was modified in milliseconds UTC. | ||
| * `nicknameChangesRemaining` (*type:* `integer()`, *default:* `nil`) - The number of nickname changes remaining at the time the nickname was last modified. | ||
| * `nicknameLastModified` (*type:* `String.t`, *default:* `nil`) - The last time the profile nickname was modified in milliseconds UTC. | ||
| * `quotaEnforcementStatus` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :computedNameChangesRemaining => integer() | nil, | ||
| :computedNicknameChangesRemaining => integer() | nil, | ||
| :nameChangesRemaining => integer() | nil, | ||
| :nameLastModified => String.t() | nil, | ||
| :nicknameChangesRemaining => integer() | nil, | ||
| :nicknameLastModified => String.t() | nil, | ||
| :quotaEnforcementStatus => String.t() | nil | ||
| } | ||
|
|
||
| field(:computedNameChangesRemaining) | ||
| field(:computedNicknameChangesRemaining) | ||
| field(:nameChangesRemaining) | ||
| field(:nameLastModified) | ||
| field(:nicknameChangesRemaining) | ||
| field(:nicknameLastModified) | ||
| field(:quotaEnforcementStatus) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAboutMeExtendedDataProfileNameModificationHistory do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAccountEmail do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `email` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :email => String.t() | nil | ||
| } | ||
|
|
||
| field(:email) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAccountEmail do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAccountEmail.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAccountEmail do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAdditionalContainerInfo do | ||
| @moduledoc """ | ||
| Additional information about a container. TO BE DELETED: replaced by DeviceContactInfo. | ||
| ## Attributes | ||
| * `rawDeviceContactInfo` (*type:* `list(GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRawDeviceContactInfo.t)`, *default:* `nil`) - When the container is a DEVICE_CONTACT, this list provides account information from the raw contact which is the source of this field. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :rawDeviceContactInfo => | ||
| list( | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRawDeviceContactInfo.t() | ||
| ) | ||
| | nil | ||
| } | ||
|
|
||
| field(:rawDeviceContactInfo, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRawDeviceContactInfo, | ||
| type: :list | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAdditionalContainerInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAdditionalContainerInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAdditionalContainerInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAddress do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `country` (*type:* `String.t`, *default:* `nil`) - | ||
| * `countryCode` (*type:* `String.t`, *default:* `nil`) - | ||
| * `encodedPlaceId` (*type:* `String.t`, *default:* `nil`) - FeatureId associated with the address. The format is the same as that used for ids in PLACE containers in SourceIdentity. | ||
| * `extendedAddress` (*type:* `String.t`, *default:* `nil`) - | ||
| * `formatted` (*type:* `String.t`, *default:* `nil`) - | ||
| * `formattedType` (*type:* `String.t`, *default:* `nil`) - The `type` translated and formatted in the request locale. See go/people-api-howto/localization for details on how to usage. | ||
| * `locality` (*type:* `String.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `poBox` (*type:* `String.t`, *default:* `nil`) - | ||
| * `pointSpec` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPointSpec.t`, *default:* `nil`) - | ||
| * `postalCode` (*type:* `String.t`, *default:* `nil`) - | ||
| * `region` (*type:* `String.t`, *default:* `nil`) - | ||
| * `streetAddress` (*type:* `String.t`, *default:* `nil`) - | ||
| * `type` (*type:* `String.t`, *default:* `nil`) - The type of the address. The type can be free form or one of these predefined values: * `home` * `work` * `other` | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :country => String.t() | nil, | ||
| :countryCode => String.t() | nil, | ||
| :encodedPlaceId => String.t() | nil, | ||
| :extendedAddress => String.t() | nil, | ||
| :formatted => String.t() | nil, | ||
| :formattedType => String.t() | nil, | ||
| :locality => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :poBox => String.t() | nil, | ||
| :pointSpec => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPointSpec.t() | ||
| | nil, | ||
| :postalCode => String.t() | nil, | ||
| :region => String.t() | nil, | ||
| :streetAddress => String.t() | nil, | ||
| :type => String.t() | nil | ||
| } | ||
|
|
||
| field(:country) | ||
| field(:countryCode) | ||
| field(:encodedPlaceId) | ||
| field(:extendedAddress) | ||
| field(:formatted) | ||
| field(:formattedType) | ||
| field(:locality) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:poBox) | ||
|
|
||
| field(:pointSpec, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPointSpec | ||
| ) | ||
|
|
||
| field(:postalCode) | ||
| field(:region) | ||
| field(:streetAddress) | ||
| field(:type) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAddress do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAddress.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAddress do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity do | ||
| @moduledoc """ | ||
| Similar to social.graph.storage.Affinity, but pared down to what the clients of the People API are interested in. | ||
| ## Attributes | ||
| * `affinityMetadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata.t`, *default:* `nil`) - Contains extra ranking information returned by DAS. | ||
| * `affinityType` (*type:* `String.t`, *default:* `nil`) - | ||
| * `containerId` (*type:* `String.t`, *default:* `nil`) - The ID of the container | ||
| * `containerType` (*type:* `String.t`, *default:* `nil`) - The type of container to which this affinity applies | ||
| * `loggingId` (*type:* `String.t`, *default:* `nil`) - Used to log events for this affinity value, for disco diagnostic-purposes. See go/disco-diagnostics. | ||
| * `value` (*type:* `float()`, *default:* `nil`) - Affinity value. Frequently represented as an inverse ranking, sometimes with additional data encoded. If data_formats.affinity_formats.score_format is set to RAW_SCORE then the value will be the score returned by DAS. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :affinityMetadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata.t() | ||
| | nil, | ||
| :affinityType => String.t() | nil, | ||
| :containerId => String.t() | nil, | ||
| :containerType => String.t() | nil, | ||
| :loggingId => String.t() | nil, | ||
| :value => float() | nil | ||
| } | ||
|
|
||
| field(:affinityMetadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata | ||
| ) | ||
|
|
||
| field(:affinityType) | ||
| field(:containerId) | ||
| field(:containerType) | ||
| field(:loggingId) | ||
| field(:value) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAgeRangeType do | ||
| @moduledoc """ | ||
| Please read go/people-api-howto:age on how to get age data. Message for the `Person.age_range_repeated` field. Replaces the existing `Person.age_range` field. | ||
| ## Attributes | ||
| * `ageInYears` (*type:* `integer()`, *default:* `nil`) - Please read go/people-api-howto:age on how to get age data. Age of the user. The field is set based on profile storage fields such as account birthday. If the source fields are not present, `age_in_years` will be left unset. | ||
| * `ageOfConsentStatus` (*type:* `String.t`, *default:* `nil`) - Deprecated. Use go/supervised-accounts#capabilities-for-child-accounts instead. Denotes whether the user is under the region based Age of Consent. The user's region is based on ClientUserInfo.GlobalTos.AgreedLocation The age is inferred from Birthday field or CertifiedBornBefore field. The region based AoC is specified at go/aoc. | ||
| * `ageRange` (*type:* `String.t`, *default:* `nil`) - Deprecated. Please read go/people-api-howto:age on how to get age data. Age range is populated based on `account_birthday` and `certified_born_before`, which may not be set for dasher users. | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :ageInYears => integer() | nil, | ||
| :ageOfConsentStatus => String.t() | nil, | ||
| :ageRange => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:ageInYears) | ||
| field(:ageOfConsentStatus) | ||
| field(:ageRange) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAgeRangeType do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAgeRangeType.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAgeRangeType do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAppUniqueInfo do | ||
| @moduledoc """ | ||
| Store all app unique info that are needed for app action fulfillment. | ||
| ## Attributes | ||
| * `appUniqueId` (*type:* `String.t`, *default:* `nil`) - Store the app unique id endpoint. This will be passed over to app to fulfill the action. For example, app_unique_id for Whatsapp will be "11234567890@s.whatsapp.net" | ||
| * `contactInfoSource` (*type:* `String.t`, *default:* `nil`) - Where this contact info was retrieved from. Note: only added for Assistant usage, and will not be populated by PAPI. This is due to the coupling between Assistant Proto, and PAPI proto. (//depot/google3/quality/qrewrite/servlets/proto/focus_name.proto) | ||
| * `displayAppUniqueId` (*type:* `String.t`, *default:* `nil`) - Store third party endpoint that is displayed to users. For example, display_app_unique_id for Whatsapp will be "Message +11234567890". | ||
| * `label` (*type:* `String.t`, *default:* `nil`) - Store third party endpoint label. For example, "HOME", "WORK" | ||
| * `mimetype` (*type:* `String.t`, *default:* `nil`) - Store mimetype of this endpoint. We will use this as the differentiator for Assistant to know whether to use the RawContact for messaging, call or video call. For example, send message mimetype for whatsapp: "vnd.android.cursor.item/vnd.com.whatsapp.profile" voice call mimetype for whatsapp: "vnd.android.cursor.item/vnd.com.whatsapp.voip.call" | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :appUniqueId => String.t() | nil, | ||
| :contactInfoSource => String.t() | nil, | ||
| :displayAppUniqueId => String.t() | nil, | ||
| :label => String.t() | nil, | ||
| :mimetype => String.t() | nil | ||
| } | ||
|
|
||
| field(:appUniqueId) | ||
| field(:contactInfoSource) | ||
| field(:displayAppUniqueId) | ||
| field(:label) | ||
| field(:mimetype) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAppUniqueInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAppUniqueInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAppUniqueInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBestDisplayName do | ||
| @moduledoc """ | ||
| The best suggested name to use for the Person from the available source fields, which may include FileAs, Name, Org, Email, IM, Phone, ... Rough source container priority order is Contact, then Profile, then Place. | ||
| ## Attributes | ||
| * `containerType` (*type:* `String.t`, *default:* `nil`) - The container the suggested name was sourced from | ||
| * `displayName` (*type:* `String.t`, *default:* `nil`) - The display name. This name is intended to be the best name to display for this Person. It may be built from a variety of fields, even if those fields are not explicitly requested in the request mask. Generally, the display name is formatted in 'first last' format. If the name appears to be a CJK name (as determined by a heuristic), the 'last first' format will be used. There may be other cases that the 'last first' format is used which are not documented here. See the code at: http://google3/java/com/google/focus/backend/client/DisplayNameFormatter.java?l=659&rcl=351360938 | ||
| * `displayNameLastFirst` (*type:* `String.t`, *default:* `nil`) - The display name, always in 'last first' format. This field does not depend on the format of `display_name` and will always be in 'last first' format. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :containerType => String.t() | nil, | ||
| :displayName => String.t() | nil, | ||
| :displayNameLastFirst => String.t() | nil | ||
| } | ||
|
|
||
| field(:containerType) | ||
| field(:displayName) | ||
| field(:displayNameLastFirst) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBestDisplayName do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBestDisplayName.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBestDisplayName do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthday do | ||
| @moduledoc """ | ||
| IMPORTANT NOTES: - Requesting person.birthday requires membership in the purpose limited data ACL group sgbe-ac-d-birthday-(read|mutate). Contact people-api-eng@ for assistance with initial setup. - The birthday field should not be used to calculate the requester's age! To determine the requester's age, use person.age_range_repeated. - For more details about age see go/peopleapi-howto/age Birthday value may not be present: - Consumer users generally required to have account birthday set (required at account creation), though some users created via legacy flows may not have birthday present. - Dasher users generally don't require birthday, but could optionally have it set by users. - Any other types of accounts (e.g. robot, service) do not have birthdays. - Account Birthday field may be present but without birthday value set for grace period birthday (provisional new birthday). For users that do have birthday data: - "Profile Birthday" (person.birthday.metadata.container is PROFILE) may not have a year set if user "hides" the year. - "Account Birthday" (see api-specific notes below) will only be returned for the requester's own profile. - People API (go/peopleapi): * Account birthday is only supported in GetPeople for PeopleAPI. * If account birthday is needed, use a request mask with: `include_field { paths: "person.birthday" }` `include_container: ACCOUNT` - People API++ (go/peopleapi++): * Account birthday is supported for most apis in PeopleAPI++. * If account birthday is needed, use a request mask with: `include_field { paths: "person.account_birthday" }` `include_container: PROFILE` (note: it will also need `include_container: DOMAIN_PROFILE` because they must be requested together: go/people-api-masks#profile-domain_profile) - See go/papi-vs-papi++#birthday for more details. | ||
| ## Attributes | ||
| * `ageDisableGracePeriod` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod.t`, *default:* `nil`) - Only supported for PROFILE/DOMAIN_PROFILE/ACCOUNT container. | ||
| * `birthdayDecoration` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoBirthdayDecoration.t`, *default:* `nil`) - Whether the user has opted in to display their birthday via photo decorations. Only supported for PROFILE/DOMAIN_PROFILE container. | ||
| * `birthdayResolution` (*type:* `String.t`, *default:* `nil`) - Only supported for PROFILE/DOMAIN_PROFILE/ACCOUNT container. | ||
| * `calendarDay` (*type:* `GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t`, *default:* `nil`) - Birthdays are more accurately represented as a calendar day that does not depend on a timestamp representation at all. When given a timestamp, there are lots of opportunities to make mistakes, so a CalendarDay proto is replacing timestamps. Currently this is always returned by PeopleApi on reads that include birthday fields. New clients should write using calendar_day. Clients that were already writing via date_ms are allowlisted such that writes use that field. Old callers should migrate to writing BOTH date_ms and calendar_day values. If those are consistent, they may be removed from the 'legacy_timestamp_event_write_behavior_enabled' capability. | ||
| * `dateMs` (*type:* `String.t`, *default:* `nil`) - Birthdays are currently represented as timestamp values, although the interpretation of these timestamp values is a calendar date. Clients are recommended to read the calendar_day field, which is easier to work with than date_ms. New clients writing to PeopleApi must set calendar_day instead of date_ms. There are a few important details about how this value should be mapped to a calendar date that should be consistent among all clients. 1. Epoch - The epoch or calendar date equivalent to 0 ms is chosen to be 1970-01-01 UTC. 2. Timezone - All of the conversions to calendars should occur in the UTC timezone. We don't typically think of someones birthday changing when they travel, so clients should not use local times. 3. Calendar - The calendar used for the dates should be a Gregorian proleptic calendar. Proleptic means that the rules of the Gregorian calendar are retrofitted to before its adoption. It is easy to get this wrong, particularly with the java GregorianCalendar class, which by default is a mixed Gregorian/Julian calendar. Joda Time makes this easy, but if it's not an option, look into GregorianCalendar.setGregorianChange(). 4. Omitted years - Clients have chosen to represent birthdays or events without years as timestamps within the year zero. When the computed date has a year of 0, it means the client did not specify a year. Note that a year 0 does not exist in a chronology like the familiar Anno Domini (A.D. and B.C.); clients must agree on year numbering. 5. Year Numbering - The chronology used to map dates to the calendar should use Astronomical Year Numbering so that the year 0 is defined and dates before it have a negative year. If libraries only provide Anno Domini, then the year of 1 BC corresponds to year zero and an omitted user provided year. Other BC values are presumed rare, but clients should still not ignore the era and interpret the year as an A.D. value, especially if writing values back to PeopleApi. | ||
| * `dateMsAsNumber` (*type:* `String.t`, *default:* `nil`) - date_ms_as_number contains the same data as date_ms, but has a different type in generated javascript bindings. Non javascript clients can ignore it. | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `prompt` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt.t`, *default:* `nil`) - People Prompts settings for contact birthday data. Only supported for CONTACT container. | ||
| * `value` (*type:* `String.t`, *default:* `nil`) - Actual value entered. Allows unstructured values. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :ageDisableGracePeriod => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod.t() | ||
| | nil, | ||
| :birthdayDecoration => | ||
| GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoBirthdayDecoration.t() | nil, | ||
| :birthdayResolution => String.t() | nil, | ||
| :calendarDay => GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t() | nil, | ||
| :dateMs => String.t() | nil, | ||
| :dateMsAsNumber => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :prompt => GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt.t() | nil, | ||
| :value => String.t() | nil | ||
| } | ||
|
|
||
| field(:ageDisableGracePeriod, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod | ||
| ) | ||
|
|
||
| field(:birthdayDecoration, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoBirthdayDecoration | ||
| ) | ||
|
|
||
| field(:birthdayResolution) | ||
| field(:calendarDay, as: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate) | ||
| field(:dateMs) | ||
| field(:dateMsAsNumber) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:prompt, as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt) | ||
| field(:value) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthday do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthday.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthday do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod do | ||
| @moduledoc """ | ||
| Whether this field is set or not determines whether an account is in the grace period. While in the grace period, the user is unable to change their birthday on their own, and will be age-disabled if they don't act in a limited amount of time. Applies only to ServiceData Birthday. Users enter the grace period if they choose a birthday below the Age of Consent (go/aoc). After the grace period ends, the account will be age disabled. See go/age-disable-grace-period-dd. | ||
| ## Attributes | ||
| * `calendarDay` (*type:* `GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t`, *default:* `nil`) - Provisional birthday <AoC the user provided, which made them enter the grace period. The main birthday fields were not altered yet while in the grace period. | ||
| * `gracePeriodEnd` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp which signifies the end of the grace period for this account. | ||
| * `gracePeriodStart` (*type:* `DateTime.t`, *default:* `nil`) - Timestamp which signifies the start of the grace period for this account. | ||
| * `gracePeriodType` (*type:* `String.t`, *default:* `nil`) - | ||
| * `manualGracePeriodInfo` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :calendarDay => GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t() | nil, | ||
| :gracePeriodEnd => DateTime.t() | nil, | ||
| :gracePeriodStart => DateTime.t() | nil, | ||
| :gracePeriodType => String.t() | nil, | ||
| :manualGracePeriodInfo => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:calendarDay, as: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate) | ||
| field(:gracePeriodEnd, as: DateTime) | ||
| field(:gracePeriodStart, as: DateTime) | ||
| field(:gracePeriodType) | ||
|
|
||
| field(:manualGracePeriodInfo, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriod do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo do | ||
| @moduledoc """ | ||
| Information provided within MutateDataRequest when setting a user into AgeDisableGracePeriod manually. When the grace period expires, this info will be forwarded to Gaia when disabling the user. cs//symbol:InitiateAgeDisableGracePeriodArguments | ||
| ## Attributes | ||
| * `escalateTo` (*type:* `String.t`, *default:* `nil`) - The Gaia ID of an email that ops can send inquiries to for appeals. | ||
| * `executedBy` (*type:* `String.t`, *default:* `nil`) - The Gaia ID of a Googler who initiated this disable. | ||
| * `reason` (*type:* `String.t`, *default:* `nil`) - When setting a user into age grace period manually, the requester can additionally supply a short human-readable reason of why the account is put into manual grace period. The description will be forwarded to Gaia when we disable the account when the grace period expires. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :escalateTo => String.t() | nil, | ||
| :executedBy => String.t() | nil, | ||
| :reason => String.t() | nil | ||
| } | ||
|
|
||
| field(:escalateTo) | ||
| field(:executedBy) | ||
| field(:reason) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBirthdayAgeDisableGracePeriodManualGracePeriodInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBraggingRights do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `value` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :value => String.t() | nil | ||
| } | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:value) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBraggingRights do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBraggingRights.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiBraggingRights do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCalendar do | ||
| @moduledoc """ | ||
| A url to the person's calendar. As of 03/2018 is not supported for user Profile. | ||
| ## Attributes | ||
| * `formattedType` (*type:* `String.t`, *default:* `nil`) - The `type` translated and formatted in the request locale. See go/people-api-howto/localization for details on how to usage. | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `type` (*type:* `String.t`, *default:* `nil`) - The type of the calendar URL. The type can be free form or one of these predefined values: * `home` * `freeBusy` * `work` | ||
| * `url` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :formattedType => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :type => String.t() | nil, | ||
| :url => String.t() | nil | ||
| } | ||
|
|
||
| field(:formattedType) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:type) | ||
| field(:url) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCalendar do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCalendar.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCalendar do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedData do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `callerIdSource` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource.t`, *default:* `nil`) - Indicates which data source was used to populate the caller ID result | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :callerIdSource => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:callerIdSource, | ||
| as: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedData do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedData.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedData do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `sourceType` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :sourceType => String.t() | nil | ||
| } | ||
|
|
||
| field(:sourceType) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCallerIdExtendedDataCallerIdSource do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCertifiedBornBefore do | ||
| @moduledoc """ | ||
| Information related to domain administrator (or authority) certification of a users age. | ||
| ## Attributes | ||
| * `bornBefore` (*type:* `DateTime.t`, *default:* `nil`) - Indicates that the user was born at or before this time. | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :bornBefore => DateTime.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:bornBefore, as: DateTime) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCertifiedBornBefore do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCertifiedBornBefore.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCertifiedBornBefore do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiChannelData do | ||
| @moduledoc """ | ||
| ## Attributes | ||
| * `channelId` (*type:* `String.t`, *default:* `nil`) - Unique ID that corresponds to a Youtube channel. | ||
| * `commentCount` (*type:* `String.t`, *default:* `nil`) - Number of comments for a given Youtube channel. | ||
| * `description` (*type:* `String.t`, *default:* `nil`) - Description of the channel. | ||
| * `playlistCount` (*type:* `String.t`, *default:* `nil`) - | ||
| * `profilePictureUrl` (*type:* `String.t`, *default:* `nil`) - A FIFE URL pointing to the channel's profile image (go/avatar-fife-urls) with default fife url options. Also refer to go/people-api-concepts:photos for People API's FIFE best practices. The image could be up to a couple of days stale, though it is much fresher in practice. If a fresh image is required, contact the YouTubeAccountProfileService. The URL itself expires ~30 days after generation. | ||
| * `profileUrl` (*type:* `String.t`, *default:* `nil`) - URL of user's Youtube channel profile. | ||
| * `subscriberCount` (*type:* `String.t`, *default:* `nil`) - Number of subscribers for a given Youtube channel. | ||
| * `title` (*type:* `String.t`, *default:* `nil`) - Title of the YouTube channel | ||
| * `usesYoutubeNames` (*type:* `boolean()`, *default:* `nil`) - Whether or not the channel's profile has a title/avatar that is canonical in YouTube. Used to determine if the product profile card should be part of the core persona or have their own persona. | ||
| * `videoCount` (*type:* `String.t`, *default:* `nil`) - Number of videos uploaded in a given Youtube channel. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :channelId => String.t() | nil, | ||
| :commentCount => String.t() | nil, | ||
| :description => String.t() | nil, | ||
| :playlistCount => String.t() | nil, | ||
| :profilePictureUrl => String.t() | nil, | ||
| :profileUrl => String.t() | nil, | ||
| :subscriberCount => String.t() | nil, | ||
| :title => String.t() | nil, | ||
| :usesYoutubeNames => boolean() | nil, | ||
| :videoCount => String.t() | nil | ||
| } | ||
|
|
||
| field(:channelId) | ||
| field(:commentCount) | ||
| field(:description) | ||
| field(:playlistCount) | ||
| field(:profilePictureUrl) | ||
| field(:profileUrl) | ||
| field(:subscriberCount) | ||
| field(:title) | ||
| field(:usesYoutubeNames) | ||
| field(:videoCount) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiChannelData do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiChannelData.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiChannelData do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCircleMembership do | ||
| @moduledoc """ | ||
| A circle membership that the person has. A circle membership is created by adding a person to a circle by person-id or by email. | ||
| ## Attributes | ||
| * `circleId` (*type:* `String.t`, *default:* `nil`) - The circle that the person belongs to. | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :circleId => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:circleId) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCircleMembership do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCircleMembership.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCircleMembership do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiClientData do | ||
| @moduledoc """ | ||
| Arbitrary client data that is populated based on the client | ||
| ## Attributes | ||
| * `key` (*type:* `String.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `namespace` (*type:* `String.t`, *default:* `nil`) - | ||
| * `value` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :key => String.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :namespace => String.t() | nil, | ||
| :value => String.t() | nil | ||
| } | ||
|
|
||
| field(:key) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:namespace) | ||
| field(:value) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiClientData do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiClientData.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiClientData do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCommunicationEmail do | ||
| @moduledoc """ | ||
| Email for Google product communication with the user. This is only allowed in ServiceData. It is purely synthesized and read-only, and contains at most one field. It proxies from RawCommunicationEmail and only includes the primary field if exists. Otherwise if RawCommunicationEmail does not have primary, this includes a field synthesized from valid Gaia primary account email. Otherwise if Gaia primary account email is invalid, this field is empty. See go/comm-email-use for more details. | ||
| ## Attributes | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `value` (*type:* `String.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :value => String.t() | nil | ||
| } | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:value) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCommunicationEmail do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCommunicationEmail.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiCommunicationEmail do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiConnectionReminder do | ||
| @moduledoc """ | ||
| Contact-level people-prompts settings and contact-level connection reminders. Part of go/people-prompts. | ||
| ## Attributes | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `prompt` (*type:* `list(GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt.t)`, *default:* `nil`) - Contact-level "reminder to connect" prompts for this contact. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :prompt => list(GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt.t()) | nil | ||
| } | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:prompt, as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt, type: :list) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiConnectionReminder do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiConnectionReminder.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiConnectionReminder do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo do | ||
| @moduledoc """ | ||
| Contact creation timestamps and related metadata. See go/contact-edit-history. This message is a pure wrapper of the shared ContactCreactionContext message so that it can be a top-level person field. No other fields should be added to the message. | ||
| ## Attributes | ||
| * `contactCreateContext` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactCreateContext.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :contactCreateContext => | ||
| GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactCreateContext.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:contactCreateContext, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactCreateContext | ||
| ) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo do | ||
| @moduledoc """ | ||
| Contact edit timestamps and related metadata. See go/contact-edit-history. This message is a pure wrapper of the shared ContactCreactionContext message so that it can be a top-level person field. No other fields should be added to the message. | ||
| ## Attributes | ||
| * `contactEditContext` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactEditContext.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :contactEditContext => | ||
| GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactEditContext.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:contactEditContext, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactEditContext | ||
| ) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactGroupMembership do | ||
| @moduledoc """ | ||
| A membership that the person has. The person can be a member of multiple circles and multiple contact-groups. A circle membership is created by adding a person to a circle by person-id or by email. A contact-group membership is created by adding a contact to a contact-group. | ||
| ## Attributes | ||
| * `contactGroupId` (*type:* `String.t`, *default:* `nil`) - The contact-group that the person belong to. The id can be either a hex-formatted id or a camel-cased SystemContactGroup predefined group name. The id will be predefined group name iff the system_contact_group_id has a value. | ||
| * `delegatedGroupInfo` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiDelegatedGroupInfo.t`, *default:* `nil`) - Information related to delegated group that this contact belongs to. | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| * `systemContactGroupId` (*type:* `String.t`, *default:* `nil`) - This field will be populated when the membership is in a system-reserved contact-group. | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :contactGroupId => String.t() | nil, | ||
| :delegatedGroupInfo => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiDelegatedGroupInfo.t() | ||
| | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil, | ||
| :systemContactGroupId => String.t() | nil | ||
| } | ||
|
|
||
| field(:contactGroupId) | ||
|
|
||
| field(:delegatedGroupInfo, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiDelegatedGroupInfo | ||
| ) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
|
|
||
| field(:systemContactGroupId) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactGroupMembership do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactGroupMembership.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactGroupMembership do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactPromptSettingsInfo do | ||
| @moduledoc """ | ||
| Contact level People Prompt settings. This message is a pure wrapper of the shared ContactPromptSettings message so that it can be a top-level person field. No other fields should be added to the message. | ||
| ## Attributes | ||
| * `contactPromptSettings` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactPromptSettings.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :contactPromptSettings => | ||
| GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactPromptSettings.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:contactPromptSettings, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactPromptSettings | ||
| ) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactPromptSettingsInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactPromptSettingsInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactPromptSettingsInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| # Copyright 2019 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. | ||
|
|
||
| # NOTE: This file is auto generated by the elixir code generator program. | ||
| # Do not edit this file manually. | ||
|
|
||
| defmodule GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactStateInfo do | ||
| @moduledoc """ | ||
| Contact state and related metadata. See go/fbs-contacts-trash. This message is a pure wrapper of the shared ContactState message so that it can be a top-level person field. No other fields should be added to the message. | ||
| ## Attributes | ||
| * `contactState` (*type:* `GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactState.t`, *default:* `nil`) - | ||
| * `metadata` (*type:* `GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t`, *default:* `nil`) - | ||
| """ | ||
|
|
||
| use GoogleApi.Gax.ModelBase | ||
|
|
||
| @type t :: %__MODULE__{ | ||
| :contactState => | ||
| GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactState.t() | nil, | ||
| :metadata => | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | ||
| | nil | ||
| } | ||
|
|
||
| field(:contactState, as: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactState) | ||
|
|
||
| field(:metadata, | ||
| as: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata | ||
| ) | ||
| end | ||
|
|
||
| defimpl Poison.Decoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactStateInfo do | ||
| def decode(value, options) do | ||
| GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactStateInfo.decode( | ||
| value, | ||
| options | ||
| ) | ||
| end | ||
| end | ||
|
|
||
| defimpl Poison.Encoder, | ||
| for: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiContactStateInfo do | ||
| def encode(value, options) do | ||
| GoogleApi.Gax.ModelBase.encode(value, options) | ||
| end | ||
| end |