google-apis-sasportal_v1alpha1 0.30.0 → 0.32.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: 110e1792a68fc8fed3d2b0ec1f571b8eae77e268e38ce864337c38c4b9e39086
4
- data.tar.gz: e751d8858f68753c0c2af7aaae6d5f921d3aaf7a2ff46d502ac51259b45bba12
3
+ metadata.gz: 7df930197bcbc599e75efe3d843cb2bfc628bedfe21bb3934ddd8dc70591b205
4
+ data.tar.gz: f4423dd3390343746b8351d5f1bec4a2b178f693fc088b524c36232a5794dd2b
5
5
  SHA512:
6
- metadata.gz: 39114796eb7df4d2a33c02d38cf9f7c0772ecf17706788766c4e135eae4859696877797e0bbf1055aa3d95a01e356439093c216f0ba947f90972d87609169a00
7
- data.tar.gz: 8285908b4ac99ca9647f5a8eab29a0ac728bc9c0c789c19b0bbb1e55f99e7c81625d01bae7d935d7732d858a9dfaeb18a71d1e78d121a4e81a5b02d0e87ace16
6
+ metadata.gz: 9cc05576896f7cca81f32a180370e0ea52aef674ac9fb05b41e078c22dbd4108c65bbff70c571b03ef2ad632dd7040df70e69f321b7310ea12370c4a4d95c84f
7
+ data.tar.gz: 8068fc2d92d9a2a7c5718972e305b4780f985523b2c4da89521861b79768cde4dfe603f364ac652603ce90ff13f9128dd6bda36bcdfe1c87f819334525d13e46
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sasportal_v1alpha1
2
2
 
3
+ ### v0.32.0 (2023-03-12)
4
+
5
+ * Regenerated from discovery document revision 20230309
6
+
7
+ ### v0.31.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230219
10
+
3
11
  ### v0.30.0 (2023-02-19)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -1111,6 +1111,56 @@ module Google
1111
1111
  end
1112
1112
  end
1113
1113
 
1114
+ # Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.
1115
+ # ProvisionDeployment]. GCP Project, Organization Info, and caller’s GAIA ID
1116
+ # should be retrieved from the RPC handler, and used as inputs to create a new
1117
+ # SAS organization (if not exists) and a new SAS deployment.
1118
+ class SasPortalProvisionDeploymentRequest
1119
+ include Google::Apis::Core::Hashable
1120
+
1121
+ # Optional. If this field is set, and a new SAS Portal Deployment needs to be
1122
+ # created, its display name will be set to the value of this field.
1123
+ # Corresponds to the JSON property `newDeploymentDisplayName`
1124
+ # @return [String]
1125
+ attr_accessor :new_deployment_display_name
1126
+
1127
+ # Optional. If this field is set, and a new SAS Portal Organization needs to be
1128
+ # created, its display name will be set to the value of this field.
1129
+ # Corresponds to the JSON property `newOrganizationDisplayName`
1130
+ # @return [String]
1131
+ attr_accessor :new_organization_display_name
1132
+
1133
+ def initialize(**args)
1134
+ update!(**args)
1135
+ end
1136
+
1137
+ # Update properties of this object
1138
+ def update!(**args)
1139
+ @new_deployment_display_name = args[:new_deployment_display_name] if args.key?(:new_deployment_display_name)
1140
+ @new_organization_display_name = args[:new_organization_display_name] if args.key?(:new_organization_display_name)
1141
+ end
1142
+ end
1143
+
1144
+ # Response for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.
1145
+ # ProvisionDeployment].
1146
+ class SasPortalProvisionDeploymentResponse
1147
+ include Google::Apis::Core::Hashable
1148
+
1149
+ # Optional. Optional error message if the provisioning request is not successful.
1150
+ # Corresponds to the JSON property `errorMessage`
1151
+ # @return [String]
1152
+ attr_accessor :error_message
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @error_message = args[:error_message] if args.key?(:error_message)
1161
+ end
1162
+ end
1163
+
1114
1164
  # Request message for `SetPolicy` method.
1115
1165
  class SasPortalSetPolicyRequest
1116
1166
  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.30.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230105"
25
+ REVISION = "20230309"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,18 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class SasPortalProvisionDeploymentRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SasPortalProvisionDeploymentResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class SasPortalSetPolicyRequest
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -541,6 +553,21 @@ module Google
541
553
  end
542
554
  end
543
555
 
556
+ class SasPortalProvisionDeploymentRequest
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :new_deployment_display_name, as: 'newDeploymentDisplayName'
560
+ property :new_organization_display_name, as: 'newOrganizationDisplayName'
561
+ end
562
+ end
563
+
564
+ class SasPortalProvisionDeploymentResponse
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :error_message, as: 'errorMessage'
568
+ end
569
+ end
570
+
544
571
  class SasPortalSetPolicyRequest
545
572
  # @private
546
573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -149,6 +149,37 @@ module Google
149
149
  execute_or_queue_command(command, &block)
150
150
  end
151
151
 
152
+ # Creates a new SAS deployment through the GCP workflow. Creates a SAS
153
+ # organization if an organization match is not found.
154
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentRequest] sas_portal_provision_deployment_request_object
155
+ # @param [String] fields
156
+ # Selector specifying which fields to include in a partial response.
157
+ # @param [String] quota_user
158
+ # Available to use for quota purposes for server-side applications. Can be any
159
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
160
+ # @param [Google::Apis::RequestOptions] options
161
+ # Request-specific options
162
+ #
163
+ # @yield [result, err] Result & error if block supplied
164
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse] parsed result object
165
+ # @yieldparam err [StandardError] error object if request failed
166
+ #
167
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse]
168
+ #
169
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
170
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
171
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
172
+ def provision_customer_deployment(sas_portal_provision_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
173
+ command = make_simple_command(:post, 'v1alpha1/customers:provisionDeployment', options)
174
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentRequest::Representation
175
+ command.request_object = sas_portal_provision_deployment_request_object
176
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse::Representation
177
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse
178
+ command.query['fields'] = fields unless fields.nil?
179
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
180
+ execute_or_queue_command(command, &block)
181
+ end
182
+
152
183
  # Creates a new deployment.
153
184
  # @param [String] parent
154
185
  # Required. The parent resource name where the deployment is to be created.
@@ -29,6 +29,9 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1alpha1'
31
31
 
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
+
32
35
  # Read, create, update, and delete your SAS Portal data.
33
36
  AUTH_SASPORTAL = 'https://www.googleapis.com/auth/sasportal'
34
37
  end
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.30.0
4
+ version: 0.32.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-12 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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.32.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: []