2019-12-19 00:37:21 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module ProdTtSasportalV1alpha1
|
|
|
|
|
|
|
|
# Associates `members` with a `role`.
|
|
|
|
class SasPortalAssignment
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# The identities the role is assigned to. It can have the following values: * ``
|
|
|
|
# user_email``: An email address that represents a specific Google account. For
|
|
|
|
# example: `alice@gmail.com`. * ``group_email``: An email address that
|
|
|
|
# represents a Google group. For example, `viewers@gmail.com`.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `members`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :members
|
|
|
|
|
|
|
|
# Required. Role that is assigned to `members`.
|
|
|
|
# Corresponds to the JSON property `role`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :role
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@members = args[:members] if args.key?(:members)
|
|
|
|
@role = args[:role] if args.key?(:role)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-01-08 00:37:28 +00:00
|
|
|
# Request for BulkCreateDevice method.
|
|
|
|
class SasPortalBulkCreateDeviceRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. A csv with each row representing a [device]. Each row must conform
|
|
|
|
# to the regulations described on CreateDeviceRequest's device field.
|
2020-01-08 00:37:28 +00:00
|
|
|
# Corresponds to the JSON property `csv`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :csv
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@csv = args[:csv] if args.key?(:csv)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Response for BulkCreateDevice method.
|
|
|
|
class SasPortalBulkCreateDeviceResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Required. The devices that were imported.
|
|
|
|
# Corresponds to the JSON property `devices`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice>]
|
|
|
|
attr_accessor :devices
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@devices = args[:devices] if args.key?(:devices)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
feat: Automated regeneration of prod_tt_sasportal v1alpha1 client (#1748)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-12-12 03:08:19,767 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-prod_tt_sasportal-v1alpha1
nothing to commit, working tree clean
2020-12-12 03:08:19,798 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth prod_tt_sasportal v1alpha1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth prod_tt_sasportal v1alpha1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.51.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=prod_tt_sasportal.v1alpha1 --names-out=/workspace/api_names_out.yaml
Loading prod_tt_sasportal, version v1alpha1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/prod_tt_sasportal.v1alpha1.json
conflict google/apis/prod_tt_sasportal_v1alpha1.rb
<portal_v1alpha1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/prod_tt_sasportal_v1alpha1.rb
identical google/apis/prod_tt_sasportal_v1alpha1/service.rb
conflict google/apis/prod_tt_sasportal_v1alpha1/classes.rb
force google/apis/prod_tt_sasportal_v1alpha1/classes.rb
conflict google/apis/prod_tt_sasportal_v1alpha1/representations.rb
force google/apis/prod_tt_sasportal_v1alpha1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-12-12 03:08:45,973 synthtool [DEBUG] > Wrote metadata to generated/google/apis/prod_tt_sasportal_v1alpha1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/prod_tt_sasportal_v1alpha1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/5df18d46-45d4-47f0-935d-8e4681f78c49/targets
- [ ] To automatically regenerate this PR, check this box.
2020-12-12 11:20:04 +00:00
|
|
|
# The channel with score.
|
|
|
|
class SasPortalChannelWithScore
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Frequency range from `low_frequency` to `high_frequency`.
|
|
|
|
# Corresponds to the JSON property `frequencyRange`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange]
|
|
|
|
attr_accessor :frequency_range
|
|
|
|
|
|
|
|
# The channel score, normalized to be in [0,1].
|
|
|
|
# Corresponds to the JSON property `score`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :score
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@frequency_range = args[:frequency_range] if args.key?(:frequency_range)
|
|
|
|
@score = args[:score] if args.key?(:score)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-12-19 00:37:21 +00:00
|
|
|
# Request for CreateSignedDevice method.
|
|
|
|
class SasPortalCreateSignedDeviceRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. JSON Web Token signed using a CPI private key. Payload must be the
|
|
|
|
# JSON encoding of the [Device]. The user_id field must be set.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `encodedDevice`
|
|
|
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :encoded_device
|
|
|
|
|
|
|
|
# Required. Unique installer id (cpiId) from the Certified Professional
|
|
|
|
# Installers database.
|
|
|
|
# Corresponds to the JSON property `installerId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :installer_id
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@encoded_device = args[:encoded_device] if args.key?(:encoded_device)
|
|
|
|
@installer_id = args[:installer_id] if args.key?(:installer_id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Entity representing a SAS customer.
|
|
|
|
class SasPortalCustomer
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Required. Name of the organization that the customer entity represents.
|
|
|
|
# Corresponds to the JSON property `displayName`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :display_name
|
|
|
|
|
|
|
|
# Output only. Resource name of the customer.
|
|
|
|
# Corresponds to the JSON property `name`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :name
|
|
|
|
|
|
|
|
# User IDs used by the devices belonging to this customer.
|
|
|
|
# Corresponds to the JSON property `sasUserIds`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :sas_user_ids
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
|
|
@name = args[:name] if args.key?(:name)
|
|
|
|
@sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
#
|
|
|
|
class SasPortalDevice
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Information about the device configuration.
|
|
|
|
# Corresponds to the JSON property `activeConfig`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig]
|
|
|
|
attr_accessor :active_config
|
|
|
|
|
2020-06-25 00:37:57 +00:00
|
|
|
# Device data overridable by both SAS Portal and registration requests.
|
|
|
|
# Corresponds to the JSON property `deviceMetadata`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceMetadata]
|
|
|
|
attr_accessor :device_metadata
|
|
|
|
|
2019-12-19 00:37:21 +00:00
|
|
|
# Device display name.
|
|
|
|
# Corresponds to the JSON property `displayName`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :display_name
|
|
|
|
|
|
|
|
# The FCC identifier of the device.
|
|
|
|
# Corresponds to the JSON property `fccId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :fcc_id
|
|
|
|
|
|
|
|
# Output only. Grants held by the device.
|
|
|
|
# Corresponds to the JSON property `grants`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceGrant>]
|
|
|
|
attr_accessor :grants
|
|
|
|
|
|
|
|
# Output only. The resource path name.
|
|
|
|
# Corresponds to the JSON property `name`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :name
|
|
|
|
|
|
|
|
# Information about the device configuration.
|
|
|
|
# Corresponds to the JSON property `preloadedConfig`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig]
|
|
|
|
attr_accessor :preloaded_config
|
|
|
|
|
feat: Automated regeneration of prod_tt_sasportal v1alpha1 client (#1748)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-12-12 03:08:19,767 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-prod_tt_sasportal-v1alpha1
nothing to commit, working tree clean
2020-12-12 03:08:19,798 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth prod_tt_sasportal v1alpha1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth prod_tt_sasportal v1alpha1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.51.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=prod_tt_sasportal.v1alpha1 --names-out=/workspace/api_names_out.yaml
Loading prod_tt_sasportal, version v1alpha1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/prod_tt_sasportal.v1alpha1.json
conflict google/apis/prod_tt_sasportal_v1alpha1.rb
<portal_v1alpha1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/prod_tt_sasportal_v1alpha1.rb
identical google/apis/prod_tt_sasportal_v1alpha1/service.rb
conflict google/apis/prod_tt_sasportal_v1alpha1/classes.rb
force google/apis/prod_tt_sasportal_v1alpha1/classes.rb
conflict google/apis/prod_tt_sasportal_v1alpha1/representations.rb
force google/apis/prod_tt_sasportal_v1alpha1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-12-12 03:08:45,973 synthtool [DEBUG] > Wrote metadata to generated/google/apis/prod_tt_sasportal_v1alpha1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/prod_tt_sasportal_v1alpha1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/5df18d46-45d4-47f0-935d-8e4681f78c49/targets
- [ ] To automatically regenerate this PR, check this box.
2020-12-12 11:20:04 +00:00
|
|
|
# Output only. Recommended channels.
|
|
|
|
# Corresponds to the JSON property `recommendedChannels`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore>]
|
|
|
|
attr_accessor :recommended_channels
|
|
|
|
|
|
|
|
# Output only. Recommended power for the device.
|
|
|
|
# Corresponds to the JSON property `recommendedPowerDbmPerMhz`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :recommended_power_dbm_per_mhz
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A serial number assigned to the device by the device manufacturer.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `serialNumber`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :serial_number
|
|
|
|
|
|
|
|
# Output only. Device state.
|
|
|
|
# Corresponds to the JSON property `state`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :state
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@active_config = args[:active_config] if args.key?(:active_config)
|
2020-06-25 00:37:57 +00:00
|
|
|
@device_metadata = args[:device_metadata] if args.key?(:device_metadata)
|
2019-12-19 00:37:21 +00:00
|
|
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
|
|
@fcc_id = args[:fcc_id] if args.key?(:fcc_id)
|
|
|
|
@grants = args[:grants] if args.key?(:grants)
|
|
|
|
@name = args[:name] if args.key?(:name)
|
|
|
|
@preloaded_config = args[:preloaded_config] if args.key?(:preloaded_config)
|
feat: Automated regeneration of prod_tt_sasportal v1alpha1 client (#1748)
This PR was generated using Autosynth. :rainbow:
<details><summary>Log from Synthtool</summary>
```
2020-12-12 03:08:19,767 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-prod_tt_sasportal-v1alpha1
nothing to commit, working tree clean
2020-12-12 03:08:19,798 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth prod_tt_sasportal v1alpha1
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth prod_tt_sasportal v1alpha1
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.51.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=prod_tt_sasportal.v1alpha1 --names-out=/workspace/api_names_out.yaml
Loading prod_tt_sasportal, version v1alpha1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/prod_tt_sasportal.v1alpha1.json
conflict google/apis/prod_tt_sasportal_v1alpha1.rb
<portal_v1alpha1.rb? (enter "h" for help) [Ynaqdhm] a
force google/apis/prod_tt_sasportal_v1alpha1.rb
identical google/apis/prod_tt_sasportal_v1alpha1/service.rb
conflict google/apis/prod_tt_sasportal_v1alpha1/classes.rb
force google/apis/prod_tt_sasportal_v1alpha1/classes.rb
conflict google/apis/prod_tt_sasportal_v1alpha1/representations.rb
force google/apis/prod_tt_sasportal_v1alpha1/representations.rb
conflict /workspace/api_names_out.yaml
force /workspace/api_names_out.yaml
2020-12-12 03:08:45,973 synthtool [DEBUG] > Wrote metadata to generated/google/apis/prod_tt_sasportal_v1alpha1/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/prod_tt_sasportal_v1alpha1/synth.metadata.
```
</details>
Full log will be available here:
https://source.cloud.google.com/results/invocations/5df18d46-45d4-47f0-935d-8e4681f78c49/targets
- [ ] To automatically regenerate this PR, check this box.
2020-12-12 11:20:04 +00:00
|
|
|
@recommended_channels = args[:recommended_channels] if args.key?(:recommended_channels)
|
|
|
|
@recommended_power_dbm_per_mhz = args[:recommended_power_dbm_per_mhz] if args.key?(:recommended_power_dbm_per_mhz)
|
2019-12-19 00:37:21 +00:00
|
|
|
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
|
|
|
@state = args[:state] if args.key?(:state)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Information about the device's air interface.
|
|
|
|
class SasPortalDeviceAirInterface
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# This field specifies the radio access technology that is used for the CBSD.
|
|
|
|
# Conditional
|
|
|
|
# Corresponds to the JSON property `radioTechnology`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :radio_technology
|
|
|
|
|
|
|
|
# This field is related to the radioTechnology field and provides the air
|
|
|
|
# interface specification that the CBSD is compliant with at the time of
|
2020-08-04 00:38:33 +00:00
|
|
|
# registration. Optional
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `supportedSpec`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :supported_spec
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@radio_technology = args[:radio_technology] if args.key?(:radio_technology)
|
|
|
|
@supported_spec = args[:supported_spec] if args.key?(:supported_spec)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Information about the device configuration.
|
|
|
|
class SasPortalDeviceConfig
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Information about the device's air interface.
|
|
|
|
# Corresponds to the JSON property `airInterface`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceAirInterface]
|
|
|
|
attr_accessor :air_interface
|
|
|
|
|
|
|
|
# The call sign of the device operator.
|
|
|
|
# Corresponds to the JSON property `callSign`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :call_sign
|
|
|
|
|
|
|
|
# FCC category of the device.
|
|
|
|
# Corresponds to the JSON property `category`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :category
|
|
|
|
|
|
|
|
# Information about the device installation parameters.
|
|
|
|
# Corresponds to the JSON property `installationParams`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalInstallationParams]
|
|
|
|
attr_accessor :installation_params
|
|
|
|
|
|
|
|
# Output-only. Whether the configuration has been signed by a CPI.
|
|
|
|
# Corresponds to the JSON property `isSigned`
|
|
|
|
# @return [Boolean]
|
|
|
|
attr_accessor :is_signed
|
|
|
|
alias_method :is_signed?, :is_signed
|
|
|
|
|
|
|
|
# Measurement reporting capabilities of the device.
|
|
|
|
# Corresponds to the JSON property `measurementCapabilities`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :measurement_capabilities
|
|
|
|
|
|
|
|
# Information about the model of the device.
|
|
|
|
# Corresponds to the JSON property `model`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceModel]
|
|
|
|
attr_accessor :model
|
|
|
|
|
|
|
|
# State of the configuration.
|
|
|
|
# Corresponds to the JSON property `state`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :state
|
|
|
|
|
|
|
|
# Output-only. The last time the device configuration was edited.
|
|
|
|
# Corresponds to the JSON property `updateTime`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :update_time
|
|
|
|
|
2020-04-13 16:49:10 +00:00
|
|
|
# The identifier of a device user.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `userId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :user_id
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@air_interface = args[:air_interface] if args.key?(:air_interface)
|
|
|
|
@call_sign = args[:call_sign] if args.key?(:call_sign)
|
|
|
|
@category = args[:category] if args.key?(:category)
|
|
|
|
@installation_params = args[:installation_params] if args.key?(:installation_params)
|
|
|
|
@is_signed = args[:is_signed] if args.key?(:is_signed)
|
|
|
|
@measurement_capabilities = args[:measurement_capabilities] if args.key?(:measurement_capabilities)
|
|
|
|
@model = args[:model] if args.key?(:model)
|
|
|
|
@state = args[:state] if args.key?(:state)
|
|
|
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
|
|
@user_id = args[:user_id] if args.key?(:user_id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Device grant. It is an authorization provided by the Spectrum Access System to
|
|
|
|
# a device to transmit using specified operating parameters after a successful
|
|
|
|
# heartbeat by the device.
|
2019-12-19 00:37:21 +00:00
|
|
|
class SasPortalDeviceGrant
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Type of channel used.
|
|
|
|
# Corresponds to the JSON property `channelType`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :channel_type
|
|
|
|
|
|
|
|
# The expiration time of the grant.
|
|
|
|
# Corresponds to the JSON property `expireTime`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :expire_time
|
|
|
|
|
|
|
|
# Frequency range from `low_frequency` to `high_frequency`.
|
|
|
|
# Corresponds to the JSON property `frequencyRange`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange]
|
|
|
|
attr_accessor :frequency_range
|
|
|
|
|
2020-08-15 00:38:25 +00:00
|
|
|
# Grant Id.
|
|
|
|
# Corresponds to the JSON property `grantId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :grant_id
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Maximum Equivalent Isotropically Radiated Power (EIRP) permitted by the grant.
|
|
|
|
# The maximum EIRP is in units of dBm/MHz. The value of maxEirp represents the
|
|
|
|
# average (RMS) EIRP that would be measured by the procedure defined in FCC part
|
|
|
|
# 96.41(e)(3).
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `maxEirp`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :max_eirp
|
|
|
|
|
|
|
|
# The DPA move lists on which this grant appears.
|
|
|
|
# Corresponds to the JSON property `moveList`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDpaMoveList>]
|
|
|
|
attr_accessor :move_list
|
|
|
|
|
|
|
|
# State of the grant.
|
|
|
|
# Corresponds to the JSON property `state`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :state
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
# If the grant is suspended, the reason(s) for suspension.
|
|
|
|
# Corresponds to the JSON property `suspensionReason`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :suspension_reason
|
|
|
|
|
2019-12-19 00:37:21 +00:00
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@channel_type = args[:channel_type] if args.key?(:channel_type)
|
|
|
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
|
|
@frequency_range = args[:frequency_range] if args.key?(:frequency_range)
|
2020-08-15 00:38:25 +00:00
|
|
|
@grant_id = args[:grant_id] if args.key?(:grant_id)
|
2019-12-19 00:37:21 +00:00
|
|
|
@max_eirp = args[:max_eirp] if args.key?(:max_eirp)
|
|
|
|
@move_list = args[:move_list] if args.key?(:move_list)
|
|
|
|
@state = args[:state] if args.key?(:state)
|
2020-05-07 20:07:42 +00:00
|
|
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
2019-12-19 00:37:21 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-06-25 00:37:57 +00:00
|
|
|
# Device data overridable by both SAS Portal and registration requests.
|
|
|
|
class SasPortalDeviceMetadata
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-12-19 00:37:21 +00:00
|
|
|
# Information about the model of the device.
|
|
|
|
class SasPortalDeviceModel
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The firmware version of the device.
|
|
|
|
# Corresponds to the JSON property `firmwareVersion`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :firmware_version
|
|
|
|
|
|
|
|
# The hardware version of the device.
|
|
|
|
# Corresponds to the JSON property `hardwareVersion`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :hardware_version
|
|
|
|
|
|
|
|
# The name of the device model.
|
|
|
|
# Corresponds to the JSON property `name`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :name
|
|
|
|
|
|
|
|
# The software version of the device.
|
|
|
|
# Corresponds to the JSON property `softwareVersion`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :software_version
|
|
|
|
|
|
|
|
# The name of the device vendor.
|
|
|
|
# Corresponds to the JSON property `vendor`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :vendor
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@firmware_version = args[:firmware_version] if args.key?(:firmware_version)
|
|
|
|
@hardware_version = args[:hardware_version] if args.key?(:hardware_version)
|
|
|
|
@name = args[:name] if args.key?(:name)
|
|
|
|
@software_version = args[:software_version] if args.key?(:software_version)
|
|
|
|
@vendor = args[:vendor] if args.key?(:vendor)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# An entry in a DPA's move list.
|
|
|
|
class SasPortalDpaMoveList
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The ID of the DPA.
|
|
|
|
# Corresponds to the JSON property `dpaId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :dpa_id
|
|
|
|
|
|
|
|
# Frequency range from `low_frequency` to `high_frequency`.
|
|
|
|
# Corresponds to the JSON property `frequencyRange`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange]
|
|
|
|
attr_accessor :frequency_range
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@dpa_id = args[:dpa_id] if args.key?(:dpa_id)
|
|
|
|
@frequency_range = args[:frequency_range] if args.key?(:frequency_range)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
|
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
|
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
|
|
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
|
|
# `Empty` is empty JSON object ````.
|
2019-12-19 00:37:21 +00:00
|
|
|
class SasPortalEmpty
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Frequency range from `low_frequency` to `high_frequency`.
|
|
|
|
class SasPortalFrequencyRange
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The highest frequency of the frequency range in MHz.
|
|
|
|
# Corresponds to the JSON property `highFrequencyMhz`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :high_frequency_mhz
|
|
|
|
|
|
|
|
# The lowest frequency of the frequency range in MHz.
|
|
|
|
# Corresponds to the JSON property `lowFrequencyMhz`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :low_frequency_mhz
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@high_frequency_mhz = args[:high_frequency_mhz] if args.key?(:high_frequency_mhz)
|
|
|
|
@low_frequency_mhz = args[:low_frequency_mhz] if args.key?(:low_frequency_mhz)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Request for GenerateSecret method] [spectrum.sas.portal.v1alpha1.DeviceManager.
|
|
|
|
# GenerateSecret].
|
2019-12-19 00:37:21 +00:00
|
|
|
class SasPortalGenerateSecretRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Response for GenerateSecret method.
|
|
|
|
class SasPortalGenerateSecretResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# The secret generated by the string and used by [ValidateInstaller] method.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `secret`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :secret
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@secret = args[:secret] if args.key?(:secret)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request message for `GetPolicy` method.
|
|
|
|
class SasPortalGetPolicyRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Required. The resource for which the policy is being requested.
|
|
|
|
# Corresponds to the JSON property `resource`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :resource
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@resource = args[:resource] if args.key?(:resource)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Information about the device installation parameters.
|
|
|
|
class SasPortalInstallationParams
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Boresight direction of the horizontal plane of the antenna in degrees with
|
|
|
|
# respect to true north. The value of this parameter is an integer with a value
|
|
|
|
# between 0 and 359 inclusive. A value of 0 degrees means true north; a value of
|
|
|
|
# 90 degrees means east. This parameter is optional for Category A devices and
|
2019-12-19 00:37:21 +00:00
|
|
|
# conditional for Category B devices.
|
|
|
|
# Corresponds to the JSON property `antennaAzimuth`
|
|
|
|
# @return [Fixnum]
|
|
|
|
attr_accessor :antenna_azimuth
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# 3-dB antenna beamwidth of the antenna in the horizontal-plane in degrees. This
|
|
|
|
# parameter is an unsigned integer having a value between 0 and 360 (degrees)
|
|
|
|
# inclusive; it is optional for Category A devices and conditional for Category
|
|
|
|
# B devices.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `antennaBeamwidth`
|
|
|
|
# @return [Fixnum]
|
|
|
|
attr_accessor :antenna_beamwidth
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Antenna downtilt in degrees and is an integer with a value between -90 and +90
|
|
|
|
# inclusive; a negative value means the antenna is tilted up (above horizontal).
|
|
|
|
# This parameter is optional for Category A devices and conditional for Category
|
|
|
|
# B devices.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `antennaDowntilt`
|
|
|
|
# @return [Fixnum]
|
|
|
|
attr_accessor :antenna_downtilt
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Peak antenna gain in dBi. This parameter is an integer with a value between -
|
|
|
|
# 127 and +128 (dBi) inclusive.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `antennaGain`
|
|
|
|
# @return [Fixnum]
|
|
|
|
attr_accessor :antenna_gain
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# If an external antenna is used, the antenna model is optionally provided in
|
|
|
|
# this field. The string has a maximum length of 128 octets.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `antennaModel`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :antenna_model
|
|
|
|
|
2020-05-07 20:07:42 +00:00
|
|
|
# If present, this parameter specifies whether the CBSD is a CPE-CBSD or not.
|
|
|
|
# Corresponds to the JSON property `cpeCbsdIndication`
|
|
|
|
# @return [Boolean]
|
|
|
|
attr_accessor :cpe_cbsd_indication
|
|
|
|
alias_method :cpe_cbsd_indication?, :cpe_cbsd_indication
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# This parameter is the maximum device EIRP in units of dBm/10MHz and is an
|
|
|
|
# integer with a value between -127 and +47 (dBm/10 MHz) inclusive. If not
|
|
|
|
# included, SAS interprets it as maximum allowable EIRP in units of dBm/10MHz
|
|
|
|
# for device category.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `eirpCapability`
|
|
|
|
# @return [Fixnum]
|
|
|
|
attr_accessor :eirp_capability
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Device antenna height in meters. When the heightType parameter value is "AGL",
|
|
|
|
# the antenna height should be given relative to ground level. When the
|
|
|
|
# heightType parameter value is "AMSL", it is given with respect to WGS84 datum.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `height`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :height
|
|
|
|
|
|
|
|
# Specifies how the height is measured.
|
|
|
|
# Corresponds to the JSON property `heightType`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :height_type
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A positive number in meters to indicate accuracy of the device antenna
|
|
|
|
# horizontal location. This optional parameter should only be present if its
|
|
|
|
# value is less than the FCC requirement of 50 meters.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `horizontalAccuracy`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :horizontal_accuracy
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Whether the device antenna is indoor or not. True: indoor. False: outdoor.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `indoorDeployment`
|
|
|
|
# @return [Boolean]
|
|
|
|
attr_accessor :indoor_deployment
|
|
|
|
alias_method :indoor_deployment?, :indoor_deployment
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Latitude of the device antenna location in degrees relative to the WGS 84
|
|
|
|
# datum. The allowed range is from -90.000000 to +90.000000. Positive values
|
|
|
|
# represent latitudes north of the equator; negative values south of the equator.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `latitude`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :latitude
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Longitude of the device antenna location. in degrees relative to the WGS 84
|
|
|
|
# datum. The allowed range is from -180.000000 to +180.000000. Positive values
|
|
|
|
# represent longitudes east of the prime meridian; negative values west of the
|
|
|
|
# prime meridian.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `longitude`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :longitude
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A positive number in meters to indicate accuracy of the device antenna
|
|
|
|
# vertical location. This optional parameter should only be present if its value
|
|
|
|
# is less than the FCC requirement of 3 meters.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `verticalAccuracy`
|
|
|
|
# @return [Float]
|
|
|
|
attr_accessor :vertical_accuracy
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@antenna_azimuth = args[:antenna_azimuth] if args.key?(:antenna_azimuth)
|
|
|
|
@antenna_beamwidth = args[:antenna_beamwidth] if args.key?(:antenna_beamwidth)
|
|
|
|
@antenna_downtilt = args[:antenna_downtilt] if args.key?(:antenna_downtilt)
|
|
|
|
@antenna_gain = args[:antenna_gain] if args.key?(:antenna_gain)
|
|
|
|
@antenna_model = args[:antenna_model] if args.key?(:antenna_model)
|
2020-05-07 20:07:42 +00:00
|
|
|
@cpe_cbsd_indication = args[:cpe_cbsd_indication] if args.key?(:cpe_cbsd_indication)
|
2019-12-19 00:37:21 +00:00
|
|
|
@eirp_capability = args[:eirp_capability] if args.key?(:eirp_capability)
|
|
|
|
@height = args[:height] if args.key?(:height)
|
|
|
|
@height_type = args[:height_type] if args.key?(:height_type)
|
|
|
|
@horizontal_accuracy = args[:horizontal_accuracy] if args.key?(:horizontal_accuracy)
|
|
|
|
@indoor_deployment = args[:indoor_deployment] if args.key?(:indoor_deployment)
|
|
|
|
@latitude = args[:latitude] if args.key?(:latitude)
|
|
|
|
@longitude = args[:longitude] if args.key?(:longitude)
|
|
|
|
@vertical_accuracy = args[:vertical_accuracy] if args.key?(:vertical_accuracy)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Response for `ListCustomers`.
|
|
|
|
class SasPortalListCustomersResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# The list of customers that match the request.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `customers`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalCustomer>]
|
|
|
|
attr_accessor :customers
|
|
|
|
|
|
|
|
# A pagination token returned from a previous call to ListCustomers method that
|
2020-08-04 00:38:33 +00:00
|
|
|
# indicates from where listing should continue. If the field is missing or empty,
|
|
|
|
# it means there are no more customers.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `nextPageToken`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :next_page_token
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@customers = args[:customers] if args.key?(:customers)
|
|
|
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Response for ListDevices method.
|
|
|
|
class SasPortalListDevicesResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The devices that match the request.
|
|
|
|
# Corresponds to the JSON property `devices`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice>]
|
|
|
|
attr_accessor :devices
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A pagination token returned from a previous call to ListDevices method that
|
|
|
|
# indicates from where listing should continue. If the field is missing or empty,
|
|
|
|
# it means there is no more devices.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `nextPageToken`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :next_page_token
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@devices = args[:devices] if args.key?(:devices)
|
|
|
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Response for ListNodes method.
|
|
|
|
class SasPortalListNodesResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A pagination token returned from a previous call to ListNodes method that
|
|
|
|
# indicates from where listing should continue. If the field is missing or empty,
|
|
|
|
# it means there is no more nodes.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `nextPageToken`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :next_page_token
|
|
|
|
|
|
|
|
# The nodes that match the request.
|
|
|
|
# Corresponds to the JSON property `nodes`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalNode>]
|
|
|
|
attr_accessor :nodes
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
|
|
@nodes = args[:nodes] if args.key?(:nodes)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-09-14 23:21:28 +00:00
|
|
|
# Request for MoveDeployment method.
|
|
|
|
class SasPortalMoveDeploymentRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Required. The name of the new parent resource Node or Customer to reparent the
|
|
|
|
# deployment under.
|
|
|
|
# Corresponds to the JSON property `destination`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :destination
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@destination = args[:destination] if args.key?(:destination)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2019-12-19 00:37:21 +00:00
|
|
|
# Request for MoveDevice method.
|
|
|
|
class SasPortalMoveDeviceRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. The name of the new parent resource (Node or Customer) to reparent
|
|
|
|
# the device under.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `destination`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :destination
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@destination = args[:destination] if args.key?(:destination)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request for MoveNode method.
|
|
|
|
class SasPortalMoveNodeRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Required. The name of the new parent resource node or Customer) to reparent
|
|
|
|
# the node under.
|
|
|
|
# Corresponds to the JSON property `destination`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :destination
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@destination = args[:destination] if args.key?(:destination)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# The Node.
|
|
|
|
class SasPortalNode
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The node's display name.
|
|
|
|
# Corresponds to the JSON property `displayName`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :display_name
|
|
|
|
|
|
|
|
# Output only. Resource name.
|
|
|
|
# Corresponds to the JSON property `name`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :name
|
|
|
|
|
|
|
|
# User ids used by the devices belonging to this node.
|
|
|
|
# Corresponds to the JSON property `sasUserIds`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :sas_user_ids
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
|
|
@name = args[:name] if args.key?(:name)
|
|
|
|
@sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# This resource represents a long-running operation that is the result of a
|
|
|
|
# network API call.
|
|
|
|
class SasPortalOperation
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
|
|
# , the operation is completed, and either `error` or `response` is available.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `done`
|
|
|
|
# @return [Boolean]
|
|
|
|
attr_accessor :done
|
|
|
|
alias_method :done?, :done
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# The `Status` type defines a logical error model that is suitable for different
|
|
|
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
|
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
|
|
# data: error code, error message, and error details. You can find out more
|
|
|
|
# about this error model and how to work with it in the [API Design Guide](https:
|
|
|
|
# //cloud.google.com/apis/design/errors).
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `error`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalStatus]
|
|
|
|
attr_accessor :error
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# 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.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `metadata`
|
|
|
|
# @return [Hash<String,Object>]
|
|
|
|
attr_accessor :metadata
|
|
|
|
|
|
|
|
# The server-assigned name, which is only unique within the same service that
|
2020-08-04 00:38:33 +00:00
|
|
|
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
|
|
# be a resource name ending with `operations/`unique_id``.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `name`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :name
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# 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`.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `response`
|
|
|
|
# @return [Hash<String,Object>]
|
|
|
|
attr_accessor :response
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@done = args[:done] if args.key?(:done)
|
|
|
|
@error = args[:error] if args.key?(:error)
|
|
|
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
|
|
@name = args[:name] if args.key?(:name)
|
|
|
|
@response = args[:response] if args.key?(:response)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Defines an access control policy to the resources.
|
|
|
|
class SasPortalPolicy
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
#
|
|
|
|
# Corresponds to the JSON property `assignments`
|
|
|
|
# @return [Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalAssignment>]
|
|
|
|
attr_accessor :assignments
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# The [etag] is used for optimistic concurrency control as a way to help prevent
|
|
|
|
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
|
|
# suggested that systems make use of the [etag] in the read-modify-write cycle
|
|
|
|
# to perform policy updates in order to avoid race conditions: An [etag] is
|
|
|
|
# returned in the response to [GetPolicy], and systems are expected to put that
|
|
|
|
# etag in the request to [SetPolicy] to ensure that their change will be applied
|
|
|
|
# to the same version of the policy. If no [etag] is provided in the call to [
|
|
|
|
# SetPolicy], then the existing policy is overwritten blindly.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `etag`
|
|
|
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :etag
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@assignments = args[:assignments] if args.key?(:assignments)
|
|
|
|
@etag = args[:etag] if args.key?(:etag)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request message for `SetPolicy` method.
|
|
|
|
class SasPortalSetPolicyRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# Defines an access control policy to the resources.
|
|
|
|
# Corresponds to the JSON property `policy`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy]
|
|
|
|
attr_accessor :policy
|
|
|
|
|
|
|
|
# Required. The resource for which the policy is being specified. This policy
|
|
|
|
# replaces any existing policy.
|
|
|
|
# Corresponds to the JSON property `resource`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :resource
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@policy = args[:policy] if args.key?(:policy)
|
|
|
|
@resource = args[:resource] if args.key?(:resource)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request for SignDevice method.
|
|
|
|
class SasPortalSignDeviceRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. The device to sign. The device fields name, fcc_id and serial_number
|
|
|
|
# must be set. The user_id field must be set.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `device`
|
|
|
|
# @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice]
|
|
|
|
attr_accessor :device
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@device = args[:device] if args.key?(:device)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# The `Status` type defines a logical error model that is suitable for different
|
|
|
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
|
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
|
|
# data: error code, error message, and error details. You can find out more
|
|
|
|
# about this error model and how to work with it in the [API Design Guide](https:
|
|
|
|
# //cloud.google.com/apis/design/errors).
|
2019-12-19 00:37:21 +00:00
|
|
|
class SasPortalStatus
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The status code, which should be an enum value of google.rpc.Code.
|
|
|
|
# Corresponds to the JSON property `code`
|
|
|
|
# @return [Fixnum]
|
|
|
|
attr_accessor :code
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A list of messages that carry the error details. There is a common set of
|
2019-12-19 00:37:21 +00:00
|
|
|
# message types for APIs to use.
|
|
|
|
# Corresponds to the JSON property `details`
|
|
|
|
# @return [Array<Hash<String,Object>>]
|
|
|
|
attr_accessor :details
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# A developer-facing error message, which should be in English. Any user-facing
|
|
|
|
# error message should be localized and sent in the google.rpc.Status.details
|
|
|
|
# field, or localized by the client.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `message`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :message
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@code = args[:code] if args.key?(:code)
|
|
|
|
@details = args[:details] if args.key?(:details)
|
|
|
|
@message = args[:message] if args.key?(:message)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request message for `TestPermissions` method.
|
|
|
|
class SasPortalTestPermissionsRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# The set of permissions to check for the `resource`.
|
|
|
|
# Corresponds to the JSON property `permissions`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :permissions
|
|
|
|
|
|
|
|
# Required. The resource for which the permissions are being requested.
|
|
|
|
# Corresponds to the JSON property `resource`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :resource
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@permissions = args[:permissions] if args.key?(:permissions)
|
|
|
|
@resource = args[:resource] if args.key?(:resource)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Response message for `TestPermissions` method.
|
|
|
|
class SasPortalTestPermissionsResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
# A set of permissions that the caller is allowed.
|
|
|
|
# Corresponds to the JSON property `permissions`
|
|
|
|
# @return [Array<String>]
|
|
|
|
attr_accessor :permissions
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@permissions = args[:permissions] if args.key?(:permissions)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request for UpdateSignedDevice method.
|
|
|
|
class SasPortalUpdateSignedDeviceRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. The JSON Web Token signed using a CPI private key. Payload must be
|
|
|
|
# the JSON encoding of the device. The user_id field must be set.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `encodedDevice`
|
|
|
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :encoded_device
|
|
|
|
|
|
|
|
# Required. Unique installer ID (CPI ID) from the Certified Professional
|
|
|
|
# Installers database.
|
|
|
|
# Corresponds to the JSON property `installerId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :installer_id
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@encoded_device = args[:encoded_device] if args.key?(:encoded_device)
|
|
|
|
@installer_id = args[:installer_id] if args.key?(:installer_id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Request for ValidateInstaller method.
|
|
|
|
class SasPortalValidateInstallerRequest
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. JSON Web Token signed using a CPI private key. Payload must include
|
|
|
|
# a "secret" claim whose value is the secret.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `encodedSecret`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :encoded_secret
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Required. Unique installer id (cpiId) from the Certified Professional
|
|
|
|
# Installers database.
|
2019-12-19 00:37:21 +00:00
|
|
|
# Corresponds to the JSON property `installerId`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :installer_id
|
|
|
|
|
|
|
|
# Required. Secret returned by the GenerateSecret method.
|
|
|
|
# Corresponds to the JSON property `secret`
|
|
|
|
# @return [String]
|
|
|
|
attr_accessor :secret
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
@encoded_secret = args[:encoded_secret] if args.key?(:encoded_secret)
|
|
|
|
@installer_id = args[:installer_id] if args.key?(:installer_id)
|
|
|
|
@secret = args[:secret] if args.key?(:secret)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-08-04 00:38:33 +00:00
|
|
|
# Response for ValidateInstaller method] [spectrum.sas.portal.v1alpha1.
|
|
|
|
# DeviceManager.ValidateInstaller].
|
2019-12-19 00:37:21 +00:00
|
|
|
class SasPortalValidateInstallerResponse
|
|
|
|
include Google::Apis::Core::Hashable
|
|
|
|
|
|
|
|
def initialize(**args)
|
|
|
|
update!(**args)
|
|
|
|
end
|
|
|
|
|
|
|
|
# Update properties of this object
|
|
|
|
def update!(**args)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|