google-apis-sasportal_v1alpha1 0.38.0 → 0.40.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 +10 -0
- data/lib/google/apis/sasportal_v1alpha1/classes.rb +78 -27
- data/lib/google/apis/sasportal_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/sasportal_v1alpha1/representations.rb +45 -14
- data/lib/google/apis/sasportal_v1alpha1/service.rb +32 -29
- 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: 97c27cac536b9035aea97eef4ccd6bd9d2be68eed95d6e617aad694777c789ea
|
4
|
+
data.tar.gz: 6b70284bff9b5eb534a27fb82c56ef945e63e8c22fd9c04622b8755f825905c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f3c4fff532b849e6003a72374906f7d0ea45ac4e0acaa5cdef42e50fd52a35b11947ff7b8dcceb3159ff1031fed88d73cd3d215866533dad78d92cea6f17115
|
7
|
+
data.tar.gz: 27be727cbb4f9f164cc7c07ba4f2409c293f282f97d01e081f97b97a61799e046600a334df9312482b6bf03b391435074206d63db2defdd256a6a75f773aca1f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-sasportal_v1alpha1
|
2
2
|
|
3
|
+
### v0.40.0 (2024-02-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240201
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
8
|
+
### v0.39.0 (2024-01-23)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240110
|
11
|
+
* Regenerated using generator version 0.13.0
|
12
|
+
|
3
13
|
### v0.38.0 (2023-12-24)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20231220
|
@@ -75,27 +75,6 @@ module Google
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
# Response for [CheckHasProvisionedDeployment]. [spectrum.sas.portal.v1alpha1.
|
79
|
-
# Provisioning.CheckHasProvisionedDeployment].
|
80
|
-
class SasPortalCheckHasProvisionedDeploymentResponse
|
81
|
-
include Google::Apis::Core::Hashable
|
82
|
-
|
83
|
-
# Whether a SAS deployment for the authentication context exists.
|
84
|
-
# Corresponds to the JSON property `hasProvisionedDeployment`
|
85
|
-
# @return [Boolean]
|
86
|
-
attr_accessor :has_provisioned_deployment
|
87
|
-
alias_method :has_provisioned_deployment?, :has_provisioned_deployment
|
88
|
-
|
89
|
-
def initialize(**args)
|
90
|
-
update!(**args)
|
91
|
-
end
|
92
|
-
|
93
|
-
# Update properties of this object
|
94
|
-
def update!(**args)
|
95
|
-
@has_provisioned_deployment = args[:has_provisioned_deployment] if args.key?(:has_provisioned_deployment)
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
78
|
# Request for CreateSignedDevice.
|
100
79
|
class SasPortalCreateSignedDeviceRequest
|
101
80
|
include Google::Apis::Core::Hashable
|
@@ -242,7 +221,8 @@ module Google
|
|
242
221
|
# @return [String]
|
243
222
|
attr_accessor :display_name
|
244
223
|
|
245
|
-
# The FCC identifier of the device.
|
224
|
+
# The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid
|
225
|
+
# for FccID format.
|
246
226
|
# Corresponds to the JSON property `fccId`
|
247
227
|
# @return [String]
|
248
228
|
attr_accessor :fcc_id
|
@@ -632,6 +612,33 @@ module Google
|
|
632
612
|
end
|
633
613
|
end
|
634
614
|
|
615
|
+
# Deployment associated with the GCP project. Includes whether SAS analytics has
|
616
|
+
# been enabled or not.
|
617
|
+
class SasPortalGcpProjectDeployment
|
618
|
+
include Google::Apis::Core::Hashable
|
619
|
+
|
620
|
+
# The Deployment.
|
621
|
+
# Corresponds to the JSON property `deployment`
|
622
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
|
623
|
+
attr_accessor :deployment
|
624
|
+
|
625
|
+
# Whether SAS analytics has been enabled.
|
626
|
+
# Corresponds to the JSON property `hasEnabledAnalytics`
|
627
|
+
# @return [Boolean]
|
628
|
+
attr_accessor :has_enabled_analytics
|
629
|
+
alias_method :has_enabled_analytics?, :has_enabled_analytics
|
630
|
+
|
631
|
+
def initialize(**args)
|
632
|
+
update!(**args)
|
633
|
+
end
|
634
|
+
|
635
|
+
# Update properties of this object
|
636
|
+
def update!(**args)
|
637
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
638
|
+
@has_enabled_analytics = args[:has_enabled_analytics] if args.key?(:has_enabled_analytics)
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
635
642
|
# Request for GenerateSecret.
|
636
643
|
class SasPortalGenerateSecretRequest
|
637
644
|
include Google::Apis::Core::Hashable
|
@@ -889,15 +896,34 @@ module Google
|
|
889
896
|
end
|
890
897
|
end
|
891
898
|
|
899
|
+
# Response for [ListGcpProjectDeployments].
|
900
|
+
class SasPortalListGcpProjectDeploymentsResponse
|
901
|
+
include Google::Apis::Core::Hashable
|
902
|
+
|
903
|
+
# Optional. Deployments associated with the GCP project
|
904
|
+
# Corresponds to the JSON property `deployments`
|
905
|
+
# @return [Array<Google::Apis::SasportalV1alpha1::SasPortalGcpProjectDeployment>]
|
906
|
+
attr_accessor :deployments
|
907
|
+
|
908
|
+
def initialize(**args)
|
909
|
+
update!(**args)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Update properties of this object
|
913
|
+
def update!(**args)
|
914
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
915
|
+
end
|
916
|
+
end
|
917
|
+
|
892
918
|
# Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.
|
893
919
|
# Provisioning.ListLegacyOrganizations].
|
894
920
|
class SasPortalListLegacyOrganizationsResponse
|
895
921
|
include Google::Apis::Core::Hashable
|
896
922
|
|
897
|
-
# Optional.
|
898
|
-
# Corresponds to the JSON property `
|
899
|
-
# @return [Array<
|
900
|
-
attr_accessor :
|
923
|
+
# Optional. Legacy SAS organizations.
|
924
|
+
# Corresponds to the JSON property `organizations`
|
925
|
+
# @return [Array<Google::Apis::SasportalV1alpha1::SasPortalOrganization>]
|
926
|
+
attr_accessor :organizations
|
901
927
|
|
902
928
|
def initialize(**args)
|
903
929
|
update!(**args)
|
@@ -905,7 +931,7 @@ module Google
|
|
905
931
|
|
906
932
|
# Update properties of this object
|
907
933
|
def update!(**args)
|
908
|
-
@
|
934
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
909
935
|
end
|
910
936
|
end
|
911
937
|
|
@@ -1194,6 +1220,31 @@ module Google
|
|
1194
1220
|
end
|
1195
1221
|
end
|
1196
1222
|
|
1223
|
+
# Organization details.
|
1224
|
+
class SasPortalOrganization
|
1225
|
+
include Google::Apis::Core::Hashable
|
1226
|
+
|
1227
|
+
# Name of organization
|
1228
|
+
# Corresponds to the JSON property `displayName`
|
1229
|
+
# @return [String]
|
1230
|
+
attr_accessor :display_name
|
1231
|
+
|
1232
|
+
# Id of organization
|
1233
|
+
# Corresponds to the JSON property `id`
|
1234
|
+
# @return [Fixnum]
|
1235
|
+
attr_accessor :id
|
1236
|
+
|
1237
|
+
def initialize(**args)
|
1238
|
+
update!(**args)
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# Update properties of this object
|
1242
|
+
def update!(**args)
|
1243
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1244
|
+
@id = args[:id] if args.key?(:id)
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1197
1248
|
# Defines an access control policy to the resources.
|
1198
1249
|
class SasPortalPolicy
|
1199
1250
|
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.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,12 +34,6 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class SasPortalCheckHasProvisionedDeploymentResponse
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
37
|
class SasPortalCreateSignedDeviceRequest
|
44
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
39
|
|
@@ -118,6 +112,12 @@ module Google
|
|
118
112
|
include Google::Apis::Core::JsonObjectSupport
|
119
113
|
end
|
120
114
|
|
115
|
+
class SasPortalGcpProjectDeployment
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
121
|
class SasPortalGenerateSecretRequest
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class SasPortalListGcpProjectDeploymentsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class SasPortalListLegacyOrganizationsResponse
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -226,6 +232,12 @@ module Google
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
235
|
+
class SasPortalOrganization
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
229
241
|
class SasPortalPolicy
|
230
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
243
|
|
@@ -327,13 +339,6 @@ module Google
|
|
327
339
|
end
|
328
340
|
end
|
329
341
|
|
330
|
-
class SasPortalCheckHasProvisionedDeploymentResponse
|
331
|
-
# @private
|
332
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
333
|
-
property :has_provisioned_deployment, as: 'hasProvisionedDeployment'
|
334
|
-
end
|
335
|
-
end
|
336
|
-
|
337
342
|
class SasPortalCreateSignedDeviceRequest
|
338
343
|
# @private
|
339
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -482,6 +487,15 @@ module Google
|
|
482
487
|
end
|
483
488
|
end
|
484
489
|
|
490
|
+
class SasPortalGcpProjectDeployment
|
491
|
+
# @private
|
492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
493
|
+
property :deployment, as: 'deployment', class: Google::Apis::SasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
|
494
|
+
|
495
|
+
property :has_enabled_analytics, as: 'hasEnabledAnalytics'
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
485
499
|
class SasPortalGenerateSecretRequest
|
486
500
|
# @private
|
487
501
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -549,10 +563,19 @@ module Google
|
|
549
563
|
end
|
550
564
|
end
|
551
565
|
|
566
|
+
class SasPortalListGcpProjectDeploymentsResponse
|
567
|
+
# @private
|
568
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
569
|
+
collection :deployments, as: 'deployments', class: Google::Apis::SasportalV1alpha1::SasPortalGcpProjectDeployment, decorator: Google::Apis::SasportalV1alpha1::SasPortalGcpProjectDeployment::Representation
|
570
|
+
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
552
574
|
class SasPortalListLegacyOrganizationsResponse
|
553
575
|
# @private
|
554
576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
-
collection :
|
577
|
+
collection :organizations, as: 'organizations', class: Google::Apis::SasportalV1alpha1::SasPortalOrganization, decorator: Google::Apis::SasportalV1alpha1::SasPortalOrganization::Representation
|
578
|
+
|
556
579
|
end
|
557
580
|
end
|
558
581
|
|
@@ -640,6 +663,14 @@ module Google
|
|
640
663
|
end
|
641
664
|
end
|
642
665
|
|
666
|
+
class SasPortalOrganization
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
property :display_name, as: 'displayName'
|
670
|
+
property :id, :numeric_string => true, as: 'id'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
643
674
|
class SasPortalPolicy
|
644
675
|
# @private
|
645
676
|
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,39 +45,12 @@ 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'
|
50
52
|
end
|
51
53
|
|
52
|
-
# Checks whether a SAS deployment for the authentication context exists.
|
53
|
-
# @param [String] fields
|
54
|
-
# Selector specifying which fields to include in a partial response.
|
55
|
-
# @param [String] quota_user
|
56
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
57
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
58
|
-
# @param [Google::Apis::RequestOptions] options
|
59
|
-
# Request-specific options
|
60
|
-
#
|
61
|
-
# @yield [result, err] Result & error if block supplied
|
62
|
-
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse] parsed result object
|
63
|
-
# @yieldparam err [StandardError] error object if request failed
|
64
|
-
#
|
65
|
-
# @return [Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse]
|
66
|
-
#
|
67
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
-
def check_customer_has_provisioned_deployment(fields: nil, quota_user: nil, options: nil, &block)
|
71
|
-
command = make_simple_command(:get, 'v1alpha1/customers:checkHasProvisionedDeployment', options)
|
72
|
-
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse::Representation
|
73
|
-
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse
|
74
|
-
command.query['fields'] = fields unless fields.nil?
|
75
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
76
|
-
execute_or_queue_command(command, &block)
|
77
|
-
end
|
78
|
-
|
79
54
|
# Returns a requested customer.
|
80
55
|
# @param [String] name
|
81
56
|
# Required. The name of the customer.
|
@@ -140,7 +115,35 @@ module Google
|
|
140
115
|
execute_or_queue_command(command, &block)
|
141
116
|
end
|
142
117
|
|
143
|
-
#
|
118
|
+
# Returns a list of SAS deployments associated with current GCP project.
|
119
|
+
# Includes whether SAS analytics has been enabled or not.
|
120
|
+
# @param [String] fields
|
121
|
+
# Selector specifying which fields to include in a partial response.
|
122
|
+
# @param [String] quota_user
|
123
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
124
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
125
|
+
# @param [Google::Apis::RequestOptions] options
|
126
|
+
# Request-specific options
|
127
|
+
#
|
128
|
+
# @yield [result, err] Result & error if block supplied
|
129
|
+
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse] parsed result object
|
130
|
+
# @yieldparam err [StandardError] error object if request failed
|
131
|
+
#
|
132
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse]
|
133
|
+
#
|
134
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
135
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
136
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
137
|
+
def list_customer_gcp_project_deployments(fields: nil, quota_user: nil, options: nil, &block)
|
138
|
+
command = make_simple_command(:get, 'v1alpha1/customers:listGcpProjectDeployments', options)
|
139
|
+
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse::Representation
|
140
|
+
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse
|
141
|
+
command.query['fields'] = fields unless fields.nil?
|
142
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
143
|
+
execute_or_queue_command(command, &block)
|
144
|
+
end
|
145
|
+
|
146
|
+
# Returns a list of legacy organizations.
|
144
147
|
# @param [String] fields
|
145
148
|
# Selector specifying which fields to include in a partial response.
|
146
149
|
# @param [String] quota_user
|
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.40.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-02-11 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.40.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
|