google-apis-servicemanagement_v1 0.5.0 → 0.6.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 +4 -0
- data/lib/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/lib/google/apis/servicemanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/lib/google/apis/servicemanagement_v1/service.rb +0 -36
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ec2516b21e06c340be047e56f6d00b002c8ef95d0d7aafb45853b8c4f76a5b4
|
4
|
+
data.tar.gz: 648fcef34fa70dfe801603a5f8f34d74a79d634bd026a8fca16b14271633f18a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b8b67f47dddb8cb35f384b41dc2bde755340591dcccdb619e240a160f08e0e18144f8b1afd21ae7911df08fb0c10fdaf7bc793aec1c2ecef7fccf23e4c48c5e
|
7
|
+
data.tar.gz: 939ec51aabdf1c95ae70e52ee15ecf6664655eb90cdfedf829def9706de3a86bccfb54d27c40810b82edc93973840078abc3dcf157c9d30883b8d14155c8b624
|
data/CHANGELOG.md
CHANGED
@@ -1138,28 +1138,6 @@ module Google
|
|
1138
1138
|
end
|
1139
1139
|
end
|
1140
1140
|
|
1141
|
-
# Request message for EnableService method.
|
1142
|
-
class EnableServiceRequest
|
1143
|
-
include Google::Apis::Core::Hashable
|
1144
|
-
|
1145
|
-
# Required. The identity of consumer resource which service enablement will be
|
1146
|
-
# applied to. The Google Service Management implementation accepts the following
|
1147
|
-
# forms: - "project:" Note: this is made compatible with google.api.
|
1148
|
-
# servicecontrol.v1.Operation.consumer_id.
|
1149
|
-
# Corresponds to the JSON property `consumerId`
|
1150
|
-
# @return [String]
|
1151
|
-
attr_accessor :consumer_id
|
1152
|
-
|
1153
|
-
def initialize(**args)
|
1154
|
-
update!(**args)
|
1155
|
-
end
|
1156
|
-
|
1157
|
-
# Update properties of this object
|
1158
|
-
def update!(**args)
|
1159
|
-
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
1160
|
-
end
|
1161
|
-
end
|
1162
|
-
|
1163
1141
|
# Operation payload for EnableService method.
|
1164
1142
|
class EnableServiceResponse
|
1165
1143
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicemanagementV1
|
18
18
|
# Version of the google-apis-servicemanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210319"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,12 +190,6 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
-
class EnableServiceRequest
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
-
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
197
|
-
end
|
198
|
-
|
199
193
|
class EnableServiceResponse
|
200
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
195
|
|
@@ -817,13 +811,6 @@ module Google
|
|
817
811
|
end
|
818
812
|
end
|
819
813
|
|
820
|
-
class EnableServiceRequest
|
821
|
-
# @private
|
822
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
-
property :consumer_id, as: 'consumerId'
|
824
|
-
end
|
825
|
-
end
|
826
|
-
|
827
814
|
class EnableServiceResponse
|
828
815
|
# @private
|
829
816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -200,42 +200,6 @@ module Google
|
|
200
200
|
execute_or_queue_command(command, &block)
|
201
201
|
end
|
202
202
|
|
203
|
-
# Enables a service for a project, so it can be used for the project. See [Cloud
|
204
|
-
# Auth Guide](https://cloud.google.com/docs/authentication) for more information.
|
205
|
-
# Operation
|
206
|
-
# @param [String] service_name
|
207
|
-
# Required. Name of the service to enable. Specifying an unknown service name
|
208
|
-
# will cause the request to fail.
|
209
|
-
# @param [Google::Apis::ServicemanagementV1::EnableServiceRequest] enable_service_request_object
|
210
|
-
# @param [String] fields
|
211
|
-
# Selector specifying which fields to include in a partial response.
|
212
|
-
# @param [String] quota_user
|
213
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
214
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
215
|
-
# @param [Google::Apis::RequestOptions] options
|
216
|
-
# Request-specific options
|
217
|
-
#
|
218
|
-
# @yield [result, err] Result & error if block supplied
|
219
|
-
# @yieldparam result [Google::Apis::ServicemanagementV1::Operation] parsed result object
|
220
|
-
# @yieldparam err [StandardError] error object if request failed
|
221
|
-
#
|
222
|
-
# @return [Google::Apis::ServicemanagementV1::Operation]
|
223
|
-
#
|
224
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
225
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
226
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
227
|
-
def enable_service(service_name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
|
-
command = make_simple_command(:post, 'v1/services/{serviceName}:enable', options)
|
229
|
-
command.request_representation = Google::Apis::ServicemanagementV1::EnableServiceRequest::Representation
|
230
|
-
command.request_object = enable_service_request_object
|
231
|
-
command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
|
232
|
-
command.response_class = Google::Apis::ServicemanagementV1::Operation
|
233
|
-
command.params['serviceName'] = service_name unless service_name.nil?
|
234
|
-
command.query['fields'] = fields unless fields.nil?
|
235
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
236
|
-
execute_or_queue_command(command, &block)
|
237
|
-
end
|
238
|
-
|
239
203
|
# Generates and returns a report (errors, warnings and changes from existing
|
240
204
|
# configurations) associated with GenerateConfigReportRequest.new_value If
|
241
205
|
# GenerateConfigReportRequest.old_value is specified,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-servicemanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicemanagement_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicemanagement_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|