google-apis-sasportal_v1alpha1 0.39.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 310032810f9bb46937b6d7239f6a978d4012ee9a5ae5cca9807a0faa84de1a87
4
- data.tar.gz: 32d681f26945ba877a0567924190e6fd7c85cf76f0edbca7cddb3acd44cdaabe
3
+ metadata.gz: 97c27cac536b9035aea97eef4ccd6bd9d2be68eed95d6e617aad694777c789ea
4
+ data.tar.gz: 6b70284bff9b5eb534a27fb82c56ef945e63e8c22fd9c04622b8755f825905c4
5
5
  SHA512:
6
- metadata.gz: e0fbb2b26e6905c3d521054aa7427bd8644f8335439802e4cfced1ba143ccd54791d853aa9d6baab54ed095522bbd04a62894340602f9fe142f9f92e42052455
7
- data.tar.gz: c7118b312653367a89d35d7159278facf33ce021f6e8cfcbbb24f4e4b0727148384d0b1628c492a24a3607f9479b72a6a945dd00a5bd8b7980c66d5c3cc9b5f6
6
+ metadata.gz: 7f3c4fff532b849e6003a72374906f7d0ea45ac4e0acaa5cdef42e50fd52a35b11947ff7b8dcceb3159ff1031fed88d73cd3d215866533dad78d92cea6f17115
7
+ data.tar.gz: 27be727cbb4f9f164cc7c07ba4f2409c293f282f97d01e081f97b97a61799e046600a334df9312482b6bf03b391435074206d63db2defdd256a6a75f773aca1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.39.0 (2024-01-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240110
@@ -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
@@ -633,6 +612,33 @@ module Google
633
612
  end
634
613
  end
635
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
+
636
642
  # Request for GenerateSecret.
637
643
  class SasPortalGenerateSecretRequest
638
644
  include Google::Apis::Core::Hashable
@@ -890,6 +896,25 @@ module Google
890
896
  end
891
897
  end
892
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
+
893
918
  # Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.
894
919
  # Provisioning.ListLegacyOrganizations].
895
920
  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.40.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 = "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
 
@@ -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.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: 2024-01-23 00:00:00.000000000 Z
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
@@ -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.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: []