google-apis-servicemanagement_v1 0.18.0 → 0.21.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 +14 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/servicemanagement_v1/classes.rb +22 -23
- data/lib/google/apis/servicemanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/servicemanagement_v1/representations.rb +0 -12
- data/lib/google/apis/servicemanagement_v1/service.rb +33 -25
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2351d998ad2d9643bf71cab36b455128a9412fa22a630dfbfaefc13336f7ebd1
|
4
|
+
data.tar.gz: 4b621d9be3da878942f3a0409e38157bb22b3e6948dbc26e09bded82a8179f77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f33bab6f0a66352e9c22fe1d60920a9256f4239bb26b9112ded4a09184a8ac01d35a2f00597a10b2f289f0035a62279e3dc0d316556afb5c1bd53f8f57edf88
|
7
|
+
data.tar.gz: 5b8ff4bfaf1dc03c731a3ee6ea1c4288223fc2de726cf5c622ec1e2e335469a92411d1816f7d235108b7fa3f8ce23821b3cf84734414c6263e53cfcad6cfd7e2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-servicemanagement_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-04-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220401
|
6
|
+
|
7
|
+
### v0.20.0 (2022-02-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220218
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.19.0 (2022-01-06)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211230
|
15
|
+
* Unspecified changes
|
16
|
+
|
3
17
|
### v0.18.0 (2021-11-10)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20211105
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/servicemanagement_v1"
|
|
51
51
|
client = Google::Apis::ServicemanagementV1::ServiceManagementService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -867,13 +867,20 @@ module Google
|
|
867
867
|
end
|
868
868
|
|
869
869
|
# Selects and configures the service controller used by the service. The service
|
870
|
-
# controller handles
|
871
|
-
#
|
870
|
+
# controller handles two things: - **What is allowed:** for each API request,
|
871
|
+
# Chemist checks the project status, activation status, abuse status, billing
|
872
|
+
# status, service status, location restrictions, VPC Service Controls,
|
873
|
+
# SuperQuota, and other policies. - **What has happened:** for each API response,
|
874
|
+
# Chemist reports the telemetry data to analytics, auditing, billing, eventing,
|
875
|
+
# logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
|
876
|
+
# not associated with API traffic, such as billing metrics. Example: control:
|
877
|
+
# environment: servicecontrol.googleapis.com
|
872
878
|
class Control
|
873
879
|
include Google::Apis::Core::Hashable
|
874
880
|
|
875
|
-
# The service
|
876
|
-
# like quota and billing) will be enabled.
|
881
|
+
# The service controller environment to use. If empty, no control plane feature (
|
882
|
+
# like quota and billing) will be enabled. The recommended value for most
|
883
|
+
# services is servicecontrol.googleapis.com
|
877
884
|
# Corresponds to the JSON property `environment`
|
878
885
|
# @return [String]
|
879
886
|
attr_accessor :environment
|
@@ -1138,19 +1145,6 @@ module Google
|
|
1138
1145
|
end
|
1139
1146
|
end
|
1140
1147
|
|
1141
|
-
# Operation payload for EnableService method.
|
1142
|
-
class EnableServiceResponse
|
1143
|
-
include Google::Apis::Core::Hashable
|
1144
|
-
|
1145
|
-
def initialize(**args)
|
1146
|
-
update!(**args)
|
1147
|
-
end
|
1148
|
-
|
1149
|
-
# Update properties of this object
|
1150
|
-
def update!(**args)
|
1151
|
-
end
|
1152
|
-
end
|
1153
|
-
|
1154
1148
|
# `Endpoint` describes a network address of a service that serves a set of APIs.
|
1155
1149
|
# It is commonly known as a service endpoint. A service may expose any number of
|
1156
1150
|
# service endpoints, and all service endpoints share the same service definition,
|
@@ -2082,8 +2076,8 @@ module Google
|
|
2082
2076
|
# @return [String]
|
2083
2077
|
attr_accessor :producer_project_id
|
2084
2078
|
|
2085
|
-
# The name of the service. See the [overview](/service-
|
2086
|
-
# naming requirements.
|
2079
|
+
# The name of the service. See the [overview](https://cloud.google.com/service-
|
2080
|
+
# management/overview) for naming requirements.
|
2087
2081
|
# Corresponds to the JSON property `serviceName`
|
2088
2082
|
# @return [String]
|
2089
2083
|
attr_accessor :service_name
|
@@ -3104,8 +3098,7 @@ module Google
|
|
3104
3098
|
# @return [String]
|
3105
3099
|
attr_accessor :create_time
|
3106
3100
|
|
3107
|
-
#
|
3108
|
-
# field.
|
3101
|
+
# The user who created the Rollout. Readonly.
|
3109
3102
|
# Corresponds to the JSON property `createdBy`
|
3110
3103
|
# @return [String]
|
3111
3104
|
attr_accessor :created_by
|
@@ -3251,8 +3244,14 @@ module Google
|
|
3251
3244
|
attr_accessor :context
|
3252
3245
|
|
3253
3246
|
# Selects and configures the service controller used by the service. The service
|
3254
|
-
# controller handles
|
3255
|
-
#
|
3247
|
+
# controller handles two things: - **What is allowed:** for each API request,
|
3248
|
+
# Chemist checks the project status, activation status, abuse status, billing
|
3249
|
+
# status, service status, location restrictions, VPC Service Controls,
|
3250
|
+
# SuperQuota, and other policies. - **What has happened:** for each API response,
|
3251
|
+
# Chemist reports the telemetry data to analytics, auditing, billing, eventing,
|
3252
|
+
# logging, monitoring, sawmill, and tracing. Chemist also accepts telemetry data
|
3253
|
+
# not associated with API traffic, such as billing metrics. Example: control:
|
3254
|
+
# environment: servicecontrol.googleapis.com
|
3256
3255
|
# Corresponds to the JSON property `control`
|
3257
3256
|
# @return [Google::Apis::ServicemanagementV1::Control]
|
3258
3257
|
attr_accessor :control
|
@@ -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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220401"
|
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 EnableServiceResponse
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
-
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
197
|
-
end
|
198
|
-
|
199
193
|
class Endpoint
|
200
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
195
|
|
@@ -816,12 +810,6 @@ module Google
|
|
816
810
|
end
|
817
811
|
end
|
818
812
|
|
819
|
-
class EnableServiceResponse
|
820
|
-
# @private
|
821
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
-
end
|
823
|
-
end
|
824
|
-
|
825
813
|
class Endpoint
|
826
814
|
# @private
|
827
815
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -171,8 +171,9 @@ module Google
|
|
171
171
|
# UndeleteService to restore the service. After 30 days, the service will be
|
172
172
|
# permanently deleted. Operation
|
173
173
|
# @param [String] service_name
|
174
|
-
# Required. The name of the service. See the [overview](/
|
175
|
-
# overview) for naming requirements. For example: `example.
|
174
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
175
|
+
# service-management/overview) for naming requirements. For example: `example.
|
176
|
+
# googleapis.com`.
|
176
177
|
# @param [String] fields
|
177
178
|
# Selector specifying which fields to include in a partial response.
|
178
179
|
# @param [String] quota_user
|
@@ -272,8 +273,9 @@ module Google
|
|
272
273
|
|
273
274
|
# Gets a service configuration (version) for a managed service.
|
274
275
|
# @param [String] service_name
|
275
|
-
# Required. The name of the service. See the [overview](/
|
276
|
-
# overview) for naming requirements. For example: `example.
|
276
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
277
|
+
# service-management/overview) for naming requirements. For example: `example.
|
278
|
+
# googleapis.com`.
|
277
279
|
# @param [String] config_id
|
278
280
|
# Required. The id of the service configuration resource. This field must be
|
279
281
|
# specified for the server to return all fields, including `SourceInfo`.
|
@@ -465,8 +467,9 @@ module Google
|
|
465
467
|
# service must exist and must have been deleted within the last 30 days.
|
466
468
|
# Operation
|
467
469
|
# @param [String] service_name
|
468
|
-
# Required. The name of the service. See the [overview](/
|
469
|
-
# overview) for naming requirements. For example: `example.
|
470
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
471
|
+
# service-management/overview) for naming requirements. For example: `example.
|
472
|
+
# googleapis.com`.
|
470
473
|
# @param [String] fields
|
471
474
|
# Selector specifying which fields to include in a partial response.
|
472
475
|
# @param [String] quota_user
|
@@ -500,8 +503,9 @@ module Google
|
|
500
503
|
# 100 most recent service configurations and ones referenced by existing
|
501
504
|
# rollouts are kept for each service. The rest will be deleted eventually.
|
502
505
|
# @param [String] service_name
|
503
|
-
# Required. The name of the service. See the [overview](/
|
504
|
-
# overview) for naming requirements. For example: `example.
|
506
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
507
|
+
# service-management/overview) for naming requirements. For example: `example.
|
508
|
+
# googleapis.com`.
|
505
509
|
# @param [Google::Apis::ServicemanagementV1::Service] service_object
|
506
510
|
# @param [String] fields
|
507
511
|
# Selector specifying which fields to include in a partial response.
|
@@ -534,8 +538,9 @@ module Google
|
|
534
538
|
|
535
539
|
# Gets a service configuration (version) for a managed service.
|
536
540
|
# @param [String] service_name
|
537
|
-
# Required. The name of the service. See the [overview](/
|
538
|
-
# overview) for naming requirements. For example: `example.
|
541
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
542
|
+
# service-management/overview) for naming requirements. For example: `example.
|
543
|
+
# googleapis.com`.
|
539
544
|
# @param [String] config_id
|
540
545
|
# Required. The id of the service configuration resource. This field must be
|
541
546
|
# specified for the server to return all fields, including `SourceInfo`.
|
@@ -573,8 +578,9 @@ module Google
|
|
573
578
|
# Lists the history of the service configuration for a managed service, from the
|
574
579
|
# newest to the oldest.
|
575
580
|
# @param [String] service_name
|
576
|
-
# Required. The name of the service. See the [overview](/
|
577
|
-
# overview) for naming requirements. For example: `example.
|
581
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
582
|
+
# service-management/overview) for naming requirements. For example: `example.
|
583
|
+
# googleapis.com`.
|
578
584
|
# @param [Fixnum] page_size
|
579
585
|
# The max number of items to include in the response list. Page size is 50 if
|
580
586
|
# not specified. Maximum value is 100.
|
@@ -617,8 +623,9 @@ module Google
|
|
617
623
|
# ones referenced by existing service configurtions are kept for each service.
|
618
624
|
# The rest will be deleted eventually. Operation
|
619
625
|
# @param [String] service_name
|
620
|
-
# Required. The name of the service. See the [overview](/
|
621
|
-
# overview) for naming requirements. For example: `example.
|
626
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
627
|
+
# service-management/overview) for naming requirements. For example: `example.
|
628
|
+
# googleapis.com`.
|
622
629
|
# @param [Google::Apis::ServicemanagementV1::SubmitConfigSourceRequest] submit_config_source_request_object
|
623
630
|
# @param [String] fields
|
624
631
|
# Selector specifying which fields to include in a partial response.
|
@@ -768,8 +775,9 @@ module Google
|
|
768
775
|
# set of 100 most recent) rollouts are kept for each service. The rest will be
|
769
776
|
# deleted eventually. Operation
|
770
777
|
# @param [String] service_name
|
771
|
-
# Required. The name of the service. See the [overview](/
|
772
|
-
# overview) for naming requirements. For example: `example.
|
778
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
779
|
+
# service-management/overview) for naming requirements. For example: `example.
|
780
|
+
# googleapis.com`.
|
773
781
|
# @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object
|
774
782
|
# @param [String] fields
|
775
783
|
# Selector specifying which fields to include in a partial response.
|
@@ -802,8 +810,9 @@ module Google
|
|
802
810
|
|
803
811
|
# Gets a service configuration rollout.
|
804
812
|
# @param [String] service_name
|
805
|
-
# Required. The name of the service. See the [overview](/
|
806
|
-
# overview) for naming requirements. For example: `example.
|
813
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
814
|
+
# service-management/overview) for naming requirements. For example: `example.
|
815
|
+
# googleapis.com`.
|
807
816
|
# @param [String] rollout_id
|
808
817
|
# Required. The id of the rollout resource.
|
809
818
|
# @param [String] fields
|
@@ -837,15 +846,14 @@ module Google
|
|
837
846
|
# Lists the history of the service configuration rollouts for a managed service,
|
838
847
|
# from the newest to the oldest.
|
839
848
|
# @param [String] service_name
|
840
|
-
# Required. The name of the service. See the [overview](/
|
841
|
-
# overview) for naming requirements. For example: `example.
|
849
|
+
# Required. The name of the service. See the [overview](https://cloud.google.com/
|
850
|
+
# service-management/overview) for naming requirements. For example: `example.
|
851
|
+
# googleapis.com`.
|
842
852
|
# @param [String] filter
|
843
853
|
# Required. Use `filter` to return subset of rollouts. The following filters are
|
844
|
-
# supported: -- To limit the results to only those in
|
845
|
-
#
|
846
|
-
#
|
847
|
-
# RolloutStatus) 'CANCELLED' or 'FAILED', use filter='status=CANCELLED OR status=
|
848
|
-
# FAILED'
|
854
|
+
# supported: -- To limit the results to only those in status 'SUCCESS', use
|
855
|
+
# filter='status=SUCCESS' -- To limit the results to those in status 'CANCELLED'
|
856
|
+
# or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
|
849
857
|
# @param [Fixnum] page_size
|
850
858
|
# The max number of items to include in the response list. Page size is 50 if
|
851
859
|
# not specified. Maximum value is 100.
|
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.21.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:
|
11
|
+
date: 2022-04-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-servicemanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Service Management API V1
|