google-apis-servicemanagement_v1 0.5.0 → 0.10.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: 828507bca8d8d0165462c3ac4c91c08a051d3b0a7119d9a2cc48c0bc39bc4a69
4
- data.tar.gz: df4d59b5c096a0b4072ca057da8f06c61ed6d8316c3378d07d1a2d21957ce561
3
+ metadata.gz: 0f27912d721b5690618f04be06e480703a5ffb50ffcce17d7a83c35c8d1dcd6c
4
+ data.tar.gz: 4c562989a6a26ca9afc92d4f5bd6a08da71fb6dfb8ebf9518ef616966e2d387b
5
5
  SHA512:
6
- metadata.gz: d76a247aa480936846ba16c9e1be13da0031b64164fc0b4004563e0a07380a0f6e578ca0af208001949bd33255fa14236ed7ccac2eca723a816aa2c3b0d86a75
7
- data.tar.gz: 11e5a07c366af4faafe258e5399dd9a546a8c62066a43e9572373515e8b9f88819e9ccc3b4919b4f49c1ea5d17e487ef276956d9ee7964e708425e4c8f9ff8f8
6
+ metadata.gz: 2e30d1d411ef3b5fb2d781973fdae5aa064be00572f71e07ad83618e89dc3a601a3ff0ea0150a22ccc8d21c2835d4bc6007649430a7568e191feaa2320107dd1
7
+ data.tar.gz: 43e864e84c5e5106cf72d41bc5a30178b898cfdeedfc4381ec13114b9eb94fdeb094eb958a152dfda921d149f6dfe69cd6c50de84a8317687866d4fc2ea2cba1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-servicemanagement_v1
2
2
 
3
+ ### v0.10.0 (2021-05-25)
4
+
5
+ * Regenerated from discovery document revision 20210521
6
+
7
+ ### v0.9.0 (2021-05-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.8.0 (2021-05-08)
12
+
13
+ * Regenerated from discovery document revision 20210430
14
+
15
+ ### v0.7.0 (2021-03-30)
16
+
17
+ * Regenerated from discovery document revision 20210326
18
+
19
+ ### v0.6.0 (2021-03-23)
20
+
21
+ * Regenerated from discovery document revision 20210319
22
+
3
23
  ### v0.5.0 (2021-03-17)
4
24
 
5
25
  * Regenerated from discovery document revision 20210311
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1'
33
33
 
34
- # View and manage your data across Google Cloud Platform services
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 an API. Example
304
- # for an API targeted for external use: name: calendar.googleapis.com
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
 
@@ -443,12 +445,6 @@ module Google
443
445
  # @return [String]
444
446
  attr_accessor :jwt_audience
445
447
 
446
- # Minimum deadline in seconds needed for this method. Calls having deadline
447
- # value lower than this will be rejected.
448
- # Corresponds to the JSON property `minDeadline`
449
- # @return [Float]
450
- attr_accessor :min_deadline
451
-
452
448
  # The number of seconds to wait for the completion of a long running operation.
453
449
  # The default is no deadline.
454
450
  # Corresponds to the JSON property `operationDeadline`
@@ -489,7 +485,6 @@ module Google
489
485
  @deadline = args[:deadline] if args.key?(:deadline)
490
486
  @disable_auth = args[:disable_auth] if args.key?(:disable_auth)
491
487
  @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
492
- @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
493
488
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
494
489
  @path_translation = args[:path_translation] if args.key?(:path_translation)
495
490
  @protocol = args[:protocol] if args.key?(:protocol)
@@ -1138,28 +1133,6 @@ module Google
1138
1133
  end
1139
1134
  end
1140
1135
 
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
1136
  # Operation payload for EnableService method.
1164
1137
  class EnableServiceResponse
1165
1138
  include Google::Apis::Core::Hashable
@@ -1173,26 +1146,21 @@ module Google
1173
1146
  end
1174
1147
  end
1175
1148
 
1176
- # `Endpoint` describes a network endpoint of a service that serves a set of APIs.
1177
- # It is commonly known as a service endpoint. A service may expose any number
1178
- # of service endpoints, and all service endpoints share the same service
1179
- # definition, such as quota limits and monitoring metrics. Example service
1180
- # configuration: name: library-example.googleapis.com endpoints: # Below entry
1181
- # makes 'google.example.library.v1.Library' # API be served from endpoint
1182
- # address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to
1183
- # be passed to the backend, for # it to decide whether the subsequent cross-
1184
- # origin request is # allowed to proceed. - name: library-example.googleapis.com
1185
- # allow_cors: true
1149
+ # `Endpoint` describes a network address of a service that serves a set of APIs.
1150
+ # It is commonly known as a service endpoint. A service may expose any number of
1151
+ # service endpoints, and all service endpoints share the same service definition,
1152
+ # such as quota limits and monitoring metrics. Example: type: google.api.
1153
+ # Service name: library-example.googleapis.com endpoints: # Declares network
1154
+ # address `https://library-example.googleapis.com` # for service `library-
1155
+ # example.googleapis.com`. The `https` scheme # is implicit for all service
1156
+ # endpoints. Other schemes may be # supported in the future. - name: library-
1157
+ # example.googleapis.com allow_cors: false - name: content-staging-library-
1158
+ # example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API
1159
+ # frontend, for it # to decide whether the subsequent cross-origin request is
1160
+ # allowed # to proceed. allow_cors: true
1186
1161
  class Endpoint
1187
1162
  include Google::Apis::Core::Hashable
1188
1163
 
1189
- # DEPRECATED: This field is no longer supported. Instead of using aliases,
1190
- # please specify multiple google.api.Endpoint for each of the intended aliases.
1191
- # Additional names that this endpoint will be hosted on.
1192
- # Corresponds to the JSON property `aliases`
1193
- # @return [Array<String>]
1194
- attr_accessor :aliases
1195
-
1196
1164
  # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1197
1165
  # aka cross-domain traffic, would allow the backends served from this endpoint
1198
1166
  # to receive and respond to HTTP OPTIONS requests. The response will be used by
@@ -1222,7 +1190,6 @@ module Google
1222
1190
 
1223
1191
  # Update properties of this object
1224
1192
  def update!(**args)
1225
- @aliases = args[:aliases] if args.key?(:aliases)
1226
1193
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1227
1194
  @name = args[:name] if args.key?(:name)
1228
1195
  @target = args[:target] if args.key?(:target)
@@ -3148,13 +3115,16 @@ module Google
3148
3115
  end
3149
3116
  end
3150
3117
 
3151
- # `Service` is the root object of Google service configuration schema. It
3152
- # describes basic information about a service, such as the name and the title,
3153
- # and delegates other aspects to sub-sections. Each sub-section is either a
3154
- # proto message or a repeated proto message that configures a specific aspect,
3155
- # such as auth. See each proto message definition for details. Example: type:
3156
- # google.api.Service name: calendar.googleapis.com title: Google Calendar API
3157
- # apis: - name: google.calendar.v3.Calendar authentication: providers: - id:
3118
+ # `Service` is the root object of Google API service configuration (service
3119
+ # config). It describes the basic information about a logical service, such as
3120
+ # the service name and the user-facing title, and delegates other aspects to sub-
3121
+ # sections. Each sub-section is either a proto message or a repeated proto
3122
+ # message that configures a specific aspect, such as auth. For more information,
3123
+ # see each proto message definition. Example: type: google.api.Service name:
3124
+ # calendar.googleapis.com title: Google Calendar API apis: - name: google.
3125
+ # calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
3126
+ # restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
3127
+ # address: calendar.example.com authentication: providers: - id:
3158
3128
  # google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3159
3129
  # issuer: https://securetoken.google.com rules: - selector: "*" requirements:
3160
3130
  # provider_id: google_calendar_auth
@@ -3170,11 +3140,13 @@ module Google
3170
3140
  # @return [Array<Google::Apis::ServicemanagementV1::Api>]
3171
3141
  attr_accessor :apis
3172
3142
 
3173
- # `Authentication` defines the authentication configuration for an API. Example
3174
- # for an API targeted for external use: name: calendar.googleapis.com
3143
+ # `Authentication` defines the authentication configuration for API methods
3144
+ # provided by an API service. Example: name: calendar.googleapis.com
3175
3145
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
3176
3146
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
3177
- # selector: "*" requirements: provider_id: google_calendar_auth
3147
+ # selector: "*" requirements: provider_id: google_calendar_auth - selector:
3148
+ # google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
3149
+ # auth/calendar.read
3178
3150
  # Corresponds to the JSON property `authentication`
3179
3151
  # @return [Google::Apis::ServicemanagementV1::Authentication]
3180
3152
  attr_accessor :authentication
@@ -3203,7 +3175,8 @@ module Google
3203
3175
  # @return [Google::Apis::ServicemanagementV1::Billing]
3204
3176
  attr_accessor :billing
3205
3177
 
3206
- # Deprecated. The service config compiler always sets this field to `3`.
3178
+ # Obsolete. Do not use. This field has no semantic meaning. The service config
3179
+ # compiler always sets this field to `3`.
3207
3180
  # Corresponds to the JSON property `configVersion`
3208
3181
  # @return [Fixnum]
3209
3182
  attr_accessor :config_version
@@ -3658,13 +3631,16 @@ module Google
3658
3631
  class SubmitConfigSourceResponse
3659
3632
  include Google::Apis::Core::Hashable
3660
3633
 
3661
- # `Service` is the root object of Google service configuration schema. It
3662
- # describes basic information about a service, such as the name and the title,
3663
- # and delegates other aspects to sub-sections. Each sub-section is either a
3664
- # proto message or a repeated proto message that configures a specific aspect,
3665
- # such as auth. See each proto message definition for details. Example: type:
3666
- # google.api.Service name: calendar.googleapis.com title: Google Calendar API
3667
- # apis: - name: google.calendar.v3.Calendar authentication: providers: - id:
3634
+ # `Service` is the root object of Google API service configuration (service
3635
+ # config). It describes the basic information about a logical service, such as
3636
+ # the service name and the user-facing title, and delegates other aspects to sub-
3637
+ # sections. Each sub-section is either a proto message or a repeated proto
3638
+ # message that configures a specific aspect, such as auth. For more information,
3639
+ # see each proto message definition. Example: type: google.api.Service name:
3640
+ # calendar.googleapis.com title: Google Calendar API apis: - name: google.
3641
+ # calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
3642
+ # restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
3643
+ # address: calendar.example.com authentication: providers: - id:
3668
3644
  # google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3669
3645
  # issuer: https://securetoken.google.com rules: - selector: "*" requirements:
3670
3646
  # 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.5.0"
19
+ GEM_VERSION = "0.10.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 = "20210311"
25
+ REVISION = "20210521"
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
 
@@ -649,7 +643,6 @@ module Google
649
643
  property :deadline, as: 'deadline'
650
644
  property :disable_auth, as: 'disableAuth'
651
645
  property :jwt_audience, as: 'jwtAudience'
652
- property :min_deadline, as: 'minDeadline'
653
646
  property :operation_deadline, as: 'operationDeadline'
654
647
  property :path_translation, as: 'pathTranslation'
655
648
  property :protocol, as: 'protocol'
@@ -817,13 +810,6 @@ module Google
817
810
  end
818
811
  end
819
812
 
820
- class EnableServiceRequest
821
- # @private
822
- class Representation < Google::Apis::Core::JsonRepresentation
823
- property :consumer_id, as: 'consumerId'
824
- end
825
- end
826
-
827
813
  class EnableServiceResponse
828
814
  # @private
829
815
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -833,7 +819,6 @@ module Google
833
819
  class Endpoint
834
820
  # @private
835
821
  class Representation < Google::Apis::Core::JsonRepresentation
836
- collection :aliases, as: 'aliases'
837
822
  property :allow_cors, as: 'allowCors'
838
823
  property :name, as: 'name'
839
824
  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. **BETA:** If the caller specifies the `consumer_id`, it
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.5.0
4
+ version: 0.10.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-22 00:00:00.000000000 Z
11
+ date: 2021-05-31 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.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.10.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
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