google-apis-prod_tt_sasportal_v1alpha1 0.39.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 841fb83b364a96b1b96cef763edff378a5ac364fd53075b2937d101796966299
4
- data.tar.gz: 7b0ea2ee94e6af97f18ab3e62dbacbb4fec521350f1425a3ced123c0192c0592
3
+ metadata.gz: f0469c7d77ec27780159657def1a7ccb416f23e5058845533361f0ba2cb83d66
4
+ data.tar.gz: b4c4ccd7aa149b0e5add0e58f71e3dd09ccccdebcbe953ccc4f1132a84cc5c38
5
5
  SHA512:
6
- metadata.gz: 420cdf6d8d022e2f1bb19c1456d58b7e6a7785d2173be2a482a5e47e12c1ed8654936f1a1b749d711f0133d1387c3dc4d3435dd4515460869ad56928b671055a
7
- data.tar.gz: 7d1d53ffd56dae8f454cb041a69cc304a8bbfc126882babf8fb54d7c3454f8d6560922ead5bd55d307c1bfadf3b50ee72e8741640b6c0a2c2bf7d80aa3ebb01b
6
+ metadata.gz: eb78f282312a0aa9029f8316437b8a41a02b63b1d6251a6bd06b009773c5b866cbd83a914f6c9e90c7b5e823b260d41f2e06c5e05937419c4414ece89d7adfbf
7
+ data.tar.gz: 6491cda7fa0d398f260096204ddea3fc2d0dc75c1cb522fe0b16739fec0fb9324da10b2f20fd9aadf59379de78e7ead2947f57853e526ff436e6dc2650860d8f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-prod_tt_sasportal_v1alpha1
2
2
 
3
+ ### v0.40.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240120
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.39.0 (2023-12-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20231219
@@ -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::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::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. IDs of legacy SAS organizations.
898
- # Corresponds to the JSON property `organizationIds`
899
- # @return [Array<Fixnum>]
900
- attr_accessor :organization_ids
923
+ # Optional. Legacy SAS organizations.
924
+ # Corresponds to the JSON property `organizations`
925
+ # @return [Array<Google::Apis::ProdTtSasportalV1alpha1::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
- @organization_ids = args[:organization_ids] if args.key?(:organization_ids)
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 ProdTtSasportalV1alpha1
18
18
  # Version of the google-apis-prod_tt_sasportal_v1alpha1 gem
19
- GEM_VERSION = "0.39.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.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231219"
25
+ REVISION = "20240120"
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::ProdTtSasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::SasPortalGcpProjectDeployment, decorator: Google::Apis::ProdTtSasportalV1alpha1::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 :organization_ids, as: 'organizationIds'
577
+ collection :organizations, as: 'organizations', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalOrganization, decorator: Google::Apis::ProdTtSasportalV1alpha1::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 SASPortalTestingService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://prod-tt-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('https://prod-tt-sasportal.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-prod_tt_sasportal_v1alpha1',
48
50
  client_version: Google::Apis::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse] parsed result object
63
- # @yieldparam err [StandardError] error object if request failed
64
- #
65
- # @return [Google::Apis::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse::Representation
73
- command.response_class = Google::Apis::ProdTtSasportalV1alpha1::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
- # Checks whether account is legacy.
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::ProdTtSasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse] parsed result object
130
+ # @yieldparam err [StandardError] error object if request failed
131
+ #
132
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::SasPortalListGcpProjectDeploymentsResponse::Representation
140
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::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-prod_tt_sasportal_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.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: 2023-12-24 00:00:00.000000000 Z
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.11.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.11.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-prod_tt_sasportal_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-prod_tt_sasportal_v1alpha1/v0.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-prod_tt_sasportal_v1alpha1/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-prod_tt_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.4.19
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 (Testing) V1alpha1