google-apis-privateca_v1beta1 0.4.0 → 0.5.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 +5 -0
- data/lib/google/apis/privateca_v1beta1.rb +1 -1
- data/lib/google/apis/privateca_v1beta1/classes.rb +21 -1106
- data/lib/google/apis/privateca_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/privateca_v1beta1/representations.rb +13 -382
- data/lib/google/apis/privateca_v1beta1/service.rb +7 -3
- 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: 88b9044604ce8d3142aad505f1f921ce0504a7e2af23b279096c39af8014c813
|
4
|
+
data.tar.gz: a4d92299ca683e311d92f556d49d170ab6fde32057bb7c3c3c7f20a64c00b8e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c645d0bf10734d1cfb6a05d52456574716607137df2fc6cdab73ab00a2ca29ca5052a45429226f381d313850318f43ab37d9d72fbb52c4847f9e6d53e9c36d51
|
7
|
+
data.tar.gz: 2fffd4e6c7d8c69aaf2bd4be0604c861b2c530a9831da095fed2d04be2f97684fda8ab23062286e14e3d6268458aabc15c8141ca28f91c04203591f4a081ae73
|
data/CHANGELOG.md
CHANGED
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V1beta1'
|
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
|
end
|
37
37
|
end
|
@@ -250,28 +250,6 @@ module Google
|
|
250
250
|
end
|
251
251
|
end
|
252
252
|
|
253
|
-
# Message for reporting billing requests through Eventstream.
|
254
|
-
class BillingView
|
255
|
-
include Google::Apis::Core::Hashable
|
256
|
-
|
257
|
-
# Billing requests to be reported for cloud.eventstream.v2.ResourceEvent Each
|
258
|
-
# request contains billing operations to be reported under a service name. See
|
259
|
-
# go/billing-view-construction for documentation on constructing billing view
|
260
|
-
# report requests.
|
261
|
-
# Corresponds to the JSON property `reportRequests`
|
262
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ReportRequest>]
|
263
|
-
attr_accessor :report_requests
|
264
|
-
|
265
|
-
def initialize(**args)
|
266
|
-
update!(**args)
|
267
|
-
end
|
268
|
-
|
269
|
-
# Update properties of this object
|
270
|
-
def update!(**args)
|
271
|
-
@report_requests = args[:report_requests] if args.key?(:report_requests)
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
253
|
# Associates `members` with a `role`.
|
276
254
|
class Binding
|
277
255
|
include Google::Apis::Core::Hashable
|
@@ -941,47 +919,6 @@ module Google
|
|
941
919
|
end
|
942
920
|
end
|
943
921
|
|
944
|
-
# Exemplars are example points that may be used to annotate aggregated
|
945
|
-
# distribution values. They are metadata that gives information about a
|
946
|
-
# particular value added to a Distribution bucket, such as a trace ID that was
|
947
|
-
# active when a value was added. They may contain further information, such as a
|
948
|
-
# example values and timestamps, origin, etc.
|
949
|
-
class Exemplar
|
950
|
-
include Google::Apis::Core::Hashable
|
951
|
-
|
952
|
-
# Contextual information about the example value. Examples are: Trace: type.
|
953
|
-
# googleapis.com/google.monitoring.v3.SpanContext Literal string: type.
|
954
|
-
# googleapis.com/google.protobuf.StringValue Labels dropped during aggregation:
|
955
|
-
# type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a
|
956
|
-
# single attachment of any given message type in a single exemplar, and this is
|
957
|
-
# enforced by the system.
|
958
|
-
# Corresponds to the JSON property `attachments`
|
959
|
-
# @return [Array<Hash<String,Object>>]
|
960
|
-
attr_accessor :attachments
|
961
|
-
|
962
|
-
# The observation (sampling) time of the above value.
|
963
|
-
# Corresponds to the JSON property `timestamp`
|
964
|
-
# @return [String]
|
965
|
-
attr_accessor :timestamp
|
966
|
-
|
967
|
-
# Value of the exemplar point. This value determines to which bucket the
|
968
|
-
# exemplar belongs.
|
969
|
-
# Corresponds to the JSON property `value`
|
970
|
-
# @return [Float]
|
971
|
-
attr_accessor :value
|
972
|
-
|
973
|
-
def initialize(**args)
|
974
|
-
update!(**args)
|
975
|
-
end
|
976
|
-
|
977
|
-
# Update properties of this object
|
978
|
-
def update!(**args)
|
979
|
-
@attachments = args[:attachments] if args.key?(:attachments)
|
980
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
981
|
-
@value = args[:value] if args.key?(:value)
|
982
|
-
end
|
983
|
-
end
|
984
|
-
|
985
922
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
986
923
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
987
924
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1117,1013 +1054,6 @@ module Google
|
|
1117
1054
|
end
|
1118
1055
|
end
|
1119
1056
|
|
1120
|
-
# The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
|
1121
|
-
class GoogleApiServicecontrolV1AttributeValue
|
1122
|
-
include Google::Apis::Core::Hashable
|
1123
|
-
|
1124
|
-
# A Boolean value represented by `true` or `false`.
|
1125
|
-
# Corresponds to the JSON property `boolValue`
|
1126
|
-
# @return [Boolean]
|
1127
|
-
attr_accessor :bool_value
|
1128
|
-
alias_method :bool_value?, :bool_value
|
1129
|
-
|
1130
|
-
# A 64-bit signed integer.
|
1131
|
-
# Corresponds to the JSON property `intValue`
|
1132
|
-
# @return [Fixnum]
|
1133
|
-
attr_accessor :int_value
|
1134
|
-
|
1135
|
-
# Represents a string that might be shortened to a specified length.
|
1136
|
-
# Corresponds to the JSON property `stringValue`
|
1137
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1TruncatableString]
|
1138
|
-
attr_accessor :string_value
|
1139
|
-
|
1140
|
-
def initialize(**args)
|
1141
|
-
update!(**args)
|
1142
|
-
end
|
1143
|
-
|
1144
|
-
# Update properties of this object
|
1145
|
-
def update!(**args)
|
1146
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
1147
|
-
@int_value = args[:int_value] if args.key?(:int_value)
|
1148
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
1149
|
-
end
|
1150
|
-
end
|
1151
|
-
|
1152
|
-
# A set of attributes, each in the format `[KEY]:[VALUE]`.
|
1153
|
-
class GoogleApiServicecontrolV1Attributes
|
1154
|
-
include Google::Apis::Core::Hashable
|
1155
|
-
|
1156
|
-
# The set of attributes. Each attribute's key can be up to 128 bytes long. The
|
1157
|
-
# value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean
|
1158
|
-
# values `true` and `false`. For example: "/instance_id": "my-instance" "/http/
|
1159
|
-
# user_agent": "" "/http/request_bytes": 300 "abc.com/myattribute": true
|
1160
|
-
# Corresponds to the JSON property `attributeMap`
|
1161
|
-
# @return [Hash<String,Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1AttributeValue>]
|
1162
|
-
attr_accessor :attribute_map
|
1163
|
-
|
1164
|
-
# The number of attributes that were discarded. Attributes can be discarded
|
1165
|
-
# because their keys are too long or because there are too many attributes. If
|
1166
|
-
# this value is 0 then all attributes are valid.
|
1167
|
-
# Corresponds to the JSON property `droppedAttributesCount`
|
1168
|
-
# @return [Fixnum]
|
1169
|
-
attr_accessor :dropped_attributes_count
|
1170
|
-
|
1171
|
-
def initialize(**args)
|
1172
|
-
update!(**args)
|
1173
|
-
end
|
1174
|
-
|
1175
|
-
# Update properties of this object
|
1176
|
-
def update!(**args)
|
1177
|
-
@attribute_map = args[:attribute_map] if args.key?(:attribute_map)
|
1178
|
-
@dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count)
|
1179
|
-
end
|
1180
|
-
end
|
1181
|
-
|
1182
|
-
# Distribution represents a frequency distribution of double-valued sample
|
1183
|
-
# points. It contains the size of the population of sample points plus
|
1184
|
-
# additional optional information: - the arithmetic mean of the samples - the
|
1185
|
-
# minimum and maximum of the samples - the sum-squared-deviation of the samples,
|
1186
|
-
# used to compute variance - a histogram of the values of the sample points
|
1187
|
-
class GoogleApiServicecontrolV1Distribution
|
1188
|
-
include Google::Apis::Core::Hashable
|
1189
|
-
|
1190
|
-
# The number of samples in each histogram bucket. `bucket_counts` are optional.
|
1191
|
-
# If present, they must sum to the `count` value. The buckets are defined below
|
1192
|
-
# in `bucket_option`. There are N buckets. `bucket_counts[0]` is the number of
|
1193
|
-
# samples in the underflow bucket. `bucket_counts[1]` to `bucket_counts[N-1]`
|
1194
|
-
# are the numbers of samples in each of the finite buckets. And `bucket_counts[N]
|
1195
|
-
# is the number of samples in the overflow bucket. See the comments of `
|
1196
|
-
# bucket_option` below for more details. Any suffix of trailing zeros may be
|
1197
|
-
# omitted.
|
1198
|
-
# Corresponds to the JSON property `bucketCounts`
|
1199
|
-
# @return [Array<Fixnum>]
|
1200
|
-
attr_accessor :bucket_counts
|
1201
|
-
|
1202
|
-
# The total number of samples in the distribution. Must be >= 0.
|
1203
|
-
# Corresponds to the JSON property `count`
|
1204
|
-
# @return [Fixnum]
|
1205
|
-
attr_accessor :count
|
1206
|
-
|
1207
|
-
# Example points. Must be in increasing order of `value` field.
|
1208
|
-
# Corresponds to the JSON property `exemplars`
|
1209
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::Exemplar>]
|
1210
|
-
attr_accessor :exemplars
|
1211
|
-
|
1212
|
-
# Describing buckets with arbitrary user-provided width.
|
1213
|
-
# Corresponds to the JSON property `explicitBuckets`
|
1214
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ExplicitBuckets]
|
1215
|
-
attr_accessor :explicit_buckets
|
1216
|
-
|
1217
|
-
# Describing buckets with exponentially growing width.
|
1218
|
-
# Corresponds to the JSON property `exponentialBuckets`
|
1219
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ExponentialBuckets]
|
1220
|
-
attr_accessor :exponential_buckets
|
1221
|
-
|
1222
|
-
# Describing buckets with constant width.
|
1223
|
-
# Corresponds to the JSON property `linearBuckets`
|
1224
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1LinearBuckets]
|
1225
|
-
attr_accessor :linear_buckets
|
1226
|
-
|
1227
|
-
# The maximum of the population of values. Ignored if `count` is zero.
|
1228
|
-
# Corresponds to the JSON property `maximum`
|
1229
|
-
# @return [Float]
|
1230
|
-
attr_accessor :maximum
|
1231
|
-
|
1232
|
-
# The arithmetic mean of the samples in the distribution. If `count` is zero
|
1233
|
-
# then this field must be zero.
|
1234
|
-
# Corresponds to the JSON property `mean`
|
1235
|
-
# @return [Float]
|
1236
|
-
attr_accessor :mean
|
1237
|
-
|
1238
|
-
# The minimum of the population of values. Ignored if `count` is zero.
|
1239
|
-
# Corresponds to the JSON property `minimum`
|
1240
|
-
# @return [Float]
|
1241
|
-
attr_accessor :minimum
|
1242
|
-
|
1243
|
-
# The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2)
|
1244
|
-
# where each x_i is a sample values. If `count` is zero then this field must be
|
1245
|
-
# zero, otherwise validation of the request fails.
|
1246
|
-
# Corresponds to the JSON property `sumOfSquaredDeviation`
|
1247
|
-
# @return [Float]
|
1248
|
-
attr_accessor :sum_of_squared_deviation
|
1249
|
-
|
1250
|
-
def initialize(**args)
|
1251
|
-
update!(**args)
|
1252
|
-
end
|
1253
|
-
|
1254
|
-
# Update properties of this object
|
1255
|
-
def update!(**args)
|
1256
|
-
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
1257
|
-
@count = args[:count] if args.key?(:count)
|
1258
|
-
@exemplars = args[:exemplars] if args.key?(:exemplars)
|
1259
|
-
@explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
|
1260
|
-
@exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
|
1261
|
-
@linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
|
1262
|
-
@maximum = args[:maximum] if args.key?(:maximum)
|
1263
|
-
@mean = args[:mean] if args.key?(:mean)
|
1264
|
-
@minimum = args[:minimum] if args.key?(:minimum)
|
1265
|
-
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
|
1266
|
-
end
|
1267
|
-
end
|
1268
|
-
|
1269
|
-
# Describing buckets with arbitrary user-provided width.
|
1270
|
-
class GoogleApiServicecontrolV1ExplicitBuckets
|
1271
|
-
include Google::Apis::Core::Hashable
|
1272
|
-
|
1273
|
-
# 'bound' is a list of strictly increasing boundaries between buckets. Note that
|
1274
|
-
# a list of length N-1 defines N buckets because of fenceposting. See comments
|
1275
|
-
# on `bucket_options` for details. The i'th finite bucket covers the interval [
|
1276
|
-
# bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that
|
1277
|
-
# there are no finite buckets at all if 'bound' only contains a single element;
|
1278
|
-
# in that special case the single bound defines the boundary between the
|
1279
|
-
# underflow and overflow buckets. bucket number lower bound upper bound i == 0 (
|
1280
|
-
# underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i ==
|
1281
|
-
# bound_size() (overflow) bound[i-1] +inf
|
1282
|
-
# Corresponds to the JSON property `bounds`
|
1283
|
-
# @return [Array<Float>]
|
1284
|
-
attr_accessor :bounds
|
1285
|
-
|
1286
|
-
def initialize(**args)
|
1287
|
-
update!(**args)
|
1288
|
-
end
|
1289
|
-
|
1290
|
-
# Update properties of this object
|
1291
|
-
def update!(**args)
|
1292
|
-
@bounds = args[:bounds] if args.key?(:bounds)
|
1293
|
-
end
|
1294
|
-
end
|
1295
|
-
|
1296
|
-
# Describing buckets with exponentially growing width.
|
1297
|
-
class GoogleApiServicecontrolV1ExponentialBuckets
|
1298
|
-
include Google::Apis::Core::Hashable
|
1299
|
-
|
1300
|
-
# The i'th exponential bucket covers the interval [scale * growth_factor^(i-1),
|
1301
|
-
# scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive.
|
1302
|
-
# Must be larger than 1.0.
|
1303
|
-
# Corresponds to the JSON property `growthFactor`
|
1304
|
-
# @return [Float]
|
1305
|
-
attr_accessor :growth_factor
|
1306
|
-
|
1307
|
-
# The number of finite buckets. With the underflow and overflow buckets, the
|
1308
|
-
# total number of buckets is `num_finite_buckets` + 2. See comments on `
|
1309
|
-
# bucket_options` for details.
|
1310
|
-
# Corresponds to the JSON property `numFiniteBuckets`
|
1311
|
-
# @return [Fixnum]
|
1312
|
-
attr_accessor :num_finite_buckets
|
1313
|
-
|
1314
|
-
# The i'th exponential bucket covers the interval [scale * growth_factor^(i-1),
|
1315
|
-
# scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive.
|
1316
|
-
# Must be > 0.
|
1317
|
-
# Corresponds to the JSON property `scale`
|
1318
|
-
# @return [Float]
|
1319
|
-
attr_accessor :scale
|
1320
|
-
|
1321
|
-
def initialize(**args)
|
1322
|
-
update!(**args)
|
1323
|
-
end
|
1324
|
-
|
1325
|
-
# Update properties of this object
|
1326
|
-
def update!(**args)
|
1327
|
-
@growth_factor = args[:growth_factor] if args.key?(:growth_factor)
|
1328
|
-
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
1329
|
-
@scale = args[:scale] if args.key?(:scale)
|
1330
|
-
end
|
1331
|
-
end
|
1332
|
-
|
1333
|
-
# A common proto for logging HTTP requests. Only contains semantics defined by
|
1334
|
-
# the HTTP specification. Product-specific logging information MUST be defined
|
1335
|
-
# in a separate message.
|
1336
|
-
class GoogleApiServicecontrolV1HttpRequest
|
1337
|
-
include Google::Apis::Core::Hashable
|
1338
|
-
|
1339
|
-
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
1340
|
-
# fill was attempted.
|
1341
|
-
# Corresponds to the JSON property `cacheFillBytes`
|
1342
|
-
# @return [Fixnum]
|
1343
|
-
attr_accessor :cache_fill_bytes
|
1344
|
-
|
1345
|
-
# Whether or not an entity was served from cache (with or without validation).
|
1346
|
-
# Corresponds to the JSON property `cacheHit`
|
1347
|
-
# @return [Boolean]
|
1348
|
-
attr_accessor :cache_hit
|
1349
|
-
alias_method :cache_hit?, :cache_hit
|
1350
|
-
|
1351
|
-
# Whether or not a cache lookup was attempted.
|
1352
|
-
# Corresponds to the JSON property `cacheLookup`
|
1353
|
-
# @return [Boolean]
|
1354
|
-
attr_accessor :cache_lookup
|
1355
|
-
alias_method :cache_lookup?, :cache_lookup
|
1356
|
-
|
1357
|
-
# Whether or not the response was validated with the origin server before being
|
1358
|
-
# served from cache. This field is only meaningful if `cache_hit` is True.
|
1359
|
-
# Corresponds to the JSON property `cacheValidatedWithOriginServer`
|
1360
|
-
# @return [Boolean]
|
1361
|
-
attr_accessor :cache_validated_with_origin_server
|
1362
|
-
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
1363
|
-
|
1364
|
-
# The request processing latency on the server, from the time the request was
|
1365
|
-
# received until the response was sent.
|
1366
|
-
# Corresponds to the JSON property `latency`
|
1367
|
-
# @return [String]
|
1368
|
-
attr_accessor :latency
|
1369
|
-
|
1370
|
-
# Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
|
1371
|
-
# Corresponds to the JSON property `protocol`
|
1372
|
-
# @return [String]
|
1373
|
-
attr_accessor :protocol
|
1374
|
-
|
1375
|
-
# The referer URL of the request, as defined in [HTTP/1.1 Header Field
|
1376
|
-
# Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
1377
|
-
# Corresponds to the JSON property `referer`
|
1378
|
-
# @return [String]
|
1379
|
-
attr_accessor :referer
|
1380
|
-
|
1381
|
-
# The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
|
1382
|
-
# Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
|
1383
|
-
# Corresponds to the JSON property `remoteIp`
|
1384
|
-
# @return [String]
|
1385
|
-
attr_accessor :remote_ip
|
1386
|
-
|
1387
|
-
# The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
|
1388
|
-
# Corresponds to the JSON property `requestMethod`
|
1389
|
-
# @return [String]
|
1390
|
-
attr_accessor :request_method
|
1391
|
-
|
1392
|
-
# The size of the HTTP request message in bytes, including the request headers
|
1393
|
-
# and the request body.
|
1394
|
-
# Corresponds to the JSON property `requestSize`
|
1395
|
-
# @return [Fixnum]
|
1396
|
-
attr_accessor :request_size
|
1397
|
-
|
1398
|
-
# The scheme (http, https), the host name, the path, and the query portion of
|
1399
|
-
# the URL that was requested. Example: `"http://example.com/some/info?color=red"`
|
1400
|
-
# .
|
1401
|
-
# Corresponds to the JSON property `requestUrl`
|
1402
|
-
# @return [String]
|
1403
|
-
attr_accessor :request_url
|
1404
|
-
|
1405
|
-
# The size of the HTTP response message sent back to the client, in bytes,
|
1406
|
-
# including the response headers and the response body.
|
1407
|
-
# Corresponds to the JSON property `responseSize`
|
1408
|
-
# @return [Fixnum]
|
1409
|
-
attr_accessor :response_size
|
1410
|
-
|
1411
|
-
# The IP address (IPv4 or IPv6) of the origin server that the request was sent
|
1412
|
-
# to.
|
1413
|
-
# Corresponds to the JSON property `serverIp`
|
1414
|
-
# @return [String]
|
1415
|
-
attr_accessor :server_ip
|
1416
|
-
|
1417
|
-
# The response code indicating the status of the response. Examples: 200, 404.
|
1418
|
-
# Corresponds to the JSON property `status`
|
1419
|
-
# @return [Fixnum]
|
1420
|
-
attr_accessor :status
|
1421
|
-
|
1422
|
-
# The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.
|
1423
|
-
# 0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
|
1424
|
-
# Corresponds to the JSON property `userAgent`
|
1425
|
-
# @return [String]
|
1426
|
-
attr_accessor :user_agent
|
1427
|
-
|
1428
|
-
def initialize(**args)
|
1429
|
-
update!(**args)
|
1430
|
-
end
|
1431
|
-
|
1432
|
-
# Update properties of this object
|
1433
|
-
def update!(**args)
|
1434
|
-
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
1435
|
-
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
1436
|
-
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
1437
|
-
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
1438
|
-
@latency = args[:latency] if args.key?(:latency)
|
1439
|
-
@protocol = args[:protocol] if args.key?(:protocol)
|
1440
|
-
@referer = args[:referer] if args.key?(:referer)
|
1441
|
-
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
1442
|
-
@request_method = args[:request_method] if args.key?(:request_method)
|
1443
|
-
@request_size = args[:request_size] if args.key?(:request_size)
|
1444
|
-
@request_url = args[:request_url] if args.key?(:request_url)
|
1445
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
1446
|
-
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
1447
|
-
@status = args[:status] if args.key?(:status)
|
1448
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
1449
|
-
end
|
1450
|
-
end
|
1451
|
-
|
1452
|
-
# Describing buckets with constant width.
|
1453
|
-
class GoogleApiServicecontrolV1LinearBuckets
|
1454
|
-
include Google::Apis::Core::Hashable
|
1455
|
-
|
1456
|
-
# The number of finite buckets. With the underflow and overflow buckets, the
|
1457
|
-
# total number of buckets is `num_finite_buckets` + 2. See comments on `
|
1458
|
-
# bucket_options` for details.
|
1459
|
-
# Corresponds to the JSON property `numFiniteBuckets`
|
1460
|
-
# @return [Fixnum]
|
1461
|
-
attr_accessor :num_finite_buckets
|
1462
|
-
|
1463
|
-
# The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i
|
1464
|
-
# * width) where i ranges from 1 to num_finite_buckets, inclusive.
|
1465
|
-
# Corresponds to the JSON property `offset`
|
1466
|
-
# @return [Float]
|
1467
|
-
attr_accessor :offset
|
1468
|
-
|
1469
|
-
# The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i
|
1470
|
-
# * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be
|
1471
|
-
# strictly positive.
|
1472
|
-
# Corresponds to the JSON property `width`
|
1473
|
-
# @return [Float]
|
1474
|
-
attr_accessor :width
|
1475
|
-
|
1476
|
-
def initialize(**args)
|
1477
|
-
update!(**args)
|
1478
|
-
end
|
1479
|
-
|
1480
|
-
# Update properties of this object
|
1481
|
-
def update!(**args)
|
1482
|
-
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
1483
|
-
@offset = args[:offset] if args.key?(:offset)
|
1484
|
-
@width = args[:width] if args.key?(:width)
|
1485
|
-
end
|
1486
|
-
end
|
1487
|
-
|
1488
|
-
# An individual log entry.
|
1489
|
-
class GoogleApiServicecontrolV1LogEntry
|
1490
|
-
include Google::Apis::Core::Hashable
|
1491
|
-
|
1492
|
-
# A common proto for logging HTTP requests. Only contains semantics defined by
|
1493
|
-
# the HTTP specification. Product-specific logging information MUST be defined
|
1494
|
-
# in a separate message.
|
1495
|
-
# Corresponds to the JSON property `httpRequest`
|
1496
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1HttpRequest]
|
1497
|
-
attr_accessor :http_request
|
1498
|
-
|
1499
|
-
# A unique ID for the log entry used for deduplication. If omitted, the
|
1500
|
-
# implementation will generate one based on operation_id.
|
1501
|
-
# Corresponds to the JSON property `insertId`
|
1502
|
-
# @return [String]
|
1503
|
-
attr_accessor :insert_id
|
1504
|
-
|
1505
|
-
# A set of user-defined (key, value) data that provides additional information
|
1506
|
-
# about the log entry.
|
1507
|
-
# Corresponds to the JSON property `labels`
|
1508
|
-
# @return [Hash<String,String>]
|
1509
|
-
attr_accessor :labels
|
1510
|
-
|
1511
|
-
# Required. The log to which this log entry belongs. Examples: `"syslog"`, `"
|
1512
|
-
# book_log"`.
|
1513
|
-
# Corresponds to the JSON property `name`
|
1514
|
-
# @return [String]
|
1515
|
-
attr_accessor :name
|
1516
|
-
|
1517
|
-
# Additional information about a potentially long-running operation with which a
|
1518
|
-
# log entry is associated.
|
1519
|
-
# Corresponds to the JSON property `operation`
|
1520
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1LogEntryOperation]
|
1521
|
-
attr_accessor :operation
|
1522
|
-
|
1523
|
-
# The log entry payload, represented as a protocol buffer that is expressed as a
|
1524
|
-
# JSON object. The only accepted type currently is AuditLog.
|
1525
|
-
# Corresponds to the JSON property `protoPayload`
|
1526
|
-
# @return [Hash<String,Object>]
|
1527
|
-
attr_accessor :proto_payload
|
1528
|
-
|
1529
|
-
# The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
|
1530
|
-
# Corresponds to the JSON property `severity`
|
1531
|
-
# @return [String]
|
1532
|
-
attr_accessor :severity
|
1533
|
-
|
1534
|
-
# Additional information about the source code location that produced the log
|
1535
|
-
# entry.
|
1536
|
-
# Corresponds to the JSON property `sourceLocation`
|
1537
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1LogEntrySourceLocation]
|
1538
|
-
attr_accessor :source_location
|
1539
|
-
|
1540
|
-
# The log entry payload, represented as a structure that is expressed as a JSON
|
1541
|
-
# object.
|
1542
|
-
# Corresponds to the JSON property `structPayload`
|
1543
|
-
# @return [Hash<String,Object>]
|
1544
|
-
attr_accessor :struct_payload
|
1545
|
-
|
1546
|
-
# The log entry payload, represented as a Unicode string (UTF-8).
|
1547
|
-
# Corresponds to the JSON property `textPayload`
|
1548
|
-
# @return [String]
|
1549
|
-
attr_accessor :text_payload
|
1550
|
-
|
1551
|
-
# The time the event described by the log entry occurred. If omitted, defaults
|
1552
|
-
# to operation start time.
|
1553
|
-
# Corresponds to the JSON property `timestamp`
|
1554
|
-
# @return [String]
|
1555
|
-
attr_accessor :timestamp
|
1556
|
-
|
1557
|
-
# Optional. Resource name of the trace associated with the log entry, if any. If
|
1558
|
-
# this field contains a relative resource name, you can assume the name is
|
1559
|
-
# relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/
|
1560
|
-
# 06796866738c859f2f19b7cfb3214824`
|
1561
|
-
# Corresponds to the JSON property `trace`
|
1562
|
-
# @return [String]
|
1563
|
-
attr_accessor :trace
|
1564
|
-
|
1565
|
-
def initialize(**args)
|
1566
|
-
update!(**args)
|
1567
|
-
end
|
1568
|
-
|
1569
|
-
# Update properties of this object
|
1570
|
-
def update!(**args)
|
1571
|
-
@http_request = args[:http_request] if args.key?(:http_request)
|
1572
|
-
@insert_id = args[:insert_id] if args.key?(:insert_id)
|
1573
|
-
@labels = args[:labels] if args.key?(:labels)
|
1574
|
-
@name = args[:name] if args.key?(:name)
|
1575
|
-
@operation = args[:operation] if args.key?(:operation)
|
1576
|
-
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
1577
|
-
@severity = args[:severity] if args.key?(:severity)
|
1578
|
-
@source_location = args[:source_location] if args.key?(:source_location)
|
1579
|
-
@struct_payload = args[:struct_payload] if args.key?(:struct_payload)
|
1580
|
-
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
1581
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
1582
|
-
@trace = args[:trace] if args.key?(:trace)
|
1583
|
-
end
|
1584
|
-
end
|
1585
|
-
|
1586
|
-
# Additional information about a potentially long-running operation with which a
|
1587
|
-
# log entry is associated.
|
1588
|
-
class GoogleApiServicecontrolV1LogEntryOperation
|
1589
|
-
include Google::Apis::Core::Hashable
|
1590
|
-
|
1591
|
-
# Optional. Set this to True if this is the first log entry in the operation.
|
1592
|
-
# Corresponds to the JSON property `first`
|
1593
|
-
# @return [Boolean]
|
1594
|
-
attr_accessor :first
|
1595
|
-
alias_method :first?, :first
|
1596
|
-
|
1597
|
-
# Optional. An arbitrary operation identifier. Log entries with the same
|
1598
|
-
# identifier are assumed to be part of the same operation.
|
1599
|
-
# Corresponds to the JSON property `id`
|
1600
|
-
# @return [String]
|
1601
|
-
attr_accessor :id
|
1602
|
-
|
1603
|
-
# Optional. Set this to True if this is the last log entry in the operation.
|
1604
|
-
# Corresponds to the JSON property `last`
|
1605
|
-
# @return [Boolean]
|
1606
|
-
attr_accessor :last
|
1607
|
-
alias_method :last?, :last
|
1608
|
-
|
1609
|
-
# Optional. An arbitrary producer identifier. The combination of `id` and `
|
1610
|
-
# producer` must be globally unique. Examples for `producer`: `"MyDivision.
|
1611
|
-
# MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
|
1612
|
-
# Corresponds to the JSON property `producer`
|
1613
|
-
# @return [String]
|
1614
|
-
attr_accessor :producer
|
1615
|
-
|
1616
|
-
def initialize(**args)
|
1617
|
-
update!(**args)
|
1618
|
-
end
|
1619
|
-
|
1620
|
-
# Update properties of this object
|
1621
|
-
def update!(**args)
|
1622
|
-
@first = args[:first] if args.key?(:first)
|
1623
|
-
@id = args[:id] if args.key?(:id)
|
1624
|
-
@last = args[:last] if args.key?(:last)
|
1625
|
-
@producer = args[:producer] if args.key?(:producer)
|
1626
|
-
end
|
1627
|
-
end
|
1628
|
-
|
1629
|
-
# Additional information about the source code location that produced the log
|
1630
|
-
# entry.
|
1631
|
-
class GoogleApiServicecontrolV1LogEntrySourceLocation
|
1632
|
-
include Google::Apis::Core::Hashable
|
1633
|
-
|
1634
|
-
# Optional. Source file name. Depending on the runtime environment, this might
|
1635
|
-
# be a simple name or a fully-qualified name.
|
1636
|
-
# Corresponds to the JSON property `file`
|
1637
|
-
# @return [String]
|
1638
|
-
attr_accessor :file
|
1639
|
-
|
1640
|
-
# Optional. Human-readable name of the function or method being invoked, with
|
1641
|
-
# optional context such as the class or package name. This information may be
|
1642
|
-
# used in contexts such as the logs viewer, where a file and line number are
|
1643
|
-
# less meaningful. The format can vary by language. For example: `qual.if.ied.
|
1644
|
-
# Class.method` (Java), `dir/package.func` (Go), `function` (Python).
|
1645
|
-
# Corresponds to the JSON property `function`
|
1646
|
-
# @return [String]
|
1647
|
-
attr_accessor :function
|
1648
|
-
|
1649
|
-
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
1650
|
-
# available.
|
1651
|
-
# Corresponds to the JSON property `line`
|
1652
|
-
# @return [Fixnum]
|
1653
|
-
attr_accessor :line
|
1654
|
-
|
1655
|
-
def initialize(**args)
|
1656
|
-
update!(**args)
|
1657
|
-
end
|
1658
|
-
|
1659
|
-
# Update properties of this object
|
1660
|
-
def update!(**args)
|
1661
|
-
@file = args[:file] if args.key?(:file)
|
1662
|
-
@function = args[:function] if args.key?(:function)
|
1663
|
-
@line = args[:line] if args.key?(:line)
|
1664
|
-
end
|
1665
|
-
end
|
1666
|
-
|
1667
|
-
# Represents a single metric value.
|
1668
|
-
class GoogleApiServicecontrolV1MetricValue
|
1669
|
-
include Google::Apis::Core::Hashable
|
1670
|
-
|
1671
|
-
# A boolean value.
|
1672
|
-
# Corresponds to the JSON property `boolValue`
|
1673
|
-
# @return [Boolean]
|
1674
|
-
attr_accessor :bool_value
|
1675
|
-
alias_method :bool_value?, :bool_value
|
1676
|
-
|
1677
|
-
# Distribution represents a frequency distribution of double-valued sample
|
1678
|
-
# points. It contains the size of the population of sample points plus
|
1679
|
-
# additional optional information: - the arithmetic mean of the samples - the
|
1680
|
-
# minimum and maximum of the samples - the sum-squared-deviation of the samples,
|
1681
|
-
# used to compute variance - a histogram of the values of the sample points
|
1682
|
-
# Corresponds to the JSON property `distributionValue`
|
1683
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1Distribution]
|
1684
|
-
attr_accessor :distribution_value
|
1685
|
-
|
1686
|
-
# A double precision floating point value.
|
1687
|
-
# Corresponds to the JSON property `doubleValue`
|
1688
|
-
# @return [Float]
|
1689
|
-
attr_accessor :double_value
|
1690
|
-
|
1691
|
-
# The end of the time period over which this metric value's measurement applies.
|
1692
|
-
# If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
|
1693
|
-
# Corresponds to the JSON property `endTime`
|
1694
|
-
# @return [String]
|
1695
|
-
attr_accessor :end_time
|
1696
|
-
|
1697
|
-
# A signed 64-bit integer value.
|
1698
|
-
# Corresponds to the JSON property `int64Value`
|
1699
|
-
# @return [Fixnum]
|
1700
|
-
attr_accessor :int64_value
|
1701
|
-
|
1702
|
-
# The labels describing the metric value. See comments on google.api.
|
1703
|
-
# servicecontrol.v1.Operation.labels for the overriding relationship. Note that
|
1704
|
-
# this map must not contain monitored resource labels.
|
1705
|
-
# Corresponds to the JSON property `labels`
|
1706
|
-
# @return [Hash<String,String>]
|
1707
|
-
attr_accessor :labels
|
1708
|
-
|
1709
|
-
# Represents an amount of money with its currency type.
|
1710
|
-
# Corresponds to the JSON property `moneyValue`
|
1711
|
-
# @return [Google::Apis::PrivatecaV1beta1::Money]
|
1712
|
-
attr_accessor :money_value
|
1713
|
-
|
1714
|
-
# The start of the time period over which this metric value's measurement
|
1715
|
-
# applies. The time period has different semantics for different metric types (
|
1716
|
-
# cumulative, delta, and gauge). See the metric definition documentation in the
|
1717
|
-
# service configuration for details. If not specified, google.api.servicecontrol.
|
1718
|
-
# v1.Operation.start_time will be used.
|
1719
|
-
# Corresponds to the JSON property `startTime`
|
1720
|
-
# @return [String]
|
1721
|
-
attr_accessor :start_time
|
1722
|
-
|
1723
|
-
# A text string value.
|
1724
|
-
# Corresponds to the JSON property `stringValue`
|
1725
|
-
# @return [String]
|
1726
|
-
attr_accessor :string_value
|
1727
|
-
|
1728
|
-
def initialize(**args)
|
1729
|
-
update!(**args)
|
1730
|
-
end
|
1731
|
-
|
1732
|
-
# Update properties of this object
|
1733
|
-
def update!(**args)
|
1734
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
1735
|
-
@distribution_value = args[:distribution_value] if args.key?(:distribution_value)
|
1736
|
-
@double_value = args[:double_value] if args.key?(:double_value)
|
1737
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1738
|
-
@int64_value = args[:int64_value] if args.key?(:int64_value)
|
1739
|
-
@labels = args[:labels] if args.key?(:labels)
|
1740
|
-
@money_value = args[:money_value] if args.key?(:money_value)
|
1741
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1742
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
1743
|
-
end
|
1744
|
-
end
|
1745
|
-
|
1746
|
-
# Represents a set of metric values in the same metric. Each metric value in the
|
1747
|
-
# set should have a unique combination of start time, end time, and label values.
|
1748
|
-
class GoogleApiServicecontrolV1MetricValueSet
|
1749
|
-
include Google::Apis::Core::Hashable
|
1750
|
-
|
1751
|
-
# The metric name defined in the service configuration.
|
1752
|
-
# Corresponds to the JSON property `metricName`
|
1753
|
-
# @return [String]
|
1754
|
-
attr_accessor :metric_name
|
1755
|
-
|
1756
|
-
# The values in this metric.
|
1757
|
-
# Corresponds to the JSON property `metricValues`
|
1758
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1MetricValue>]
|
1759
|
-
attr_accessor :metric_values
|
1760
|
-
|
1761
|
-
def initialize(**args)
|
1762
|
-
update!(**args)
|
1763
|
-
end
|
1764
|
-
|
1765
|
-
# Update properties of this object
|
1766
|
-
def update!(**args)
|
1767
|
-
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
1768
|
-
@metric_values = args[:metric_values] if args.key?(:metric_values)
|
1769
|
-
end
|
1770
|
-
end
|
1771
|
-
|
1772
|
-
# Represents information regarding an operation.
|
1773
|
-
class GoogleApiServicecontrolV1Operation
|
1774
|
-
include Google::Apis::Core::Hashable
|
1775
|
-
|
1776
|
-
# Identity of the consumer who is using the service. This field should be filled
|
1777
|
-
# in for the operations initiated by a consumer, but not for service-initiated
|
1778
|
-
# operations that are not related to a specific consumer. - This can be in one
|
1779
|
-
# of the following formats: - project:PROJECT_ID, - project`_`number:
|
1780
|
-
# PROJECT_NUMBER, - projects/PROJECT_ID or PROJECT_NUMBER, - folders/
|
1781
|
-
# FOLDER_NUMBER, - organizations/ORGANIZATION_NUMBER, - api`_`key:API_KEY.
|
1782
|
-
# Corresponds to the JSON property `consumerId`
|
1783
|
-
# @return [String]
|
1784
|
-
attr_accessor :consumer_id
|
1785
|
-
|
1786
|
-
# End time of the operation. Required when the operation is used in
|
1787
|
-
# ServiceController.Report, but optional when the operation is used in
|
1788
|
-
# ServiceController.Check.
|
1789
|
-
# Corresponds to the JSON property `endTime`
|
1790
|
-
# @return [String]
|
1791
|
-
attr_accessor :end_time
|
1792
|
-
|
1793
|
-
# Unimplemented.
|
1794
|
-
# Corresponds to the JSON property `extensions`
|
1795
|
-
# @return [Array<Hash<String,Object>>]
|
1796
|
-
attr_accessor :extensions
|
1797
|
-
|
1798
|
-
# DO NOT USE. This is an experimental field.
|
1799
|
-
# Corresponds to the JSON property `importance`
|
1800
|
-
# @return [String]
|
1801
|
-
attr_accessor :importance
|
1802
|
-
|
1803
|
-
# Labels describing the operation. Only the following labels are allowed: -
|
1804
|
-
# Labels describing monitored resources as defined in the service configuration.
|
1805
|
-
# - Default labels of metric values. When specified, labels defined in the
|
1806
|
-
# metric value override these default. - The following labels defined by Google
|
1807
|
-
# Cloud Platform: - `cloud.googleapis.com/location` describing the location
|
1808
|
-
# where the operation happened, - `servicecontrol.googleapis.com/user_agent`
|
1809
|
-
# describing the user agent of the API request, - `servicecontrol.googleapis.com/
|
1810
|
-
# service_agent` describing the service used to handle the API request (e.g. ESP)
|
1811
|
-
# , - `servicecontrol.googleapis.com/platform` describing the platform where the
|
1812
|
-
# API is served, such as App Engine, Compute Engine, or Kubernetes Engine.
|
1813
|
-
# Corresponds to the JSON property `labels`
|
1814
|
-
# @return [Hash<String,String>]
|
1815
|
-
attr_accessor :labels
|
1816
|
-
|
1817
|
-
# Represents information to be logged.
|
1818
|
-
# Corresponds to the JSON property `logEntries`
|
1819
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1LogEntry>]
|
1820
|
-
attr_accessor :log_entries
|
1821
|
-
|
1822
|
-
# Represents information about this operation. Each MetricValueSet corresponds
|
1823
|
-
# to a metric defined in the service configuration. The data type used in the
|
1824
|
-
# MetricValueSet must agree with the data type specified in the metric
|
1825
|
-
# definition. Within a single operation, it is not allowed to have more than one
|
1826
|
-
# MetricValue instances that have the same metric names and identical label
|
1827
|
-
# value combinations. If a request has such duplicated MetricValue instances,
|
1828
|
-
# the entire request is rejected with an invalid argument error.
|
1829
|
-
# Corresponds to the JSON property `metricValueSets`
|
1830
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1MetricValueSet>]
|
1831
|
-
attr_accessor :metric_value_sets
|
1832
|
-
|
1833
|
-
# Identity of the operation. This must be unique within the scope of the service
|
1834
|
-
# that generated the operation. If the service calls Check() and Report() on the
|
1835
|
-
# same operation, the two calls should carry the same id. UUID version 4 is
|
1836
|
-
# recommended, though not required. In scenarios where an operation is computed
|
1837
|
-
# from existing information and an idempotent id is desirable for deduplication
|
1838
|
-
# purpose, UUID version 5 is recommended. See RFC 4122 for details.
|
1839
|
-
# Corresponds to the JSON property `operationId`
|
1840
|
-
# @return [String]
|
1841
|
-
attr_accessor :operation_id
|
1842
|
-
|
1843
|
-
# Fully qualified name of the operation. Reserved for future use.
|
1844
|
-
# Corresponds to the JSON property `operationName`
|
1845
|
-
# @return [String]
|
1846
|
-
attr_accessor :operation_name
|
1847
|
-
|
1848
|
-
# Represents the properties needed for quota operations.
|
1849
|
-
# Corresponds to the JSON property `quotaProperties`
|
1850
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1QuotaProperties]
|
1851
|
-
attr_accessor :quota_properties
|
1852
|
-
|
1853
|
-
# The resources that are involved in the operation. The maximum supported number
|
1854
|
-
# of entries in this field is 100.
|
1855
|
-
# Corresponds to the JSON property `resources`
|
1856
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ResourceInfo>]
|
1857
|
-
attr_accessor :resources
|
1858
|
-
|
1859
|
-
# Required. Start time of the operation.
|
1860
|
-
# Corresponds to the JSON property `startTime`
|
1861
|
-
# @return [String]
|
1862
|
-
attr_accessor :start_time
|
1863
|
-
|
1864
|
-
# Unimplemented. A list of Cloud Trace spans. The span names shall contain the
|
1865
|
-
# id of the destination project which can be either the produce or the consumer
|
1866
|
-
# project.
|
1867
|
-
# Corresponds to the JSON property `traceSpans`
|
1868
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1TraceSpan>]
|
1869
|
-
attr_accessor :trace_spans
|
1870
|
-
|
1871
|
-
# Private Preview. This feature is only available for approved services. User
|
1872
|
-
# defined labels for the resource that this operation is associated with.
|
1873
|
-
# Corresponds to the JSON property `userLabels`
|
1874
|
-
# @return [Hash<String,String>]
|
1875
|
-
attr_accessor :user_labels
|
1876
|
-
|
1877
|
-
def initialize(**args)
|
1878
|
-
update!(**args)
|
1879
|
-
end
|
1880
|
-
|
1881
|
-
# Update properties of this object
|
1882
|
-
def update!(**args)
|
1883
|
-
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
1884
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1885
|
-
@extensions = args[:extensions] if args.key?(:extensions)
|
1886
|
-
@importance = args[:importance] if args.key?(:importance)
|
1887
|
-
@labels = args[:labels] if args.key?(:labels)
|
1888
|
-
@log_entries = args[:log_entries] if args.key?(:log_entries)
|
1889
|
-
@metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets)
|
1890
|
-
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
1891
|
-
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
1892
|
-
@quota_properties = args[:quota_properties] if args.key?(:quota_properties)
|
1893
|
-
@resources = args[:resources] if args.key?(:resources)
|
1894
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1895
|
-
@trace_spans = args[:trace_spans] if args.key?(:trace_spans)
|
1896
|
-
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
1897
|
-
end
|
1898
|
-
end
|
1899
|
-
|
1900
|
-
# Represents the properties needed for quota operations.
|
1901
|
-
class GoogleApiServicecontrolV1QuotaProperties
|
1902
|
-
include Google::Apis::Core::Hashable
|
1903
|
-
|
1904
|
-
# Quota mode for this operation.
|
1905
|
-
# Corresponds to the JSON property `quotaMode`
|
1906
|
-
# @return [String]
|
1907
|
-
attr_accessor :quota_mode
|
1908
|
-
|
1909
|
-
def initialize(**args)
|
1910
|
-
update!(**args)
|
1911
|
-
end
|
1912
|
-
|
1913
|
-
# Update properties of this object
|
1914
|
-
def update!(**args)
|
1915
|
-
@quota_mode = args[:quota_mode] if args.key?(:quota_mode)
|
1916
|
-
end
|
1917
|
-
end
|
1918
|
-
|
1919
|
-
# Request message for the Report method.
|
1920
|
-
class GoogleApiServicecontrolV1ReportRequest
|
1921
|
-
include Google::Apis::Core::Hashable
|
1922
|
-
|
1923
|
-
# Operations to be reported. Typically the service should report one operation
|
1924
|
-
# per request. Putting multiple operations into a single request is allowed, but
|
1925
|
-
# should be used only when multiple operations are natually available at the
|
1926
|
-
# time of the report. There is no limit on the number of operations in the same
|
1927
|
-
# ReportRequest, however the ReportRequest size should be no larger than 1MB.
|
1928
|
-
# See ReportResponse.report_errors for partial failure behavior.
|
1929
|
-
# Corresponds to the JSON property `operations`
|
1930
|
-
# @return [Array<Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1Operation>]
|
1931
|
-
attr_accessor :operations
|
1932
|
-
|
1933
|
-
# Specifies which version of service config should be used to process the
|
1934
|
-
# request. If unspecified or no matching version can be found, the latest one
|
1935
|
-
# will be used.
|
1936
|
-
# Corresponds to the JSON property `serviceConfigId`
|
1937
|
-
# @return [String]
|
1938
|
-
attr_accessor :service_config_id
|
1939
|
-
|
1940
|
-
# The service name as specified in its service configuration. For example, `"
|
1941
|
-
# pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/
|
1942
|
-
# service-management/reference/rpc/google.api#google.api.Service) for the
|
1943
|
-
# definition of a service name.
|
1944
|
-
# Corresponds to the JSON property `serviceName`
|
1945
|
-
# @return [String]
|
1946
|
-
attr_accessor :service_name
|
1947
|
-
|
1948
|
-
def initialize(**args)
|
1949
|
-
update!(**args)
|
1950
|
-
end
|
1951
|
-
|
1952
|
-
# Update properties of this object
|
1953
|
-
def update!(**args)
|
1954
|
-
@operations = args[:operations] if args.key?(:operations)
|
1955
|
-
@service_config_id = args[:service_config_id] if args.key?(:service_config_id)
|
1956
|
-
@service_name = args[:service_name] if args.key?(:service_name)
|
1957
|
-
end
|
1958
|
-
end
|
1959
|
-
|
1960
|
-
# Describes a resource associated with this operation.
|
1961
|
-
class GoogleApiServicecontrolV1ResourceInfo
|
1962
|
-
include Google::Apis::Core::Hashable
|
1963
|
-
|
1964
|
-
# The identifier of the parent of this resource instance. Must be in one of the
|
1965
|
-
# following formats: - `projects/` - `folders/` - `organizations/`
|
1966
|
-
# Corresponds to the JSON property `resourceContainer`
|
1967
|
-
# @return [String]
|
1968
|
-
attr_accessor :resource_container
|
1969
|
-
|
1970
|
-
# The location of the resource. If not empty, the resource will be checked
|
1971
|
-
# against location policy. The value must be a valid zone, region or multiregion.
|
1972
|
-
# For example: "europe-west4" or "northamerica-northeast1-a"
|
1973
|
-
# Corresponds to the JSON property `resourceLocation`
|
1974
|
-
# @return [String]
|
1975
|
-
attr_accessor :resource_location
|
1976
|
-
|
1977
|
-
# Name of the resource. This is used for auditing purposes.
|
1978
|
-
# Corresponds to the JSON property `resourceName`
|
1979
|
-
# @return [String]
|
1980
|
-
attr_accessor :resource_name
|
1981
|
-
|
1982
|
-
def initialize(**args)
|
1983
|
-
update!(**args)
|
1984
|
-
end
|
1985
|
-
|
1986
|
-
# Update properties of this object
|
1987
|
-
def update!(**args)
|
1988
|
-
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
1989
|
-
@resource_location = args[:resource_location] if args.key?(:resource_location)
|
1990
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1991
|
-
end
|
1992
|
-
end
|
1993
|
-
|
1994
|
-
# A span represents a single operation within a trace. Spans can be nested to
|
1995
|
-
# form a trace tree. Often, a trace contains a root span that describes the end-
|
1996
|
-
# to-end latency, and one or more subspans for its sub-operations. A trace can
|
1997
|
-
# also contain multiple root spans, or none at all. Spans do not need to be
|
1998
|
-
# contiguous—there may be gaps or overlaps between spans in a trace.
|
1999
|
-
class GoogleApiServicecontrolV1TraceSpan
|
2000
|
-
include Google::Apis::Core::Hashable
|
2001
|
-
|
2002
|
-
# A set of attributes, each in the format `[KEY]:[VALUE]`.
|
2003
|
-
# Corresponds to the JSON property `attributes`
|
2004
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1Attributes]
|
2005
|
-
attr_accessor :attributes
|
2006
|
-
|
2007
|
-
# An optional number of child spans that were generated while this span was
|
2008
|
-
# active. If set, allows implementation to detect missing child spans.
|
2009
|
-
# Corresponds to the JSON property `childSpanCount`
|
2010
|
-
# @return [Fixnum]
|
2011
|
-
attr_accessor :child_span_count
|
2012
|
-
|
2013
|
-
# Represents a string that might be shortened to a specified length.
|
2014
|
-
# Corresponds to the JSON property `displayName`
|
2015
|
-
# @return [Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1TruncatableString]
|
2016
|
-
attr_accessor :display_name
|
2017
|
-
|
2018
|
-
# The end time of the span. On the client side, this is the time kept by the
|
2019
|
-
# local machine where the span execution ends. On the server side, this is the
|
2020
|
-
# time when the server application handler stops running.
|
2021
|
-
# Corresponds to the JSON property `endTime`
|
2022
|
-
# @return [String]
|
2023
|
-
attr_accessor :end_time
|
2024
|
-
|
2025
|
-
# The resource name of the span in the following format: projects/[PROJECT_ID]/
|
2026
|
-
# traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a
|
2027
|
-
# project; it is a 32-character hexadecimal encoding of a 16-byte array. [
|
2028
|
-
# SPAN_ID] is a unique identifier for a span within a trace; it is a 16-
|
2029
|
-
# character hexadecimal encoding of an 8-byte array.
|
2030
|
-
# Corresponds to the JSON property `name`
|
2031
|
-
# @return [String]
|
2032
|
-
attr_accessor :name
|
2033
|
-
|
2034
|
-
# The [SPAN_ID] of this span's parent span. If this is a root span, then this
|
2035
|
-
# field must be empty.
|
2036
|
-
# Corresponds to the JSON property `parentSpanId`
|
2037
|
-
# @return [String]
|
2038
|
-
attr_accessor :parent_span_id
|
2039
|
-
|
2040
|
-
# (Optional) Set this parameter to indicate whether this span is in the same
|
2041
|
-
# process as its parent. If you do not set this parameter, Stackdriver Trace is
|
2042
|
-
# unable to take advantage of this helpful information.
|
2043
|
-
# Corresponds to the JSON property `sameProcessAsParentSpan`
|
2044
|
-
# @return [Boolean]
|
2045
|
-
attr_accessor :same_process_as_parent_span
|
2046
|
-
alias_method :same_process_as_parent_span?, :same_process_as_parent_span
|
2047
|
-
|
2048
|
-
# The [SPAN_ID] portion of the span's resource name.
|
2049
|
-
# Corresponds to the JSON property `spanId`
|
2050
|
-
# @return [String]
|
2051
|
-
attr_accessor :span_id
|
2052
|
-
|
2053
|
-
# Distinguishes between spans generated in a particular context. For example,
|
2054
|
-
# two spans with the same name may be distinguished using `CLIENT` (caller) and `
|
2055
|
-
# SERVER` (callee) to identify an RPC call.
|
2056
|
-
# Corresponds to the JSON property `spanKind`
|
2057
|
-
# @return [String]
|
2058
|
-
attr_accessor :span_kind
|
2059
|
-
|
2060
|
-
# The start time of the span. On the client side, this is the time kept by the
|
2061
|
-
# local machine where the span execution starts. On the server side, this is the
|
2062
|
-
# time when the server's application handler starts running.
|
2063
|
-
# Corresponds to the JSON property `startTime`
|
2064
|
-
# @return [String]
|
2065
|
-
attr_accessor :start_time
|
2066
|
-
|
2067
|
-
# The `Status` type defines a logical error model that is suitable for different
|
2068
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2069
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
2070
|
-
# data: error code, error message, and error details. You can find out more
|
2071
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
2072
|
-
# //cloud.google.com/apis/design/errors).
|
2073
|
-
# Corresponds to the JSON property `status`
|
2074
|
-
# @return [Google::Apis::PrivatecaV1beta1::Status]
|
2075
|
-
attr_accessor :status
|
2076
|
-
|
2077
|
-
def initialize(**args)
|
2078
|
-
update!(**args)
|
2079
|
-
end
|
2080
|
-
|
2081
|
-
# Update properties of this object
|
2082
|
-
def update!(**args)
|
2083
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
2084
|
-
@child_span_count = args[:child_span_count] if args.key?(:child_span_count)
|
2085
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2086
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
2087
|
-
@name = args[:name] if args.key?(:name)
|
2088
|
-
@parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
|
2089
|
-
@same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span)
|
2090
|
-
@span_id = args[:span_id] if args.key?(:span_id)
|
2091
|
-
@span_kind = args[:span_kind] if args.key?(:span_kind)
|
2092
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
2093
|
-
@status = args[:status] if args.key?(:status)
|
2094
|
-
end
|
2095
|
-
end
|
2096
|
-
|
2097
|
-
# Represents a string that might be shortened to a specified length.
|
2098
|
-
class GoogleApiServicecontrolV1TruncatableString
|
2099
|
-
include Google::Apis::Core::Hashable
|
2100
|
-
|
2101
|
-
# The number of bytes removed from the original string. If this value is 0, then
|
2102
|
-
# the string was not shortened.
|
2103
|
-
# Corresponds to the JSON property `truncatedByteCount`
|
2104
|
-
# @return [Fixnum]
|
2105
|
-
attr_accessor :truncated_byte_count
|
2106
|
-
|
2107
|
-
# The shortened string. For example, if the original string is 500 bytes long
|
2108
|
-
# and the limit of the string is 128 bytes, then `value` contains the first 128
|
2109
|
-
# bytes of the 500-byte string. Truncation always happens on a UTF8 character
|
2110
|
-
# boundary. If there are multi-byte characters in the string, then the length of
|
2111
|
-
# the shortened string might be less than the size limit.
|
2112
|
-
# Corresponds to the JSON property `value`
|
2113
|
-
# @return [String]
|
2114
|
-
attr_accessor :value
|
2115
|
-
|
2116
|
-
def initialize(**args)
|
2117
|
-
update!(**args)
|
2118
|
-
end
|
2119
|
-
|
2120
|
-
# Update properties of this object
|
2121
|
-
def update!(**args)
|
2122
|
-
@truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count)
|
2123
|
-
@value = args[:value] if args.key?(:value)
|
2124
|
-
end
|
2125
|
-
end
|
2126
|
-
|
2127
1057
|
# IssuanceModes specifies the allowed ways in which Certificates may be
|
2128
1058
|
# requested from this CertificateAuthority.
|
2129
1059
|
class IssuanceModes
|
@@ -2574,42 +1504,6 @@ module Google
|
|
2574
1504
|
end
|
2575
1505
|
end
|
2576
1506
|
|
2577
|
-
# Represents an amount of money with its currency type.
|
2578
|
-
class Money
|
2579
|
-
include Google::Apis::Core::Hashable
|
2580
|
-
|
2581
|
-
# The three-letter currency code defined in ISO 4217.
|
2582
|
-
# Corresponds to the JSON property `currencyCode`
|
2583
|
-
# @return [String]
|
2584
|
-
attr_accessor :currency_code
|
2585
|
-
|
2586
|
-
# Number of nano (10^-9) units of the amount. The value must be between -999,999,
|
2587
|
-
# 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
|
2588
|
-
# positive or zero. If `units` is zero, `nanos` can be positive, zero, or
|
2589
|
-
# negative. If `units` is negative, `nanos` must be negative or zero. For
|
2590
|
-
# example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
2591
|
-
# Corresponds to the JSON property `nanos`
|
2592
|
-
# @return [Fixnum]
|
2593
|
-
attr_accessor :nanos
|
2594
|
-
|
2595
|
-
# The whole units of the amount. For example if `currencyCode` is `"USD"`, then
|
2596
|
-
# 1 unit is one US dollar.
|
2597
|
-
# Corresponds to the JSON property `units`
|
2598
|
-
# @return [Fixnum]
|
2599
|
-
attr_accessor :units
|
2600
|
-
|
2601
|
-
def initialize(**args)
|
2602
|
-
update!(**args)
|
2603
|
-
end
|
2604
|
-
|
2605
|
-
# Update properties of this object
|
2606
|
-
def update!(**args)
|
2607
|
-
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
2608
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
2609
|
-
@units = args[:units] if args.key?(:units)
|
2610
|
-
end
|
2611
|
-
end
|
2612
|
-
|
2613
1507
|
# An ObjectId specifies an object identifier (OID). These provide context and
|
2614
1508
|
# describe types in ASN.1 messages.
|
2615
1509
|
class ObjectIdProp
|
@@ -2873,6 +1767,27 @@ module Google
|
|
2873
1767
|
end
|
2874
1768
|
end
|
2875
1769
|
|
1770
|
+
# Operation metadata returned by the CLH during resource state reconciliation.
|
1771
|
+
class ReconciliationOperationMetadata
|
1772
|
+
include Google::Apis::Core::Hashable
|
1773
|
+
|
1774
|
+
# If set to TRUE, the resource has to be deleted. When using this bit, the CLH
|
1775
|
+
# should fail the operation.
|
1776
|
+
# Corresponds to the JSON property `deleteResource`
|
1777
|
+
# @return [Boolean]
|
1778
|
+
attr_accessor :delete_resource
|
1779
|
+
alias_method :delete_resource?, :delete_resource
|
1780
|
+
|
1781
|
+
def initialize(**args)
|
1782
|
+
update!(**args)
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
# Update properties of this object
|
1786
|
+
def update!(**args)
|
1787
|
+
@delete_resource = args[:delete_resource] if args.key?(:delete_resource)
|
1788
|
+
end
|
1789
|
+
end
|
1790
|
+
|
2876
1791
|
# Request message for CertificateAuthorityService.RestoreCertificateAuthority.
|
2877
1792
|
class RestoreCertificateAuthorityRequest
|
2878
1793
|
include Google::Apis::Core::Hashable
|