google-apis-sasportal_v1alpha1 0.39.0 → 0.41.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: 310032810f9bb46937b6d7239f6a978d4012ee9a5ae5cca9807a0faa84de1a87
4
- data.tar.gz: 32d681f26945ba877a0567924190e6fd7c85cf76f0edbca7cddb3acd44cdaabe
3
+ metadata.gz: 4695db6d960621535d0a321e70fab33d22e450248ffe99d48d14b2b5309c9146
4
+ data.tar.gz: 35703bf32de7d7edf0b68203c5b9d7f6f836964275c521f2495deedda81c5d90
5
5
  SHA512:
6
- metadata.gz: e0fbb2b26e6905c3d521054aa7427bd8644f8335439802e4cfced1ba143ccd54791d853aa9d6baab54ed095522bbd04a62894340602f9fe142f9f92e42052455
7
- data.tar.gz: c7118b312653367a89d35d7159278facf33ce021f6e8cfcbbb24f4e4b0727148384d0b1628c492a24a3607f9479b72a6a945dd00a5bd8b7980c66d5c3cc9b5f6
6
+ metadata.gz: e60d390b35da8b5223b96094aad4dc04b8594324cce2cf8bf5fd37bae2d02f5fcdc5ce2c5c901af417d3fb2dac6a416b7a74fb396a517f54fa35a0f483f8f7ba
7
+ data.tar.gz: cf95d327e757313a4530da801ddce98bf9644a52e41b12c24b689e3023f432ad004da2a6e0b4554272612a45799516c7d2fb1a5647c2368531592b7d41d788dc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-sasportal_v1alpha1
2
2
 
3
+ ### v0.41.0 (2024-02-23)
4
+
5
+ * Regenerated from discovery document revision 20240218
6
+
7
+ ### v0.40.0 (2024-02-11)
8
+
9
+ * Regenerated from discovery document revision 20240201
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.39.0 (2024-01-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240110
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/spectrum-access-system
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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
@@ -243,7 +222,8 @@ module Google
243
222
  attr_accessor :display_name
244
223
 
245
224
  # The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid
246
- # for FccID format.
225
+ # for FccID format. Accept underscores and periods because some test-SAS
226
+ # customers use them.
247
227
  # Corresponds to the JSON property `fccId`
248
228
  # @return [String]
249
229
  attr_accessor :fcc_id
@@ -633,6 +613,33 @@ module Google
633
613
  end
634
614
  end
635
615
 
616
+ # Deployment associated with the GCP project. Includes whether SAS analytics has
617
+ # been enabled or not.
618
+ class SasPortalGcpProjectDeployment
619
+ include Google::Apis::Core::Hashable
620
+
621
+ # The Deployment.
622
+ # Corresponds to the JSON property `deployment`
623
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalDeployment]
624
+ attr_accessor :deployment
625
+
626
+ # Whether SAS analytics has been enabled.
627
+ # Corresponds to the JSON property `hasEnabledAnalytics`
628
+ # @return [Boolean]
629
+ attr_accessor :has_enabled_analytics
630
+ alias_method :has_enabled_analytics?, :has_enabled_analytics
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ @deployment = args[:deployment] if args.key?(:deployment)
639
+ @has_enabled_analytics = args[:has_enabled_analytics] if args.key?(:has_enabled_analytics)
640
+ end
641
+ end
642
+
636
643
  # Request for GenerateSecret.
637
644
  class SasPortalGenerateSecretRequest
638
645
  include Google::Apis::Core::Hashable
@@ -890,6 +897,25 @@ module Google
890
897
  end
891
898
  end
892
899
 
900
+ # Response for [ListGcpProjectDeployments].
901
+ class SasPortalListGcpProjectDeploymentsResponse
902
+ include Google::Apis::Core::Hashable
903
+
904
+ # Optional. Deployments associated with the GCP project
905
+ # Corresponds to the JSON property `deployments`
906
+ # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalGcpProjectDeployment>]
907
+ attr_accessor :deployments
908
+
909
+ def initialize(**args)
910
+ update!(**args)
911
+ end
912
+
913
+ # Update properties of this object
914
+ def update!(**args)
915
+ @deployments = args[:deployments] if args.key?(:deployments)
916
+ end
917
+ end
918
+
893
919
  # Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.
894
920
  # Provisioning.ListLegacyOrganizations].
895
921
  class SasPortalListLegacyOrganizationsResponse
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240110"
25
+ REVISION = "20240218"
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
 
@@ -333,13 +339,6 @@ module Google
333
339
  end
334
340
  end
335
341
 
336
- class SasPortalCheckHasProvisionedDeploymentResponse
337
- # @private
338
- class Representation < Google::Apis::Core::JsonRepresentation
339
- property :has_provisioned_deployment, as: 'hasProvisionedDeployment'
340
- end
341
- end
342
-
343
342
  class SasPortalCreateSignedDeviceRequest
344
343
  # @private
345
344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -488,6 +487,15 @@ module Google
488
487
  end
489
488
  end
490
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
+
491
499
  class SasPortalGenerateSecretRequest
492
500
  # @private
493
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +563,14 @@ module Google
555
563
  end
556
564
  end
557
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
+
558
574
  class SasPortalListLegacyOrganizationsResponse
559
575
  # @private
560
576
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,33 +51,6 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Checks whether a SAS deployment for the authentication context exists.
55
- # @param [String] fields
56
- # Selector specifying which fields to include in a partial response.
57
- # @param [String] quota_user
58
- # Available to use for quota purposes for server-side applications. Can be any
59
- # arbitrary string assigned to a user, but should not exceed 40 characters.
60
- # @param [Google::Apis::RequestOptions] options
61
- # Request-specific options
62
- #
63
- # @yield [result, err] Result & error if block supplied
64
- # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse] parsed result object
65
- # @yieldparam err [StandardError] error object if request failed
66
- #
67
- # @return [Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse]
68
- #
69
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
70
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
- # @raise [Google::Apis::AuthorizationError] Authorization is required
72
- def check_customer_has_provisioned_deployment(fields: nil, quota_user: nil, options: nil, &block)
73
- command = make_simple_command(:get, 'v1alpha1/customers:checkHasProvisionedDeployment', options)
74
- command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse::Representation
75
- command.response_class = Google::Apis::SasportalV1alpha1::SasPortalCheckHasProvisionedDeploymentResponse
76
- command.query['fields'] = fields unless fields.nil?
77
- command.query['quotaUser'] = quota_user unless quota_user.nil?
78
- execute_or_queue_command(command, &block)
79
- end
80
-
81
54
  # Returns a requested customer.
82
55
  # @param [String] name
83
56
  # Required. The name of the customer.
@@ -142,7 +115,35 @@ module Google
142
115
  execute_or_queue_command(command, &block)
143
116
  end
144
117
 
145
- # 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::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.
146
147
  # @param [String] fields
147
148
  # Selector specifying which fields to include in a partial response.
148
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.39.0
4
+ version: 0.41.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: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-25 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.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.41.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for SAS Portal API V1alpha1