diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex index 0d3d1e0f9b..649ab21102 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/api/customers.ex @@ -148,6 +148,189 @@ defmodule GoogleApi.SASPortal.V1alpha1.Api.Customers do ) end + @doc """ + Returns a list of SAS deployments associated with current GCP project. Includes whether SAS analytics has been enabled or not. + + ## Parameters + + * `connection` (*type:* `GoogleApi.SASPortal.V1alpha1.Connection.t`) - Connection to server + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse{}}` on success + * `{:error, info}` on failure + """ + @spec sasportal_customers_list_gcp_project_deployments(Tesla.Env.client(), keyword(), keyword()) :: + {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def sasportal_customers_list_gcp_project_deployments( + connection, + optional_params \\ [], + opts \\ [] + ) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query + } + + request = + Request.new() + |> Request.method(:get) + |> Request.url("/v1alpha1/customers:listGcpProjectDeployments", %{}) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode( + opts ++ + [struct: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse{}] + ) + end + + @doc """ + Returns a list of legacy organizations. + + ## Parameters + + * `connection` (*type:* `GoogleApi.SASPortal.V1alpha1.Connection.t`) - Connection to server + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse{}}` on success + * `{:error, info}` on failure + """ + @spec sasportal_customers_list_legacy_organizations(Tesla.Env.client(), keyword(), keyword()) :: + {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def sasportal_customers_list_legacy_organizations(connection, optional_params \\ [], opts \\ []) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query + } + + request = + Request.new() + |> Request.method(:get) + |> Request.url("/v1alpha1/customers:listLegacyOrganizations", %{}) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode( + opts ++ + [struct: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse{}] + ) + end + + @doc """ + Migrates a SAS organization to the cloud. This will create GCP projects for each deployment and associate them. The SAS Organization is linked to the gcp project that called the command. go/sas-legacy-customer-migration + + ## Parameters + + * `connection` (*type:* `GoogleApi.SASPortal.V1alpha1.Connection.t`) - Connection to server + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:body` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationRequest.t`) - + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}}` on success + * `{:error, info}` on failure + """ + @spec sasportal_customers_migrate_organization(Tesla.Env.client(), keyword(), keyword()) :: + {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def sasportal_customers_migrate_organization(connection, optional_params \\ [], opts \\ []) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query, + :body => :body + } + + request = + Request.new() + |> Request.method(:post) + |> Request.url("/v1alpha1/customers:migrateOrganization", %{}) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode(opts ++ [struct: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}]) + end + @doc """ Updates an existing customer. @@ -212,6 +395,126 @@ defmodule GoogleApi.SASPortal.V1alpha1.Api.Customers do |> Response.decode(opts ++ [struct: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalCustomer{}]) end + @doc """ + Creates a new SAS deployment through the GCP workflow. Creates a SAS organization if an organization match is not found. + + ## Parameters + + * `connection` (*type:* `GoogleApi.SASPortal.V1alpha1.Connection.t`) - Connection to server + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:body` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentRequest.t`) - + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse{}}` on success + * `{:error, info}` on failure + """ + @spec sasportal_customers_provision_deployment(Tesla.Env.client(), keyword(), keyword()) :: + {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def sasportal_customers_provision_deployment(connection, optional_params \\ [], opts \\ []) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query, + :body => :body + } + + request = + Request.new() + |> Request.method(:post) + |> Request.url("/v1alpha1/customers:provisionDeployment", %{}) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode( + opts ++ [struct: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse{}] + ) + end + + @doc """ + Setups the a GCP Project to receive SAS Analytics messages via GCP Pub/Sub with a subscription to BigQuery. All the Pub/Sub topics and BigQuery tables are created automatically as part of this service. + + ## Parameters + + * `connection` (*type:* `GoogleApi.SASPortal.V1alpha1.Connection.t`) - Connection to server + * `optional_params` (*type:* `keyword()`) - Optional parameters + * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. + * `:access_token` (*type:* `String.t`) - OAuth access token. + * `:alt` (*type:* `String.t`) - Data format for response. + * `:callback` (*type:* `String.t`) - JSONP + * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response. + * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user. + * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks. + * `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). + * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). + * `:body` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsRequest.t`) - + * `opts` (*type:* `keyword()`) - Call options + + ## Returns + + * `{:ok, %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}}` on success + * `{:error, info}` on failure + """ + @spec sasportal_customers_setup_sas_analytics(Tesla.Env.client(), keyword(), keyword()) :: + {:ok, GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation.t()} + | {:ok, Tesla.Env.t()} + | {:ok, list()} + | {:error, any()} + def sasportal_customers_setup_sas_analytics(connection, optional_params \\ [], opts \\ []) do + optional_params_config = %{ + :"$.xgafv" => :query, + :access_token => :query, + :alt => :query, + :callback => :query, + :fields => :query, + :key => :query, + :oauth_token => :query, + :prettyPrint => :query, + :quotaUser => :query, + :uploadType => :query, + :upload_protocol => :query, + :body => :body + } + + request = + Request.new() + |> Request.method(:post) + |> Request.url("/v1alpha1/customers:setupSasAnalytics", %{}) + |> Request.add_optional_params(optional_params_config, optional_params) + |> Request.library_version(@library_version) + + connection + |> Connection.execute(request) + |> Response.decode(opts ++ [struct: %GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation{}]) + end + @doc """ Creates a new deployment. diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex index b50d6ec962..9ef55240a6 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/connection.ex @@ -24,6 +24,9 @@ defmodule GoogleApi.SASPortal.V1alpha1.Connection do use GoogleApi.Gax.Connection, scopes: [ + # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. + "https://www.googleapis.com/auth/cloud-platform", + # Read, create, update, and delete your SAS Portal data. "https://www.googleapis.com/auth/sasportal" ], diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex index 6e42d64390..3522b0c570 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.SASPortal.V1alpha1 do API client metadata for GoogleApi.SASPortal.V1alpha1. """ - @discovery_revision "20221011" + @discovery_revision "20240226" def discovery_revision(), do: @discovery_revision end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_channel_with_score.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_channel_with_score.ex index 90710aafea..d8d5f7ba4d 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_channel_with_score.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_channel_with_score.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalChannelWithScore do ## Attributes * `frequencyRange` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalFrequencyRange.t`, *default:* `nil`) - The frequency range of the channel. - * `score` (*type:* `float()`, *default:* `nil`) - The channel score, normalized to be in [0,100]. + * `score` (*type:* `float()`, *default:* `nil`) - The channel score, normalized to be in the range [0,100]. """ use GoogleApi.Gax.ModelBase diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment.ex index 41a9fc7638..053bb45502 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment do ## Attributes * `displayName` (*type:* `String.t`, *default:* `nil`) - The deployment's display name. - * `frns` (*type:* `list(String.t)`, *default:* `nil`) - Output only. The FRNs copied from its direct parent. + * `frns` (*type:* `list(String.t)`, *default:* `nil`) - Output only. The FCC Registration Numbers (FRNs) copied from its direct parent. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. Resource name. * `sasUserIds` (*type:* `list(String.t)`, *default:* `nil`) - User ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID. """ diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment_association.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment_association.ex new file mode 100644 index 0000000000..798220eae3 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_deployment_association.ex @@ -0,0 +1,49 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation do + @moduledoc """ + Association between a gcp project and a SAS user id. + + ## Attributes + + * `gcpProjectId` (*type:* `String.t`, *default:* `nil`) - GCP project id of the associated project. + * `userId` (*type:* `String.t`, *default:* `nil`) - User id of the deployment. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :gcpProjectId => String.t() | nil, + :userId => String.t() | nil + } + + field(:gcpProjectId) + field(:userId) +end + +defimpl Poison.Decoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.ex index 8af04d6627..7a05f8f149 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device.ex @@ -25,8 +25,8 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalDevice do * `currentChannels` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalChannelWithScore.t)`, *default:* `nil`) - Output only. Current channels with scores. * `deviceMetadata` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeviceMetadata.t`, *default:* `nil`) - Device parameters that can be overridden by both SAS Portal and SAS registration requests. * `displayName` (*type:* `String.t`, *default:* `nil`) - Device display name. - * `fccId` (*type:* `String.t`, *default:* `nil`) - The FCC identifier of the device. - * `grantRangeAllowlists` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalFrequencyRange.t)`, *default:* `nil`) - Only ranges within the allowlists are available for new grants. + * `fccId` (*type:* `String.t`, *default:* `nil`) - The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. + * `grantRangeAllowlists` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalFrequencyRange.t)`, *default:* `nil`) - Only ranges that are within the allowlists are available for new grants. * `grants` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeviceGrant.t)`, *default:* `nil`) - Output only. Grants held by the device. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. The resource path name. * `preloadedConfig` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeviceConfig.t`, *default:* `nil`) - Configuration of the device, as specified via SAS Portal API. diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device_metadata.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device_metadata.ex index 12ba9346b9..85b464df1d 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device_metadata.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_device_metadata.ex @@ -21,10 +21,10 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeviceMetadata do ## Attributes - * `antennaModel` (*type:* `String.t`, *default:* `nil`) - If populated, the Antenna Model Pattern to use. Format is: RecordCreatorId:PatternId - * `commonChannelGroup` (*type:* `String.t`, *default:* `nil`) - CCG. A group of CBSDs in the same ICG requesting a common primary channel assignment. See CBRSA-TS-2001 V3.0.0 for more details. - * `interferenceCoordinationGroup` (*type:* `String.t`, *default:* `nil`) - ICG. A group of CBSDs that manage their own interference with the group. See CBRSA-TS-2001 V3.0.0 for more details. - * `nrqzValidated` (*type:* `boolean()`, *default:* `nil`) - Output only. Whether a CPI has validated to have coordinated with the National Quiet Zone office. + * `antennaModel` (*type:* `String.t`, *default:* `nil`) - If populated, the Antenna Model Pattern to use. Format is: `RecordCreatorId:PatternId` + * `commonChannelGroup` (*type:* `String.t`, *default:* `nil`) - Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a common primary channel assignment. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf). + * `interferenceCoordinationGroup` (*type:* `String.t`, *default:* `nil`) - Interference Coordination Group (ICG). A group of CBSDs that manage their own interference with the group. For more details, see [CBRSA-TS-2001 V3.0.0](https://ongoalliance.org/wp-content/uploads/2020/02/CBRSA-TS-2001-V3.0.0_Approved-for-publication.pdf). + * `nrqzValidated` (*type:* `boolean()`, *default:* `nil`) - Output only. Set to `true` if a CPI has validated that they have coordinated with the National Quiet Zone office. * `nrqzValidation` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalNrqzValidation.t`, *default:* `nil`) - Output only. National Radio Quiet Zone validation info. """ diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_gcp_project_deployment.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_gcp_project_deployment.ex new file mode 100644 index 0000000000..b8d69e9116 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_gcp_project_deployment.ex @@ -0,0 +1,49 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment do + @moduledoc """ + Deployment associated with the GCP project. Includes whether SAS analytics has been enabled or not. + + ## Attributes + + * `deployment` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t`, *default:* `nil`) - Deployment associated with the GCP project. + * `hasEnabledAnalytics` (*type:* `boolean()`, *default:* `nil`) - Whether SAS analytics has been enabled. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :deployment => GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment.t() | nil, + :hasEnabledAnalytics => boolean() | nil + } + + field(:deployment, as: GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeployment) + field(:hasEnabledAnalytics) +end + +defimpl Poison.Decoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_list_gcp_project_deployments_response.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_list_gcp_project_deployments_response.ex new file mode 100644 index 0000000000..ba4df28d84 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_list_gcp_project_deployments_response.ex @@ -0,0 +1,55 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse do + @moduledoc """ + Response for [ListGcpProjectDeployments]. + + ## Attributes + + * `deployments` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment.t)`, *default:* `nil`) - Optional. Deployments associated with the GCP project + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :deployments => + list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment.t()) | nil + } + + field(:deployments, + as: GoogleApi.SASPortal.V1alpha1.Model.SasPortalGcpProjectDeployment, + type: :list + ) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse.decode( + value, + options + ) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalListGcpProjectDeploymentsResponse do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_list_legacy_organizations_response.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_list_legacy_organizations_response.ex new file mode 100644 index 0000000000..49a18abe6e --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_list_legacy_organizations_response.ex @@ -0,0 +1,52 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse do + @moduledoc """ + Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.Provisioning.ListLegacyOrganizations]. + + ## Attributes + + * `organizations` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalOrganization.t)`, *default:* `nil`) - Optional. Legacy SAS organizations. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :organizations => + list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalOrganization.t()) | nil + } + + field(:organizations, as: GoogleApi.SASPortal.V1alpha1.Model.SasPortalOrganization, type: :list) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse.decode( + value, + options + ) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalListLegacyOrganizationsResponse do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_metadata.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_metadata.ex new file mode 100644 index 0000000000..c9940dcd43 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_metadata.ex @@ -0,0 +1,48 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationMetadata do + @moduledoc """ + Long-running operation metadata message returned by the MigrateOrganization. + + ## Attributes + + * `operationState` (*type:* `String.t`, *default:* `nil`) - Output only. Current operation state + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :operationState => String.t() | nil + } + + field(:operationState) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationMetadata do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationMetadata.decode(value, options) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationMetadata do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_request.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_request.ex new file mode 100644 index 0000000000..7f56d923ad --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_request.ex @@ -0,0 +1,48 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationRequest do + @moduledoc """ + Request for [MigrateOrganization]. [spectrum.sas.portal.v1alpha1.Provisioning.MigrateOrganization]. GCP Project, Organization Info, and caller's GAIA ID should be retrieved from the RPC handler, and used to check authorization on SAS Portal organization and to create GCP Projects. + + ## Attributes + + * `organizationId` (*type:* `String.t`, *default:* `nil`) - Required. Id of the SAS organization to be migrated. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :organizationId => String.t() | nil + } + + field(:organizationId) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationRequest do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationRequest.decode(value, options) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationRequest do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_response.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_response.ex new file mode 100644 index 0000000000..ff11e55e00 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_migrate_organization_response.ex @@ -0,0 +1,52 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationResponse do + @moduledoc """ + Response for [MigrateOrganization]. [spectrum.sas.portal.v1alpha1.Provisioning.MigrateOrganization]. + + ## Attributes + + * `deploymentAssociation` (*type:* `list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation.t)`, *default:* `nil`) - Optional. A list of deployment association that were created for the migration, or current associations if they already exist. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :deploymentAssociation => + list(GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation.t()) | nil + } + + field(:deploymentAssociation, + as: GoogleApi.SASPortal.V1alpha1.Model.SasPortalDeploymentAssociation, + type: :list + ) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationResponse do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationResponse.decode(value, options) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalMigrateOrganizationResponse do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_nrqz_validation.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_nrqz_validation.ex index ff04ec704e..850aa3c5ec 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_nrqz_validation.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_nrqz_validation.ex @@ -21,10 +21,10 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalNrqzValidation do ## Attributes - * `caseId` (*type:* `String.t`, *default:* `nil`) - Validation case id. + * `caseId` (*type:* `String.t`, *default:* `nil`) - Validation case ID. * `cpiId` (*type:* `String.t`, *default:* `nil`) - CPI who signed the validation. - * `latitude` (*type:* `float()`, *default:* `nil`) - Device latitude associated with the validation. - * `longitude` (*type:* `float()`, *default:* `nil`) - Device longitude associated with the validation. + * `latitude` (*type:* `float()`, *default:* `nil`) - Device latitude that's associated with the validation. + * `longitude` (*type:* `float()`, *default:* `nil`) - Device longitude that's associated with the validation. * `state` (*type:* `String.t`, *default:* `nil`) - State of the NRQZ validation info. """ diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.ex index d86eba25e9..ae88bc8ffa 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_operation.ex @@ -25,7 +25,7 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalOperation do * `error` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalStatus.t`, *default:* `nil`) - The error result of the operation in case of failure or cancellation. * `metadata` (*type:* `map()`, *default:* `nil`) - Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. * `name` (*type:* `String.t`, *default:* `nil`) - The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. - * `response` (*type:* `map()`, *default:* `nil`) - The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + * `response` (*type:* `map()`, *default:* `nil`) - The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. """ use GoogleApi.Gax.ModelBase diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_organization.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_organization.ex new file mode 100644 index 0000000000..db30ba5ef2 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_organization.ex @@ -0,0 +1,49 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalOrganization do + @moduledoc """ + Organization details. + + ## Attributes + + * `displayName` (*type:* `String.t`, *default:* `nil`) - Name of organization + * `id` (*type:* `String.t`, *default:* `nil`) - Id of organization + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :displayName => String.t() | nil, + :id => String.t() | nil + } + + field(:displayName) + field(:id) +end + +defimpl Poison.Decoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalOrganization do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalOrganization.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalOrganization do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_provision_deployment_request.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_provision_deployment_request.ex new file mode 100644 index 0000000000..5586682ca2 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_provision_deployment_request.ex @@ -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.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentRequest do + @moduledoc """ + Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment]. GCP Project, Organization Info, and caller’s GAIA ID should be retrieved from the RPC handler, and used as inputs to create a new SAS organization (if not exists) and a new SAS deployment. + + ## Attributes + + * `newDeploymentDisplayName` (*type:* `String.t`, *default:* `nil`) - Optional. If this field is set, and a new SAS Portal Deployment needs to be created, its display name will be set to the value of this field. + * `newOrganizationDisplayName` (*type:* `String.t`, *default:* `nil`) - Optional. If this field is set, and a new SAS Portal Organization needs to be created, its display name will be set to the value of this field. + * `organizationId` (*type:* `String.t`, *default:* `nil`) - Optional. If this field is set then a new deployment will be created under the organization specified by this id. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :newDeploymentDisplayName => String.t() | nil, + :newOrganizationDisplayName => String.t() | nil, + :organizationId => String.t() | nil + } + + field(:newDeploymentDisplayName) + field(:newOrganizationDisplayName) + field(:organizationId) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentRequest do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentRequest.decode(value, options) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentRequest do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_provision_deployment_response.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_provision_deployment_response.ex new file mode 100644 index 0000000000..b4bdc5f512 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_provision_deployment_response.ex @@ -0,0 +1,48 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse do + @moduledoc """ + Response for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.ProvisionDeployment]. + + ## Attributes + + * `errorMessage` (*type:* `String.t`, *default:* `nil`) - Optional. Optional error message if the provisioning request is not successful. + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :errorMessage => String.t() | nil + } + + field(:errorMessage) +end + +defimpl Poison.Decoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse.decode(value, options) + end +end + +defimpl Poison.Encoder, + for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalProvisionDeploymentResponse do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_set_policy_request.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_set_policy_request.ex index 4bdbebbaf6..ee117e7062 100644 --- a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_set_policy_request.ex +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_set_policy_request.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetPolicyRequest do ## Attributes - * `disableNotification` (*type:* `boolean()`, *default:* `nil`) - Optional. Set the field as true when we would like to disable the onboarding notification. + * `disableNotification` (*type:* `boolean()`, *default:* `nil`) - Optional. Set the field as `true` to disable the onboarding notification. * `policy` (*type:* `GoogleApi.SASPortal.V1alpha1.Model.SasPortalPolicy.t`, *default:* `nil`) - Required. The policy to be applied to the `resource`. * `resource` (*type:* `String.t`, *default:* `nil`) - Required. The resource for which the policy is being specified. This policy replaces any existing policy. """ diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_metadata.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_metadata.ex new file mode 100644 index 0000000000..18308f7cf8 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_metadata.ex @@ -0,0 +1,41 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsMetadata do + @moduledoc """ + Metadata returned by the long running operation for the SetupSasAnalytics rpc. + + ## Attributes + + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{} +end + +defimpl Poison.Decoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsMetadata do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsMetadata.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsMetadata do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_request.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_request.ex new file mode 100644 index 0000000000..ecb7c54811 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_request.ex @@ -0,0 +1,46 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsRequest do + @moduledoc """ + Request for the SetupSasAnalytics rpc. + + ## Attributes + + * `userId` (*type:* `String.t`, *default:* `nil`) - Optional. User id to setup analytics for, if not provided the user id associated with the project is used. optional + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{ + :userId => String.t() | nil + } + + field(:userId) +end + +defimpl Poison.Decoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsRequest do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsRequest.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsRequest do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end diff --git a/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_response.ex b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_response.ex new file mode 100644 index 0000000000..ddd19c50b7 --- /dev/null +++ b/clients/sas_portal/lib/google_api/sas_portal/v1alpha1/model/sas_portal_setup_sas_analytics_response.ex @@ -0,0 +1,41 @@ +# 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.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsResponse do + @moduledoc """ + Response returned by the long running operation for the SetupSasAnalytics rpc. + + ## Attributes + + """ + + use GoogleApi.Gax.ModelBase + + @type t :: %__MODULE__{} +end + +defimpl Poison.Decoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsResponse do + def decode(value, options) do + GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsResponse.decode(value, options) + end +end + +defimpl Poison.Encoder, for: GoogleApi.SASPortal.V1alpha1.Model.SasPortalSetupSasAnalyticsResponse do + def encode(value, options) do + GoogleApi.Gax.ModelBase.encode(value, options) + end +end