google-apis-servicemanagement_v1 0.3.0 → 0.8.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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/servicemanagement_v1.rb +1 -1
- data/lib/google/apis/servicemanagement_v1/classes.rb +44 -74
- data/lib/google/apis/servicemanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/servicemanagement_v1/representations.rb +0 -26
- data/lib/google/apis/servicemanagement_v1/service.rb +1 -39
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6e0fe21afd059dd5c6f4fdee4cf1ad1079c72c337590ac7b8d00bba6d0379bb
|
4
|
+
data.tar.gz: b50ce1b0b38f93733a8350adb6da7c0b046def12427d7c35768c7acdb9a835b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a70dac878834441bac1f72bb2adbab62f9d4aa65626a058cdd7da7f1453b916ad8ff7209bde4b0f26251d53e623c213d52928d1d2c169c9664e6887f062c7ca
|
7
|
+
data.tar.gz: 0c73b883aa794cee8d6de35a51f1ddb18507aa85ea4e3a6b2f14f73d42920c9d7a24a961e8f5588f476ab1e2a8658ba992e8b795a6d7f2ee2db3aeb2de4fa7d9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-servicemanagement_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-05-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210430
|
6
|
+
|
7
|
+
### v0.7.0 (2021-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210326
|
10
|
+
|
11
|
+
### v0.6.0 (2021-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
|
15
|
+
### v0.5.0 (2021-03-17)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210311
|
18
|
+
* Regenerated using generator version 0.2.0
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-04)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.3.0 (2021-02-23)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210219
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V1'
|
33
33
|
|
34
|
-
#
|
34
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
|
37
37
|
# View your data across Google Cloud Platform services
|
@@ -300,11 +300,13 @@ module Google
|
|
300
300
|
end
|
301
301
|
end
|
302
302
|
|
303
|
-
# `Authentication` defines the authentication configuration for
|
304
|
-
#
|
303
|
+
# `Authentication` defines the authentication configuration for API methods
|
304
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
305
305
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
306
306
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
307
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
307
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
308
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
309
|
+
# auth/calendar.read
|
308
310
|
class Authentication
|
309
311
|
include Google::Apis::Core::Hashable
|
310
312
|
|
@@ -1020,19 +1022,6 @@ module Google
|
|
1020
1022
|
end
|
1021
1023
|
end
|
1022
1024
|
|
1023
|
-
# Operation payload for DisableService method.
|
1024
|
-
class DisableServiceResponse
|
1025
|
-
include Google::Apis::Core::Hashable
|
1026
|
-
|
1027
|
-
def initialize(**args)
|
1028
|
-
update!(**args)
|
1029
|
-
end
|
1030
|
-
|
1031
|
-
# Update properties of this object
|
1032
|
-
def update!(**args)
|
1033
|
-
end
|
1034
|
-
end
|
1035
|
-
|
1036
1025
|
# `Documentation` provides the information for describing a service. Example:
|
1037
1026
|
# documentation: summary: > The Google Calendar API gives access to most
|
1038
1027
|
# calendar features. pages: - name: Overview content: (== include google/foo/
|
@@ -1151,28 +1140,6 @@ module Google
|
|
1151
1140
|
end
|
1152
1141
|
end
|
1153
1142
|
|
1154
|
-
# Request message for EnableService method.
|
1155
|
-
class EnableServiceRequest
|
1156
|
-
include Google::Apis::Core::Hashable
|
1157
|
-
|
1158
|
-
# Required. The identity of consumer resource which service enablement will be
|
1159
|
-
# applied to. The Google Service Management implementation accepts the following
|
1160
|
-
# forms: - "project:" Note: this is made compatible with google.api.
|
1161
|
-
# servicecontrol.v1.Operation.consumer_id.
|
1162
|
-
# Corresponds to the JSON property `consumerId`
|
1163
|
-
# @return [String]
|
1164
|
-
attr_accessor :consumer_id
|
1165
|
-
|
1166
|
-
def initialize(**args)
|
1167
|
-
update!(**args)
|
1168
|
-
end
|
1169
|
-
|
1170
|
-
# Update properties of this object
|
1171
|
-
def update!(**args)
|
1172
|
-
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
1173
|
-
end
|
1174
|
-
end
|
1175
|
-
|
1176
1143
|
# Operation payload for EnableService method.
|
1177
1144
|
class EnableServiceResponse
|
1178
1145
|
include Google::Apis::Core::Hashable
|
@@ -1186,26 +1153,21 @@ module Google
|
|
1186
1153
|
end
|
1187
1154
|
end
|
1188
1155
|
|
1189
|
-
# `Endpoint` describes a network
|
1190
|
-
# It is commonly known as a service endpoint. A service may expose any number
|
1191
|
-
#
|
1192
|
-
#
|
1193
|
-
#
|
1194
|
-
#
|
1195
|
-
#
|
1196
|
-
#
|
1197
|
-
#
|
1198
|
-
#
|
1156
|
+
# `Endpoint` describes a network address of a service that serves a set of APIs.
|
1157
|
+
# It is commonly known as a service endpoint. A service may expose any number of
|
1158
|
+
# service endpoints, and all service endpoints share the same service definition,
|
1159
|
+
# such as quota limits and monitoring metrics. Example: type: google.api.
|
1160
|
+
# Service name: library-example.googleapis.com endpoints: # Declares network
|
1161
|
+
# address `https://library-example.googleapis.com` # for service `library-
|
1162
|
+
# example.googleapis.com`. The `https` scheme # is implicit for all service
|
1163
|
+
# endpoints. Other schemes may be # supported in the future. - name: library-
|
1164
|
+
# example.googleapis.com allow_cors: false - name: content-staging-library-
|
1165
|
+
# example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API
|
1166
|
+
# frontend, for it # to decide whether the subsequent cross-origin request is
|
1167
|
+
# allowed # to proceed. allow_cors: true
|
1199
1168
|
class Endpoint
|
1200
1169
|
include Google::Apis::Core::Hashable
|
1201
1170
|
|
1202
|
-
# DEPRECATED: This field is no longer supported. Instead of using aliases,
|
1203
|
-
# please specify multiple google.api.Endpoint for each of the intended aliases.
|
1204
|
-
# Additional names that this endpoint will be hosted on.
|
1205
|
-
# Corresponds to the JSON property `aliases`
|
1206
|
-
# @return [Array<String>]
|
1207
|
-
attr_accessor :aliases
|
1208
|
-
|
1209
1171
|
# Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
|
1210
1172
|
# aka cross-domain traffic, would allow the backends served from this endpoint
|
1211
1173
|
# to receive and respond to HTTP OPTIONS requests. The response will be used by
|
@@ -1235,7 +1197,6 @@ module Google
|
|
1235
1197
|
|
1236
1198
|
# Update properties of this object
|
1237
1199
|
def update!(**args)
|
1238
|
-
@aliases = args[:aliases] if args.key?(:aliases)
|
1239
1200
|
@allow_cors = args[:allow_cors] if args.key?(:allow_cors)
|
1240
1201
|
@name = args[:name] if args.key?(:name)
|
1241
1202
|
@target = args[:target] if args.key?(:target)
|
@@ -3161,13 +3122,16 @@ module Google
|
|
3161
3122
|
end
|
3162
3123
|
end
|
3163
3124
|
|
3164
|
-
# `Service` is the root object of Google service configuration
|
3165
|
-
# describes basic information about a service, such as
|
3166
|
-
# and delegates other aspects to sub-
|
3167
|
-
#
|
3168
|
-
#
|
3169
|
-
# google.api.Service name:
|
3170
|
-
#
|
3125
|
+
# `Service` is the root object of Google API service configuration (service
|
3126
|
+
# config). It describes the basic information about a logical service, such as
|
3127
|
+
# the service name and the user-facing title, and delegates other aspects to sub-
|
3128
|
+
# sections. Each sub-section is either a proto message or a repeated proto
|
3129
|
+
# message that configures a specific aspect, such as auth. For more information,
|
3130
|
+
# see each proto message definition. Example: type: google.api.Service name:
|
3131
|
+
# calendar.googleapis.com title: Google Calendar API apis: - name: google.
|
3132
|
+
# calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
|
3133
|
+
# restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
|
3134
|
+
# address: calendar.example.com authentication: providers: - id:
|
3171
3135
|
# google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
3172
3136
|
# issuer: https://securetoken.google.com rules: - selector: "*" requirements:
|
3173
3137
|
# provider_id: google_calendar_auth
|
@@ -3183,11 +3147,13 @@ module Google
|
|
3183
3147
|
# @return [Array<Google::Apis::ServicemanagementV1::Api>]
|
3184
3148
|
attr_accessor :apis
|
3185
3149
|
|
3186
|
-
# `Authentication` defines the authentication configuration for
|
3187
|
-
#
|
3150
|
+
# `Authentication` defines the authentication configuration for API methods
|
3151
|
+
# provided by an API service. Example: name: calendar.googleapis.com
|
3188
3152
|
# authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
|
3189
3153
|
# googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
|
3190
|
-
# selector: "*" requirements: provider_id: google_calendar_auth
|
3154
|
+
# selector: "*" requirements: provider_id: google_calendar_auth - selector:
|
3155
|
+
# google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
|
3156
|
+
# auth/calendar.read
|
3191
3157
|
# Corresponds to the JSON property `authentication`
|
3192
3158
|
# @return [Google::Apis::ServicemanagementV1::Authentication]
|
3193
3159
|
attr_accessor :authentication
|
@@ -3216,7 +3182,8 @@ module Google
|
|
3216
3182
|
# @return [Google::Apis::ServicemanagementV1::Billing]
|
3217
3183
|
attr_accessor :billing
|
3218
3184
|
|
3219
|
-
#
|
3185
|
+
# Obsolete. Do not use. This field has no semantic meaning. The service config
|
3186
|
+
# compiler always sets this field to `3`.
|
3220
3187
|
# Corresponds to the JSON property `configVersion`
|
3221
3188
|
# @return [Fixnum]
|
3222
3189
|
attr_accessor :config_version
|
@@ -3671,13 +3638,16 @@ module Google
|
|
3671
3638
|
class SubmitConfigSourceResponse
|
3672
3639
|
include Google::Apis::Core::Hashable
|
3673
3640
|
|
3674
|
-
# `Service` is the root object of Google service configuration
|
3675
|
-
# describes basic information about a service, such as
|
3676
|
-
# and delegates other aspects to sub-
|
3677
|
-
#
|
3678
|
-
#
|
3679
|
-
# google.api.Service name:
|
3680
|
-
#
|
3641
|
+
# `Service` is the root object of Google API service configuration (service
|
3642
|
+
# config). It describes the basic information about a logical service, such as
|
3643
|
+
# the service name and the user-facing title, and delegates other aspects to sub-
|
3644
|
+
# sections. Each sub-section is either a proto message or a repeated proto
|
3645
|
+
# message that configures a specific aspect, such as auth. For more information,
|
3646
|
+
# see each proto message definition. Example: type: google.api.Service name:
|
3647
|
+
# calendar.googleapis.com title: Google Calendar API apis: - name: google.
|
3648
|
+
# calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
|
3649
|
+
# restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
|
3650
|
+
# address: calendar.example.com authentication: providers: - id:
|
3681
3651
|
# google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
3682
3652
|
# issuer: https://securetoken.google.com rules: - selector: "*" requirements:
|
3683
3653
|
# provider_id: google_calendar_auth
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210430"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -178,12 +178,6 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
-
class DisableServiceResponse
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
181
|
class Documentation
|
188
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
183
|
|
@@ -196,12 +190,6 @@ module Google
|
|
196
190
|
include Google::Apis::Core::JsonObjectSupport
|
197
191
|
end
|
198
192
|
|
199
|
-
class EnableServiceRequest
|
200
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
-
|
202
|
-
include Google::Apis::Core::JsonObjectSupport
|
203
|
-
end
|
204
|
-
|
205
193
|
class EnableServiceResponse
|
206
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
195
|
|
@@ -800,12 +788,6 @@ module Google
|
|
800
788
|
end
|
801
789
|
end
|
802
790
|
|
803
|
-
class DisableServiceResponse
|
804
|
-
# @private
|
805
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
-
end
|
807
|
-
end
|
808
|
-
|
809
791
|
class Documentation
|
810
792
|
# @private
|
811
793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -829,13 +811,6 @@ module Google
|
|
829
811
|
end
|
830
812
|
end
|
831
813
|
|
832
|
-
class EnableServiceRequest
|
833
|
-
# @private
|
834
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
835
|
-
property :consumer_id, as: 'consumerId'
|
836
|
-
end
|
837
|
-
end
|
838
|
-
|
839
814
|
class EnableServiceResponse
|
840
815
|
# @private
|
841
816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -845,7 +820,6 @@ module Google
|
|
845
820
|
class Endpoint
|
846
821
|
# @private
|
847
822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
848
|
-
collection :aliases, as: 'aliases'
|
849
823
|
property :allow_cors, as: 'allowCors'
|
850
824
|
property :name, as: 'name'
|
851
825
|
property :target, as: 'target'
|
@@ -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,
|
@@ -381,9 +345,7 @@ module Google
|
|
381
345
|
|
382
346
|
# Lists managed services. Returns all public services. For authenticated users,
|
383
347
|
# also returns all services the calling user has "servicemanagement.services.get"
|
384
|
-
# permission for.
|
385
|
-
# returns only the services enabled on the consumer. The `consumer_id` must have
|
386
|
-
# the format of "project:`PROJECT-ID`".
|
348
|
+
# permission for.
|
387
349
|
# @param [String] consumer_id
|
388
350
|
# Include services consumed by the specified consumer. The Google Service
|
389
351
|
# Management implementation accepts the following forms: - project:
|
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.8.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-
|
11
|
+
date: 2021-05-18 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.8.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: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Service Management API V1
|