google-api-client 0.22.0 → 0.23.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 +30 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +59 -1
- data/generated/google/apis/appengine_v1/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +97 -12
- data/generated/google/apis/compute_alpha/representations.rb +23 -0
- data/generated/google/apis/compute_alpha/service.rb +41 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1616 -43
- data/generated/google/apis/compute_beta/representations.rb +685 -20
- data/generated/google/apis/compute_beta/service.rb +1286 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +184 -3
- data/generated/google/apis/compute_v1/representations.rb +43 -0
- data/generated/google/apis/compute_v1/service.rb +108 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +805 -102
- data/generated/google/apis/content_v2/representations.rb +393 -26
- data/generated/google/apis/content_v2/service.rb +242 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
- data/generated/google/apis/content_v2sandbox/service.rb +242 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +280 -2
- data/generated/google/apis/dlp_v2/representations.rb +120 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +5 -3
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -8
- data/generated/google/apis/pubsub_v1/service.rb +4 -8
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +7 -8
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +2 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +34 -0
- data/generated/google/apis/tpu_v1/classes.rb +736 -0
- data/generated/google/apis/tpu_v1/representations.rb +316 -0
- data/generated/google/apis/tpu_v1/service.rb +687 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
- data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/photoslibrary_v1.rb +0 -49
- data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
- data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
- data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV2alpha1
|
27
27
|
VERSION = 'V2alpha1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180528'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -65,6 +65,12 @@ module Google
|
|
65
65
|
# @return [Array<String>]
|
66
66
|
attr_accessor :commands
|
67
67
|
|
68
|
+
# Secret holds encrypted information that is only decrypted and stored in RAM
|
69
|
+
# by the worker VM when running the pipeline.
|
70
|
+
# Corresponds to the JSON property `credentials`
|
71
|
+
# @return [Google::Apis::GenomicsV2alpha1::Secret]
|
72
|
+
attr_accessor :credentials
|
73
|
+
|
68
74
|
# If specified, overrides the ENTRYPOINT specified in the container.
|
69
75
|
# Corresponds to the JSON property `entrypoint`
|
70
76
|
# @return [String]
|
@@ -158,6 +164,7 @@ module Google
|
|
158
164
|
# Update properties of this object
|
159
165
|
def update!(**args)
|
160
166
|
@commands = args[:commands] if args.key?(:commands)
|
167
|
+
@credentials = args[:credentials] if args.key?(:credentials)
|
161
168
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
162
169
|
@environment = args[:environment] if args.key?(:environment)
|
163
170
|
@flags = args[:flags] if args.key?(:flags)
|
@@ -1087,6 +1094,34 @@ module Google
|
|
1087
1094
|
end
|
1088
1095
|
end
|
1089
1096
|
|
1097
|
+
# Secret holds encrypted information that is only decrypted and stored in RAM
|
1098
|
+
# by the worker VM when running the pipeline.
|
1099
|
+
class Secret
|
1100
|
+
include Google::Apis::Core::Hashable
|
1101
|
+
|
1102
|
+
# The value of the cipherText response from the `encrypt` method.
|
1103
|
+
# Corresponds to the JSON property `cipherText`
|
1104
|
+
# @return [String]
|
1105
|
+
attr_accessor :cipher_text
|
1106
|
+
|
1107
|
+
# The name of the Cloud KMS key that will be used to decrypt the secret
|
1108
|
+
# value. The VM service account must have the required permissions and
|
1109
|
+
# authentication scopes to invoke the `decrypt` method on the specified key.
|
1110
|
+
# Corresponds to the JSON property `keyName`
|
1111
|
+
# @return [String]
|
1112
|
+
attr_accessor :key_name
|
1113
|
+
|
1114
|
+
def initialize(**args)
|
1115
|
+
update!(**args)
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# Update properties of this object
|
1119
|
+
def update!(**args)
|
1120
|
+
@cipher_text = args[:cipher_text] if args.key?(:cipher_text)
|
1121
|
+
@key_name = args[:key_name] if args.key?(:key_name)
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1090
1125
|
# Carries information about a Google Cloud Service Account.
|
1091
1126
|
class ServiceAccount
|
1092
1127
|
include Google::Apis::Core::Hashable
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class Secret
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class ServiceAccount
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -238,6 +244,8 @@ module Google
|
|
238
244
|
# @private
|
239
245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
240
246
|
collection :commands, as: 'commands'
|
247
|
+
property :credentials, as: 'credentials', class: Google::Apis::GenomicsV2alpha1::Secret, decorator: Google::Apis::GenomicsV2alpha1::Secret::Representation
|
248
|
+
|
241
249
|
property :entrypoint, as: 'entrypoint'
|
242
250
|
hash :environment, as: 'environment'
|
243
251
|
collection :flags, as: 'flags'
|
@@ -489,6 +497,14 @@ module Google
|
|
489
497
|
end
|
490
498
|
end
|
491
499
|
|
500
|
+
class Secret
|
501
|
+
# @private
|
502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
503
|
+
property :cipher_text, as: 'cipherText'
|
504
|
+
property :key_name, as: 'keyName'
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
492
508
|
class ServiceAccount
|
493
509
|
# @private
|
494
510
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
26
26
|
module LoggingV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180531'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -859,8 +859,8 @@ module Google
|
|
859
859
|
# Required. An advanced logs filter that matches the log entries to be excluded.
|
860
860
|
# By using the sample function, you can exclude less than 100% of the matching
|
861
861
|
# log entries. For example, the following filter matches 99% of low-severity log
|
862
|
-
# entries from load balancers:
|
863
|
-
#
|
862
|
+
# entries from load balancers:"resource.type=http_load_balancer severity<ERROR
|
863
|
+
# sample(insertId, 0.99)"
|
864
864
|
# Corresponds to the JSON property `filter`
|
865
865
|
# @return [String]
|
866
866
|
attr_accessor :filter
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
28
28
|
module MonitoringV3
|
29
29
|
VERSION = 'V3'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180529'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1485,6 +1485,12 @@ module Google
|
|
1485
1485
|
class ListTimeSeriesResponse
|
1486
1486
|
include Google::Apis::Core::Hashable
|
1487
1487
|
|
1488
|
+
# Query execution errors that may have caused the time series data returned to
|
1489
|
+
# be incomplete.
|
1490
|
+
# Corresponds to the JSON property `executionErrors`
|
1491
|
+
# @return [Array<Google::Apis::MonitoringV3::Status>]
|
1492
|
+
attr_accessor :execution_errors
|
1493
|
+
|
1488
1494
|
# If there are more results than have been returned, then this field is set to a
|
1489
1495
|
# non-empty value. To see the additional results, use that value as pageToken in
|
1490
1496
|
# the next call to this method.
|
@@ -1503,6 +1509,7 @@ module Google
|
|
1503
1509
|
|
1504
1510
|
# Update properties of this object
|
1505
1511
|
def update!(**args)
|
1512
|
+
@execution_errors = args[:execution_errors] if args.key?(:execution_errors)
|
1506
1513
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1507
1514
|
@time_series = args[:time_series] if args.key?(:time_series)
|
1508
1515
|
end
|
@@ -749,6 +749,8 @@ module Google
|
|
749
749
|
class ListTimeSeriesResponse
|
750
750
|
# @private
|
751
751
|
class Representation < Google::Apis::Core::JsonRepresentation
|
752
|
+
collection :execution_errors, as: 'executionErrors', class: Google::Apis::MonitoringV3::Status, decorator: Google::Apis::MonitoringV3::Status::Representation
|
753
|
+
|
752
754
|
property :next_page_token, as: 'nextPageToken'
|
753
755
|
collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation
|
754
756
|
|
@@ -1260,9 +1260,11 @@ module Google
|
|
1260
1260
|
# Unsupported: must be left blank. The points in each time series are returned
|
1261
1261
|
# in reverse time order.
|
1262
1262
|
# @param [Fixnum] page_size
|
1263
|
-
# A positive number that is the maximum number of results to return.
|
1264
|
-
#
|
1265
|
-
#
|
1263
|
+
# A positive number that is the maximum number of results to return. If
|
1264
|
+
# page_size is empty or more than 100,000 results, the effective page_size is
|
1265
|
+
# 100,000 results. If view is set to FULL, this is the maximum number of Points
|
1266
|
+
# returned. If view is set to HEADERS, this is the maximum number of TimeSeries
|
1267
|
+
# returned.
|
1266
1268
|
# @param [String] page_token
|
1267
1269
|
# If this field is not empty then it must contain the nextPageToken value
|
1268
1270
|
# returned by a previous call to this method. Using this field causes the method
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180522'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -133,7 +133,6 @@ module Google
|
|
133
133
|
end
|
134
134
|
|
135
135
|
# Response for the `ListSnapshots` method.<br><br>
|
136
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
137
136
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
138
137
|
# changed in backward-incompatible ways and is not recommended for production
|
139
138
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -190,7 +189,6 @@ module Google
|
|
190
189
|
end
|
191
190
|
|
192
191
|
# Response for the `ListTopicSnapshots` method.<br><br>
|
193
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
194
192
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
195
193
|
# changed in backward-incompatible ways and is not recommended for production
|
196
194
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -606,7 +604,6 @@ module Google
|
|
606
604
|
end
|
607
605
|
|
608
606
|
# Request for the `Seek` method.<br><br>
|
609
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
610
607
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
611
608
|
# changed in backward-incompatible ways and is not recommended for production
|
612
609
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -715,7 +712,6 @@ module Google
|
|
715
712
|
end
|
716
713
|
|
717
714
|
# A snapshot resource.<br><br>
|
718
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
719
715
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
720
716
|
# changed in backward-incompatible ways and is not recommended for production
|
721
717
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -789,7 +785,6 @@ module Google
|
|
789
785
|
# of acknowledged messages, and thus configures how far back in time a `Seek`
|
790
786
|
# can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10
|
791
787
|
# minutes.<br><br>
|
792
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
793
788
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
794
789
|
# changed in backward-incompatible ways and is not recommended for production
|
795
790
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -816,7 +811,6 @@ module Google
|
|
816
811
|
# messages are not expunged from the subscription's backlog, even if they are
|
817
812
|
# acknowledged, until they fall out of the `message_retention_duration`
|
818
813
|
# window.<br><br>
|
819
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
820
814
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
821
815
|
# changed in backward-incompatible ways and is not recommended for production
|
822
816
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -915,7 +909,6 @@ module Google
|
|
915
909
|
end
|
916
910
|
|
917
911
|
# Request for the UpdateSnapshot method.<br><br>
|
918
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
919
912
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
920
913
|
# changed in backward-incompatible ways and is not recommended for production
|
921
914
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -923,7 +916,6 @@ module Google
|
|
923
916
|
include Google::Apis::Core::Hashable
|
924
917
|
|
925
918
|
# A snapshot resource.<br><br>
|
926
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
927
919
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
928
920
|
# changed in backward-incompatible ways and is not recommended for production
|
929
921
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -48,7 +48,6 @@ module Google
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# Creates a snapshot from the requested subscription.<br><br>
|
51
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
52
51
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
53
52
|
# changed in backward-incompatible ways and is not recommended for production
|
54
53
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -101,7 +100,6 @@ module Google
|
|
101
100
|
end
|
102
101
|
|
103
102
|
# Removes an existing snapshot. <br><br>
|
104
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
105
103
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
106
104
|
# changed in backward-incompatible ways and is not recommended for production
|
107
105
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -140,7 +138,6 @@ module Google
|
|
140
138
|
end
|
141
139
|
|
142
140
|
# Gets the configuration details of a snapshot.<br><br>
|
143
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
144
141
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
145
142
|
# changed in backward-incompatible ways and is not recommended for production
|
146
143
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -208,7 +205,6 @@ module Google
|
|
208
205
|
end
|
209
206
|
|
210
207
|
# Lists the existing snapshots.<br><br>
|
211
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
212
208
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
213
209
|
# changed in backward-incompatible ways and is not recommended for production
|
214
210
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -251,7 +247,6 @@ module Google
|
|
251
247
|
end
|
252
248
|
|
253
249
|
# Updates an existing snapshot.<br><br>
|
254
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
255
250
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
256
251
|
# changed in backward-incompatible ways and is not recommended for production
|
257
252
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -401,7 +396,8 @@ module Google
|
|
401
396
|
execute_or_queue_command(command, &block)
|
402
397
|
end
|
403
398
|
|
404
|
-
# Creates a subscription to a given topic.
|
399
|
+
# Creates a subscription to a given topic. See the
|
400
|
+
# <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
|
405
401
|
# If the subscription already exists, returns `ALREADY_EXISTS`.
|
406
402
|
# If the corresponding topic doesn't exist, returns `NOT_FOUND`.
|
407
403
|
# If the name is not provided in the request, the server will assign a random
|
@@ -739,7 +735,6 @@ module Google
|
|
739
735
|
|
740
736
|
# Seeks an existing subscription to a point in time or to a given snapshot,
|
741
737
|
# whichever is provided in the request.<br><br>
|
742
|
-
# Lists the names of the snapshots on this topic.<br><br>
|
743
738
|
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
|
744
739
|
# changed in backward-incompatible ways and is not recommended for production
|
745
740
|
# use. It is not subject to any SLA or deprecation policy.
|
@@ -849,7 +844,8 @@ module Google
|
|
849
844
|
execute_or_queue_command(command, &block)
|
850
845
|
end
|
851
846
|
|
852
|
-
# Creates the given topic with the given name.
|
847
|
+
# Creates the given topic with the given name. See the
|
848
|
+
# <a href="/pubsub/docs/admin#resource_names"> resource name rules</a>.
|
853
849
|
# @param [String] name
|
854
850
|
# The name of the topic. It must have the format
|
855
851
|
# `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter,
|
@@ -895,12 +895,12 @@ module Google
|
|
895
895
|
end
|
896
896
|
end
|
897
897
|
|
898
|
-
# A representation of
|
899
|
-
#
|
900
|
-
#
|
901
|
-
#
|
902
|
-
#
|
903
|
-
#
|
898
|
+
# A representation of an execution of an Apps Script function started with run.
|
899
|
+
# The execution response does not arrive until the function finishes executing.
|
900
|
+
# The maximum execution runtime is listed in the [Apps Script quotas guide](/
|
901
|
+
# apps-script/guides/services/quotas#current_limitations). <p>After execution
|
902
|
+
# has started, it can have one of four outcomes:</p> <ul> <li> If the script
|
903
|
+
# function returns successfully, the
|
904
904
|
# response field contains an
|
905
905
|
# ExecutionResponse object
|
906
906
|
# with the function's return value in the object's `result` field.</li>
|
@@ -1057,8 +1057,7 @@ module Google
|
|
1057
1057
|
attr_accessor :details
|
1058
1058
|
|
1059
1059
|
# A developer-facing error message, which is in English. Any user-facing error
|
1060
|
-
# message is localized and sent in the
|
1061
|
-
# Status.details) field, or localized by the client.
|
1060
|
+
# message is localized and sent in the details field, or localized by the client.
|
1062
1061
|
# Corresponds to the JSON property `message`
|
1063
1062
|
# @return [String]
|
1064
1063
|
attr_accessor :message
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180525'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -409,11 +409,6 @@ module Google
|
|
409
409
|
attr_accessor :allow_without_credential
|
410
410
|
alias_method :allow_without_credential?, :allow_without_credential
|
411
411
|
|
412
|
-
# Configuration for a custom authentication provider.
|
413
|
-
# Corresponds to the JSON property `customAuth`
|
414
|
-
# @return [Google::Apis::ServicemanagementV1::CustomAuthRequirements]
|
415
|
-
attr_accessor :custom_auth
|
416
|
-
|
417
412
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
418
413
|
# there are scopes defined for "Read-only access to Google Calendar" and
|
419
414
|
# "Access to Cloud Platform". Users can consent to a scope for an application,
|
@@ -450,7 +445,6 @@ module Google
|
|
450
445
|
# Update properties of this object
|
451
446
|
def update!(**args)
|
452
447
|
@allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential)
|
453
|
-
@custom_auth = args[:custom_auth] if args.key?(:custom_auth)
|
454
448
|
@oauth = args[:oauth] if args.key?(:oauth)
|
455
449
|
@requirements = args[:requirements] if args.key?(:requirements)
|
456
450
|
@selector = args[:selector] if args.key?(:selector)
|
@@ -931,27 +925,6 @@ module Google
|
|
931
925
|
end
|
932
926
|
end
|
933
927
|
|
934
|
-
# Configuration for a custom authentication provider.
|
935
|
-
class CustomAuthRequirements
|
936
|
-
include Google::Apis::Core::Hashable
|
937
|
-
|
938
|
-
# A configuration string containing connection information for the
|
939
|
-
# authentication provider, typically formatted as a SmartService string
|
940
|
-
# (go/smartservice).
|
941
|
-
# Corresponds to the JSON property `provider`
|
942
|
-
# @return [String]
|
943
|
-
attr_accessor :provider
|
944
|
-
|
945
|
-
def initialize(**args)
|
946
|
-
update!(**args)
|
947
|
-
end
|
948
|
-
|
949
|
-
# Update properties of this object
|
950
|
-
def update!(**args)
|
951
|
-
@provider = args[:provider] if args.key?(:provider)
|
952
|
-
end
|
953
|
-
end
|
954
|
-
|
955
928
|
# Customize service error responses. For example, list any service
|
956
929
|
# specific protobuf types that can appear in error detail lists of
|
957
930
|
# error responses.
|
@@ -154,12 +154,6 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
-
class CustomAuthRequirements
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
-
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
161
|
-
end
|
162
|
-
|
163
157
|
class CustomError
|
164
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
159
|
|
@@ -618,8 +612,6 @@ module Google
|
|
618
612
|
# @private
|
619
613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
620
614
|
property :allow_without_credential, as: 'allowWithoutCredential'
|
621
|
-
property :custom_auth, as: 'customAuth', class: Google::Apis::ServicemanagementV1::CustomAuthRequirements, decorator: Google::Apis::ServicemanagementV1::CustomAuthRequirements::Representation
|
622
|
-
|
623
615
|
property :oauth, as: 'oauth', class: Google::Apis::ServicemanagementV1::OAuthRequirements, decorator: Google::Apis::ServicemanagementV1::OAuthRequirements::Representation
|
624
616
|
|
625
617
|
collection :requirements, as: 'requirements', class: Google::Apis::ServicemanagementV1::AuthRequirement, decorator: Google::Apis::ServicemanagementV1::AuthRequirement::Representation
|
@@ -748,13 +740,6 @@ module Google
|
|
748
740
|
end
|
749
741
|
end
|
750
742
|
|
751
|
-
class CustomAuthRequirements
|
752
|
-
# @private
|
753
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
-
property :provider, as: 'provider'
|
755
|
-
end
|
756
|
-
end
|
757
|
-
|
758
743
|
class CustomError
|
759
744
|
# @private
|
760
745
|
class Representation < Google::Apis::Core::JsonRepresentation
|