google-apis-sasportal_v1alpha1 0.37.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/sasportal_v1alpha1/classes.rb +47 -1
- data/lib/google/apis/sasportal_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/sasportal_v1alpha1/representations.rb +28 -0
- data/lib/google/apis/sasportal_v1alpha1/service.rb +30 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 310032810f9bb46937b6d7239f6a978d4012ee9a5ae5cca9807a0faa84de1a87
|
4
|
+
data.tar.gz: 32d681f26945ba877a0567924190e6fd7c85cf76f0edbca7cddb3acd44cdaabe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0fbb2b26e6905c3d521054aa7427bd8644f8335439802e4cfced1ba143ccd54791d853aa9d6baab54ed095522bbd04a62894340602f9fe142f9f92e42052455
|
7
|
+
data.tar.gz: c7118b312653367a89d35d7159278facf33ce021f6e8cfcbbb24f4e4b0727148384d0b1628c492a24a3607f9479b72a6a945dd00a5bd8b7980c66d5c3cc9b5f6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-sasportal_v1alpha1
|
2
2
|
|
3
|
+
### v0.39.0 (2024-01-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240110
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.38.0 (2023-12-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20231220
|
11
|
+
|
3
12
|
### v0.37.0 (2023-11-19)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231109
|
@@ -242,7 +242,8 @@ module Google
|
|
242
242
|
# @return [String]
|
243
243
|
attr_accessor :display_name
|
244
244
|
|
245
|
-
# The FCC identifier of the device.
|
245
|
+
# The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid
|
246
|
+
# for FccID format.
|
246
247
|
# Corresponds to the JSON property `fccId`
|
247
248
|
# @return [String]
|
248
249
|
attr_accessor :fcc_id
|
@@ -889,6 +890,26 @@ module Google
|
|
889
890
|
end
|
890
891
|
end
|
891
892
|
|
893
|
+
# Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.
|
894
|
+
# Provisioning.ListLegacyOrganizations].
|
895
|
+
class SasPortalListLegacyOrganizationsResponse
|
896
|
+
include Google::Apis::Core::Hashable
|
897
|
+
|
898
|
+
# Optional. Legacy SAS organizations.
|
899
|
+
# Corresponds to the JSON property `organizations`
|
900
|
+
# @return [Array<Google::Apis::SasportalV1alpha1::SasPortalOrganization>]
|
901
|
+
attr_accessor :organizations
|
902
|
+
|
903
|
+
def initialize(**args)
|
904
|
+
update!(**args)
|
905
|
+
end
|
906
|
+
|
907
|
+
# Update properties of this object
|
908
|
+
def update!(**args)
|
909
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
892
913
|
# Response for ListNodes.
|
893
914
|
class SasPortalListNodesResponse
|
894
915
|
include Google::Apis::Core::Hashable
|
@@ -1174,6 +1195,31 @@ module Google
|
|
1174
1195
|
end
|
1175
1196
|
end
|
1176
1197
|
|
1198
|
+
# Organization details.
|
1199
|
+
class SasPortalOrganization
|
1200
|
+
include Google::Apis::Core::Hashable
|
1201
|
+
|
1202
|
+
# Name of organization
|
1203
|
+
# Corresponds to the JSON property `displayName`
|
1204
|
+
# @return [String]
|
1205
|
+
attr_accessor :display_name
|
1206
|
+
|
1207
|
+
# Id of organization
|
1208
|
+
# Corresponds to the JSON property `id`
|
1209
|
+
# @return [Fixnum]
|
1210
|
+
attr_accessor :id
|
1211
|
+
|
1212
|
+
def initialize(**args)
|
1213
|
+
update!(**args)
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
# Update properties of this object
|
1217
|
+
def update!(**args)
|
1218
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1219
|
+
@id = args[:id] if args.key?(:id)
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1177
1223
|
# Defines an access control policy to the resources.
|
1178
1224
|
class SasPortalPolicy
|
1179
1225
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SasportalV1alpha1
|
18
18
|
# Version of the google-apis-sasportal_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240110"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class SasPortalListLegacyOrganizationsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class SasPortalListNodesResponse
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -220,6 +226,12 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
229
|
+
class SasPortalOrganization
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class SasPortalPolicy
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
@@ -543,6 +555,14 @@ module Google
|
|
543
555
|
end
|
544
556
|
end
|
545
557
|
|
558
|
+
class SasPortalListLegacyOrganizationsResponse
|
559
|
+
# @private
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
561
|
+
collection :organizations, as: 'organizations', class: Google::Apis::SasportalV1alpha1::SasPortalOrganization, decorator: Google::Apis::SasportalV1alpha1::SasPortalOrganization::Representation
|
562
|
+
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
546
566
|
class SasPortalListNodesResponse
|
547
567
|
# @private
|
548
568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -627,6 +647,14 @@ module Google
|
|
627
647
|
end
|
628
648
|
end
|
629
649
|
|
650
|
+
class SasPortalOrganization
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :display_name, as: 'displayName'
|
654
|
+
property :id, :numeric_string => true, as: 'id'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
630
658
|
class SasPortalPolicy
|
631
659
|
# @private
|
632
660
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -32,6 +32,8 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://developers.google.com/spectrum-access-system/
|
34
34
|
class SasportalService < Google::Apis::Core::BaseService
|
35
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://sasportal.$UNIVERSE_DOMAIN$/"
|
36
|
+
|
35
37
|
# @return [String]
|
36
38
|
# API key. Your API key identifies your project and provides you with API access,
|
37
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -43,7 +45,7 @@ module Google
|
|
43
45
|
attr_accessor :quota_user
|
44
46
|
|
45
47
|
def initialize
|
46
|
-
super(
|
48
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
47
49
|
client_name: 'google-apis-sasportal_v1alpha1',
|
48
50
|
client_version: Google::Apis::SasportalV1alpha1::GEM_VERSION)
|
49
51
|
@batch_path = 'batch'
|
@@ -140,6 +142,33 @@ module Google
|
|
140
142
|
execute_or_queue_command(command, &block)
|
141
143
|
end
|
142
144
|
|
145
|
+
# Checks whether account is legacy.
|
146
|
+
# @param [String] fields
|
147
|
+
# Selector specifying which fields to include in a partial response.
|
148
|
+
# @param [String] quota_user
|
149
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
150
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
151
|
+
# @param [Google::Apis::RequestOptions] options
|
152
|
+
# Request-specific options
|
153
|
+
#
|
154
|
+
# @yield [result, err] Result & error if block supplied
|
155
|
+
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse] parsed result object
|
156
|
+
# @yieldparam err [StandardError] error object if request failed
|
157
|
+
#
|
158
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse]
|
159
|
+
#
|
160
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
161
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
162
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
163
|
+
def list_customer_legacy_organizations(fields: nil, quota_user: nil, options: nil, &block)
|
164
|
+
command = make_simple_command(:get, 'v1alpha1/customers:listLegacyOrganizations', options)
|
165
|
+
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse::Representation
|
166
|
+
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse
|
167
|
+
command.query['fields'] = fields unless fields.nil?
|
168
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
169
|
+
execute_or_queue_command(command, &block)
|
170
|
+
end
|
171
|
+
|
143
172
|
# Migrates a SAS organization to the cloud. This will create GCP projects for
|
144
173
|
# each deployment and associate them. The SAS Organization is linked to the gcp
|
145
174
|
# project that called the command. go/sas-legacy-customer-migration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sasportal_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.12.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sasportal_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.39.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sasportal_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for SAS Portal API V1alpha1
|