google-apis-networkconnectivity_v1alpha1 0.5.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +2 -1108
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/representations.rb +0 -382
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +2 -118
- data/lib/google/apis/networkconnectivity_v1alpha1.rb +3 -4
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e39236062cf0a8ff692ca168474cddb796bb58ed1fb98142171d3b516c6f7abd
|
4
|
+
data.tar.gz: 8d4572407189fe0749d050e0ab441d848eccfe844a7b249256f4107f6ef3742e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5174113f00d91643e59da9f75e856a3804894431866c03df2bb1c078d9016f8986c4cc21fb96338e0f5415fb093cbde662d99d2aa6575864e67362a13816c8b0
|
7
|
+
data.tar.gz: 3400f058adfb3107bf981568f284369fa6505a2a9ed8dd6542da171951fbfa0e8fb88e11aa6db2ef6e5e0442f2626aa0f3ec78e01798745148fc8c929c0730f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210810
|
6
|
+
|
7
|
+
### v0.8.0 (2021-07-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210701
|
10
|
+
* Regenerated using generator version 0.4.0
|
11
|
+
|
12
|
+
### v0.7.0 (2021-06-24)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210616
|
15
|
+
* Regenerated using generator version 0.3.0
|
16
|
+
|
17
|
+
### v0.6.0 (2021-05-19)
|
18
|
+
|
19
|
+
* Unspecified changes
|
20
|
+
|
3
21
|
### v0.5.0 (2021-05-02)
|
4
22
|
|
5
23
|
* Regenerated from discovery document revision 20210430
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/network-connectivity/docs) may provide guidance regarding the preferred client library to use.
|
82
|
+
The [product documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -22,68 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module NetworkconnectivityV1alpha1
|
24
24
|
|
25
|
-
# The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute.
|
26
|
-
class AttributeValue
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# A Boolean value represented by `true` or `false`.
|
30
|
-
# Corresponds to the JSON property `boolValue`
|
31
|
-
# @return [Boolean]
|
32
|
-
attr_accessor :bool_value
|
33
|
-
alias_method :bool_value?, :bool_value
|
34
|
-
|
35
|
-
# A 64-bit signed integer.
|
36
|
-
# Corresponds to the JSON property `intValue`
|
37
|
-
# @return [Fixnum]
|
38
|
-
attr_accessor :int_value
|
39
|
-
|
40
|
-
# Represents a string that might be shortened to a specified length.
|
41
|
-
# Corresponds to the JSON property `stringValue`
|
42
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::TruncatableString]
|
43
|
-
attr_accessor :string_value
|
44
|
-
|
45
|
-
def initialize(**args)
|
46
|
-
update!(**args)
|
47
|
-
end
|
48
|
-
|
49
|
-
# Update properties of this object
|
50
|
-
def update!(**args)
|
51
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
52
|
-
@int_value = args[:int_value] if args.key?(:int_value)
|
53
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
# A set of attributes, each in the format `[KEY]:[VALUE]`.
|
58
|
-
class Attributes
|
59
|
-
include Google::Apis::Core::Hashable
|
60
|
-
|
61
|
-
# The set of attributes. Each attribute's key can be up to 128 bytes long. The
|
62
|
-
# value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean
|
63
|
-
# values `true` and `false`. For example: "/instance_id": "my-instance" "/http/
|
64
|
-
# user_agent": "" "/http/request_bytes": 300 "abc.com/myattribute": true
|
65
|
-
# Corresponds to the JSON property `attributeMap`
|
66
|
-
# @return [Hash<String,Google::Apis::NetworkconnectivityV1alpha1::AttributeValue>]
|
67
|
-
attr_accessor :attribute_map
|
68
|
-
|
69
|
-
# The number of attributes that were discarded. Attributes can be discarded
|
70
|
-
# because their keys are too long or because there are too many attributes. If
|
71
|
-
# this value is 0 then all attributes are valid.
|
72
|
-
# Corresponds to the JSON property `droppedAttributesCount`
|
73
|
-
# @return [Fixnum]
|
74
|
-
attr_accessor :dropped_attributes_count
|
75
|
-
|
76
|
-
def initialize(**args)
|
77
|
-
update!(**args)
|
78
|
-
end
|
79
|
-
|
80
|
-
# Update properties of this object
|
81
|
-
def update!(**args)
|
82
|
-
@attribute_map = args[:attribute_map] if args.key?(:attribute_map)
|
83
|
-
@dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count)
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
25
|
# Specifies the audit configuration for a service. The configuration determines
|
88
26
|
# which permission types are logged, and what identities, if any, are exempted
|
89
27
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -155,28 +93,6 @@ module Google
|
|
155
93
|
end
|
156
94
|
end
|
157
95
|
|
158
|
-
# Message for reporting billing requests through Eventstream.
|
159
|
-
class BillingView
|
160
|
-
include Google::Apis::Core::Hashable
|
161
|
-
|
162
|
-
# Billing requests to be reported for cloud.eventstream.v2.ResourceEvent Each
|
163
|
-
# request contains billing operations to be reported under a service name. See
|
164
|
-
# go/billing-view-construction for documentation on constructing billing view
|
165
|
-
# report requests.
|
166
|
-
# Corresponds to the JSON property `reportRequests`
|
167
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::ReportRequest>]
|
168
|
-
attr_accessor :report_requests
|
169
|
-
|
170
|
-
def initialize(**args)
|
171
|
-
update!(**args)
|
172
|
-
end
|
173
|
-
|
174
|
-
# Update properties of this object
|
175
|
-
def update!(**args)
|
176
|
-
@report_requests = args[:report_requests] if args.key?(:report_requests)
|
177
|
-
end
|
178
|
-
end
|
179
|
-
|
180
96
|
# Associates `members` with a `role`.
|
181
97
|
class Binding
|
182
98
|
include Google::Apis::Core::Hashable
|
@@ -248,93 +164,6 @@ module Google
|
|
248
164
|
end
|
249
165
|
end
|
250
166
|
|
251
|
-
# Distribution represents a frequency distribution of double-valued sample
|
252
|
-
# points. It contains the size of the population of sample points plus
|
253
|
-
# additional optional information: - the arithmetic mean of the samples - the
|
254
|
-
# minimum and maximum of the samples - the sum-squared-deviation of the samples,
|
255
|
-
# used to compute variance - a histogram of the values of the sample points
|
256
|
-
class Distribution
|
257
|
-
include Google::Apis::Core::Hashable
|
258
|
-
|
259
|
-
# The number of samples in each histogram bucket. `bucket_counts` are optional.
|
260
|
-
# If present, they must sum to the `count` value. The buckets are defined below
|
261
|
-
# in `bucket_option`. There are N buckets. `bucket_counts[0]` is the number of
|
262
|
-
# samples in the underflow bucket. `bucket_counts[1]` to `bucket_counts[N-1]`
|
263
|
-
# are the numbers of samples in each of the finite buckets. And `bucket_counts[N]
|
264
|
-
# is the number of samples in the overflow bucket. See the comments of `
|
265
|
-
# bucket_option` below for more details. Any suffix of trailing zeros may be
|
266
|
-
# omitted.
|
267
|
-
# Corresponds to the JSON property `bucketCounts`
|
268
|
-
# @return [Array<Fixnum>]
|
269
|
-
attr_accessor :bucket_counts
|
270
|
-
|
271
|
-
# The total number of samples in the distribution. Must be >= 0.
|
272
|
-
# Corresponds to the JSON property `count`
|
273
|
-
# @return [Fixnum]
|
274
|
-
attr_accessor :count
|
275
|
-
|
276
|
-
# Example points. Must be in increasing order of `value` field.
|
277
|
-
# Corresponds to the JSON property `exemplars`
|
278
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::Exemplar>]
|
279
|
-
attr_accessor :exemplars
|
280
|
-
|
281
|
-
# Describing buckets with arbitrary user-provided width.
|
282
|
-
# Corresponds to the JSON property `explicitBuckets`
|
283
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::ExplicitBuckets]
|
284
|
-
attr_accessor :explicit_buckets
|
285
|
-
|
286
|
-
# Describing buckets with exponentially growing width.
|
287
|
-
# Corresponds to the JSON property `exponentialBuckets`
|
288
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::ExponentialBuckets]
|
289
|
-
attr_accessor :exponential_buckets
|
290
|
-
|
291
|
-
# Describing buckets with constant width.
|
292
|
-
# Corresponds to the JSON property `linearBuckets`
|
293
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::LinearBuckets]
|
294
|
-
attr_accessor :linear_buckets
|
295
|
-
|
296
|
-
# The maximum of the population of values. Ignored if `count` is zero.
|
297
|
-
# Corresponds to the JSON property `maximum`
|
298
|
-
# @return [Float]
|
299
|
-
attr_accessor :maximum
|
300
|
-
|
301
|
-
# The arithmetic mean of the samples in the distribution. If `count` is zero
|
302
|
-
# then this field must be zero.
|
303
|
-
# Corresponds to the JSON property `mean`
|
304
|
-
# @return [Float]
|
305
|
-
attr_accessor :mean
|
306
|
-
|
307
|
-
# The minimum of the population of values. Ignored if `count` is zero.
|
308
|
-
# Corresponds to the JSON property `minimum`
|
309
|
-
# @return [Float]
|
310
|
-
attr_accessor :minimum
|
311
|
-
|
312
|
-
# The sum of squared deviations from the mean: Sum[i=1..count]((x_i - mean)^2)
|
313
|
-
# where each x_i is a sample values. If `count` is zero then this field must be
|
314
|
-
# zero, otherwise validation of the request fails.
|
315
|
-
# Corresponds to the JSON property `sumOfSquaredDeviation`
|
316
|
-
# @return [Float]
|
317
|
-
attr_accessor :sum_of_squared_deviation
|
318
|
-
|
319
|
-
def initialize(**args)
|
320
|
-
update!(**args)
|
321
|
-
end
|
322
|
-
|
323
|
-
# Update properties of this object
|
324
|
-
def update!(**args)
|
325
|
-
@bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
|
326
|
-
@count = args[:count] if args.key?(:count)
|
327
|
-
@exemplars = args[:exemplars] if args.key?(:exemplars)
|
328
|
-
@explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
|
329
|
-
@exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
|
330
|
-
@linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
|
331
|
-
@maximum = args[:maximum] if args.key?(:maximum)
|
332
|
-
@mean = args[:mean] if args.key?(:mean)
|
333
|
-
@minimum = args[:minimum] if args.key?(:minimum)
|
334
|
-
@sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
|
335
|
-
end
|
336
|
-
end
|
337
|
-
|
338
167
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
339
168
|
# messages in your APIs. A typical example is to use it as the request or the
|
340
169
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -352,111 +181,6 @@ module Google
|
|
352
181
|
end
|
353
182
|
end
|
354
183
|
|
355
|
-
# Exemplars are example points that may be used to annotate aggregated
|
356
|
-
# distribution values. They are metadata that gives information about a
|
357
|
-
# particular value added to a Distribution bucket, such as a trace ID that was
|
358
|
-
# active when a value was added. They may contain further information, such as a
|
359
|
-
# example values and timestamps, origin, etc.
|
360
|
-
class Exemplar
|
361
|
-
include Google::Apis::Core::Hashable
|
362
|
-
|
363
|
-
# Contextual information about the example value. Examples are: Trace: type.
|
364
|
-
# googleapis.com/google.monitoring.v3.SpanContext Literal string: type.
|
365
|
-
# googleapis.com/google.protobuf.StringValue Labels dropped during aggregation:
|
366
|
-
# type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a
|
367
|
-
# single attachment of any given message type in a single exemplar, and this is
|
368
|
-
# enforced by the system.
|
369
|
-
# Corresponds to the JSON property `attachments`
|
370
|
-
# @return [Array<Hash<String,Object>>]
|
371
|
-
attr_accessor :attachments
|
372
|
-
|
373
|
-
# The observation (sampling) time of the above value.
|
374
|
-
# Corresponds to the JSON property `timestamp`
|
375
|
-
# @return [String]
|
376
|
-
attr_accessor :timestamp
|
377
|
-
|
378
|
-
# Value of the exemplar point. This value determines to which bucket the
|
379
|
-
# exemplar belongs.
|
380
|
-
# Corresponds to the JSON property `value`
|
381
|
-
# @return [Float]
|
382
|
-
attr_accessor :value
|
383
|
-
|
384
|
-
def initialize(**args)
|
385
|
-
update!(**args)
|
386
|
-
end
|
387
|
-
|
388
|
-
# Update properties of this object
|
389
|
-
def update!(**args)
|
390
|
-
@attachments = args[:attachments] if args.key?(:attachments)
|
391
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
392
|
-
@value = args[:value] if args.key?(:value)
|
393
|
-
end
|
394
|
-
end
|
395
|
-
|
396
|
-
# Describing buckets with arbitrary user-provided width.
|
397
|
-
class ExplicitBuckets
|
398
|
-
include Google::Apis::Core::Hashable
|
399
|
-
|
400
|
-
# 'bound' is a list of strictly increasing boundaries between buckets. Note that
|
401
|
-
# a list of length N-1 defines N buckets because of fenceposting. See comments
|
402
|
-
# on `bucket_options` for details. The i'th finite bucket covers the interval [
|
403
|
-
# bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that
|
404
|
-
# there are no finite buckets at all if 'bound' only contains a single element;
|
405
|
-
# in that special case the single bound defines the boundary between the
|
406
|
-
# underflow and overflow buckets. bucket number lower bound upper bound i == 0 (
|
407
|
-
# underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i ==
|
408
|
-
# bound_size() (overflow) bound[i-1] +inf
|
409
|
-
# Corresponds to the JSON property `bounds`
|
410
|
-
# @return [Array<Float>]
|
411
|
-
attr_accessor :bounds
|
412
|
-
|
413
|
-
def initialize(**args)
|
414
|
-
update!(**args)
|
415
|
-
end
|
416
|
-
|
417
|
-
# Update properties of this object
|
418
|
-
def update!(**args)
|
419
|
-
@bounds = args[:bounds] if args.key?(:bounds)
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# Describing buckets with exponentially growing width.
|
424
|
-
class ExponentialBuckets
|
425
|
-
include Google::Apis::Core::Hashable
|
426
|
-
|
427
|
-
# The i'th exponential bucket covers the interval [scale * growth_factor^(i-1),
|
428
|
-
# scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive.
|
429
|
-
# Must be larger than 1.0.
|
430
|
-
# Corresponds to the JSON property `growthFactor`
|
431
|
-
# @return [Float]
|
432
|
-
attr_accessor :growth_factor
|
433
|
-
|
434
|
-
# The number of finite buckets. With the underflow and overflow buckets, the
|
435
|
-
# total number of buckets is `num_finite_buckets` + 2. See comments on `
|
436
|
-
# bucket_options` for details.
|
437
|
-
# Corresponds to the JSON property `numFiniteBuckets`
|
438
|
-
# @return [Fixnum]
|
439
|
-
attr_accessor :num_finite_buckets
|
440
|
-
|
441
|
-
# The i'th exponential bucket covers the interval [scale * growth_factor^(i-1),
|
442
|
-
# scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive.
|
443
|
-
# Must be > 0.
|
444
|
-
# Corresponds to the JSON property `scale`
|
445
|
-
# @return [Float]
|
446
|
-
attr_accessor :scale
|
447
|
-
|
448
|
-
def initialize(**args)
|
449
|
-
update!(**args)
|
450
|
-
end
|
451
|
-
|
452
|
-
# Update properties of this object
|
453
|
-
def update!(**args)
|
454
|
-
@growth_factor = args[:growth_factor] if args.key?(:growth_factor)
|
455
|
-
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
456
|
-
@scale = args[:scale] if args.key?(:scale)
|
457
|
-
end
|
458
|
-
end
|
459
|
-
|
460
184
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
461
185
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
462
186
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -650,125 +374,6 @@ module Google
|
|
650
374
|
end
|
651
375
|
end
|
652
376
|
|
653
|
-
# A common proto for logging HTTP requests. Only contains semantics defined by
|
654
|
-
# the HTTP specification. Product-specific logging information MUST be defined
|
655
|
-
# in a separate message.
|
656
|
-
class HttpRequest
|
657
|
-
include Google::Apis::Core::Hashable
|
658
|
-
|
659
|
-
# The number of HTTP response bytes inserted into cache. Set only when a cache
|
660
|
-
# fill was attempted.
|
661
|
-
# Corresponds to the JSON property `cacheFillBytes`
|
662
|
-
# @return [Fixnum]
|
663
|
-
attr_accessor :cache_fill_bytes
|
664
|
-
|
665
|
-
# Whether or not an entity was served from cache (with or without validation).
|
666
|
-
# Corresponds to the JSON property `cacheHit`
|
667
|
-
# @return [Boolean]
|
668
|
-
attr_accessor :cache_hit
|
669
|
-
alias_method :cache_hit?, :cache_hit
|
670
|
-
|
671
|
-
# Whether or not a cache lookup was attempted.
|
672
|
-
# Corresponds to the JSON property `cacheLookup`
|
673
|
-
# @return [Boolean]
|
674
|
-
attr_accessor :cache_lookup
|
675
|
-
alias_method :cache_lookup?, :cache_lookup
|
676
|
-
|
677
|
-
# Whether or not the response was validated with the origin server before being
|
678
|
-
# served from cache. This field is only meaningful if `cache_hit` is True.
|
679
|
-
# Corresponds to the JSON property `cacheValidatedWithOriginServer`
|
680
|
-
# @return [Boolean]
|
681
|
-
attr_accessor :cache_validated_with_origin_server
|
682
|
-
alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
|
683
|
-
|
684
|
-
# The request processing latency on the server, from the time the request was
|
685
|
-
# received until the response was sent.
|
686
|
-
# Corresponds to the JSON property `latency`
|
687
|
-
# @return [String]
|
688
|
-
attr_accessor :latency
|
689
|
-
|
690
|
-
# Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
|
691
|
-
# Corresponds to the JSON property `protocol`
|
692
|
-
# @return [String]
|
693
|
-
attr_accessor :protocol
|
694
|
-
|
695
|
-
# The referer URL of the request, as defined in [HTTP/1.1 Header Field
|
696
|
-
# Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
697
|
-
# Corresponds to the JSON property `referer`
|
698
|
-
# @return [String]
|
699
|
-
attr_accessor :referer
|
700
|
-
|
701
|
-
# The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
|
702
|
-
# Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
|
703
|
-
# Corresponds to the JSON property `remoteIp`
|
704
|
-
# @return [String]
|
705
|
-
attr_accessor :remote_ip
|
706
|
-
|
707
|
-
# The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
|
708
|
-
# Corresponds to the JSON property `requestMethod`
|
709
|
-
# @return [String]
|
710
|
-
attr_accessor :request_method
|
711
|
-
|
712
|
-
# The size of the HTTP request message in bytes, including the request headers
|
713
|
-
# and the request body.
|
714
|
-
# Corresponds to the JSON property `requestSize`
|
715
|
-
# @return [Fixnum]
|
716
|
-
attr_accessor :request_size
|
717
|
-
|
718
|
-
# The scheme (http, https), the host name, the path, and the query portion of
|
719
|
-
# the URL that was requested. Example: `"http://example.com/some/info?color=red"`
|
720
|
-
# .
|
721
|
-
# Corresponds to the JSON property `requestUrl`
|
722
|
-
# @return [String]
|
723
|
-
attr_accessor :request_url
|
724
|
-
|
725
|
-
# The size of the HTTP response message sent back to the client, in bytes,
|
726
|
-
# including the response headers and the response body.
|
727
|
-
# Corresponds to the JSON property `responseSize`
|
728
|
-
# @return [Fixnum]
|
729
|
-
attr_accessor :response_size
|
730
|
-
|
731
|
-
# The IP address (IPv4 or IPv6) of the origin server that the request was sent
|
732
|
-
# to.
|
733
|
-
# Corresponds to the JSON property `serverIp`
|
734
|
-
# @return [String]
|
735
|
-
attr_accessor :server_ip
|
736
|
-
|
737
|
-
# The response code indicating the status of the response. Examples: 200, 404.
|
738
|
-
# Corresponds to the JSON property `status`
|
739
|
-
# @return [Fixnum]
|
740
|
-
attr_accessor :status
|
741
|
-
|
742
|
-
# The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6.
|
743
|
-
# 0; Windows 98; Q312461; .NET CLR 1.0.3705)"`.
|
744
|
-
# Corresponds to the JSON property `userAgent`
|
745
|
-
# @return [String]
|
746
|
-
attr_accessor :user_agent
|
747
|
-
|
748
|
-
def initialize(**args)
|
749
|
-
update!(**args)
|
750
|
-
end
|
751
|
-
|
752
|
-
# Update properties of this object
|
753
|
-
def update!(**args)
|
754
|
-
@cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
|
755
|
-
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
756
|
-
@cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
|
757
|
-
@cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
|
758
|
-
@latency = args[:latency] if args.key?(:latency)
|
759
|
-
@protocol = args[:protocol] if args.key?(:protocol)
|
760
|
-
@referer = args[:referer] if args.key?(:referer)
|
761
|
-
@remote_ip = args[:remote_ip] if args.key?(:remote_ip)
|
762
|
-
@request_method = args[:request_method] if args.key?(:request_method)
|
763
|
-
@request_size = args[:request_size] if args.key?(:request_size)
|
764
|
-
@request_url = args[:request_url] if args.key?(:request_url)
|
765
|
-
@response_size = args[:response_size] if args.key?(:response_size)
|
766
|
-
@server_ip = args[:server_ip] if args.key?(:server_ip)
|
767
|
-
@status = args[:status] if args.key?(:status)
|
768
|
-
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
769
|
-
end
|
770
|
-
end
|
771
|
-
|
772
377
|
# Network Connectivity Center is a hub-and-spoke abstraction for network
|
773
378
|
# connectivity management in Google Cloud. It reduces operational complexity
|
774
379
|
# through a simple, centralized connectivity management model. Following is the
|
@@ -837,42 +442,6 @@ module Google
|
|
837
442
|
end
|
838
443
|
end
|
839
444
|
|
840
|
-
# Describing buckets with constant width.
|
841
|
-
class LinearBuckets
|
842
|
-
include Google::Apis::Core::Hashable
|
843
|
-
|
844
|
-
# The number of finite buckets. With the underflow and overflow buckets, the
|
845
|
-
# total number of buckets is `num_finite_buckets` + 2. See comments on `
|
846
|
-
# bucket_options` for details.
|
847
|
-
# Corresponds to the JSON property `numFiniteBuckets`
|
848
|
-
# @return [Fixnum]
|
849
|
-
attr_accessor :num_finite_buckets
|
850
|
-
|
851
|
-
# The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i
|
852
|
-
# * width) where i ranges from 1 to num_finite_buckets, inclusive.
|
853
|
-
# Corresponds to the JSON property `offset`
|
854
|
-
# @return [Float]
|
855
|
-
attr_accessor :offset
|
856
|
-
|
857
|
-
# The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i
|
858
|
-
# * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be
|
859
|
-
# strictly positive.
|
860
|
-
# Corresponds to the JSON property `width`
|
861
|
-
# @return [Float]
|
862
|
-
attr_accessor :width
|
863
|
-
|
864
|
-
def initialize(**args)
|
865
|
-
update!(**args)
|
866
|
-
end
|
867
|
-
|
868
|
-
# Update properties of this object
|
869
|
-
def update!(**args)
|
870
|
-
@num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
|
871
|
-
@offset = args[:offset] if args.key?(:offset)
|
872
|
-
@width = args[:width] if args.key?(:width)
|
873
|
-
end
|
874
|
-
end
|
875
|
-
|
876
445
|
# Response for HubService.ListHubs method.
|
877
446
|
class ListHubsResponse
|
878
447
|
include Google::Apis::Core::Hashable
|
@@ -1009,454 +578,6 @@ module Google
|
|
1009
578
|
end
|
1010
579
|
end
|
1011
580
|
|
1012
|
-
# An individual log entry.
|
1013
|
-
class LogEntry
|
1014
|
-
include Google::Apis::Core::Hashable
|
1015
|
-
|
1016
|
-
# A common proto for logging HTTP requests. Only contains semantics defined by
|
1017
|
-
# the HTTP specification. Product-specific logging information MUST be defined
|
1018
|
-
# in a separate message.
|
1019
|
-
# Corresponds to the JSON property `httpRequest`
|
1020
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::HttpRequest]
|
1021
|
-
attr_accessor :http_request
|
1022
|
-
|
1023
|
-
# A unique ID for the log entry used for deduplication. If omitted, the
|
1024
|
-
# implementation will generate one based on operation_id.
|
1025
|
-
# Corresponds to the JSON property `insertId`
|
1026
|
-
# @return [String]
|
1027
|
-
attr_accessor :insert_id
|
1028
|
-
|
1029
|
-
# A set of user-defined (key, value) data that provides additional information
|
1030
|
-
# about the log entry.
|
1031
|
-
# Corresponds to the JSON property `labels`
|
1032
|
-
# @return [Hash<String,String>]
|
1033
|
-
attr_accessor :labels
|
1034
|
-
|
1035
|
-
# Required. The log to which this log entry belongs. Examples: `"syslog"`, `"
|
1036
|
-
# book_log"`.
|
1037
|
-
# Corresponds to the JSON property `name`
|
1038
|
-
# @return [String]
|
1039
|
-
attr_accessor :name
|
1040
|
-
|
1041
|
-
# Additional information about a potentially long-running operation with which a
|
1042
|
-
# log entry is associated.
|
1043
|
-
# Corresponds to the JSON property `operation`
|
1044
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::LogEntryOperation]
|
1045
|
-
attr_accessor :operation
|
1046
|
-
|
1047
|
-
# The log entry payload, represented as a protocol buffer that is expressed as a
|
1048
|
-
# JSON object. The only accepted type currently is AuditLog.
|
1049
|
-
# Corresponds to the JSON property `protoPayload`
|
1050
|
-
# @return [Hash<String,Object>]
|
1051
|
-
attr_accessor :proto_payload
|
1052
|
-
|
1053
|
-
# The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
|
1054
|
-
# Corresponds to the JSON property `severity`
|
1055
|
-
# @return [String]
|
1056
|
-
attr_accessor :severity
|
1057
|
-
|
1058
|
-
# Additional information about the source code location that produced the log
|
1059
|
-
# entry.
|
1060
|
-
# Corresponds to the JSON property `sourceLocation`
|
1061
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::LogEntrySourceLocation]
|
1062
|
-
attr_accessor :source_location
|
1063
|
-
|
1064
|
-
# The log entry payload, represented as a structure that is expressed as a JSON
|
1065
|
-
# object.
|
1066
|
-
# Corresponds to the JSON property `structPayload`
|
1067
|
-
# @return [Hash<String,Object>]
|
1068
|
-
attr_accessor :struct_payload
|
1069
|
-
|
1070
|
-
# The log entry payload, represented as a Unicode string (UTF-8).
|
1071
|
-
# Corresponds to the JSON property `textPayload`
|
1072
|
-
# @return [String]
|
1073
|
-
attr_accessor :text_payload
|
1074
|
-
|
1075
|
-
# The time the event described by the log entry occurred. If omitted, defaults
|
1076
|
-
# to operation start time.
|
1077
|
-
# Corresponds to the JSON property `timestamp`
|
1078
|
-
# @return [String]
|
1079
|
-
attr_accessor :timestamp
|
1080
|
-
|
1081
|
-
# Optional. Resource name of the trace associated with the log entry, if any. If
|
1082
|
-
# this field contains a relative resource name, you can assume the name is
|
1083
|
-
# relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/
|
1084
|
-
# 06796866738c859f2f19b7cfb3214824`
|
1085
|
-
# Corresponds to the JSON property `trace`
|
1086
|
-
# @return [String]
|
1087
|
-
attr_accessor :trace
|
1088
|
-
|
1089
|
-
def initialize(**args)
|
1090
|
-
update!(**args)
|
1091
|
-
end
|
1092
|
-
|
1093
|
-
# Update properties of this object
|
1094
|
-
def update!(**args)
|
1095
|
-
@http_request = args[:http_request] if args.key?(:http_request)
|
1096
|
-
@insert_id = args[:insert_id] if args.key?(:insert_id)
|
1097
|
-
@labels = args[:labels] if args.key?(:labels)
|
1098
|
-
@name = args[:name] if args.key?(:name)
|
1099
|
-
@operation = args[:operation] if args.key?(:operation)
|
1100
|
-
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
1101
|
-
@severity = args[:severity] if args.key?(:severity)
|
1102
|
-
@source_location = args[:source_location] if args.key?(:source_location)
|
1103
|
-
@struct_payload = args[:struct_payload] if args.key?(:struct_payload)
|
1104
|
-
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
1105
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
1106
|
-
@trace = args[:trace] if args.key?(:trace)
|
1107
|
-
end
|
1108
|
-
end
|
1109
|
-
|
1110
|
-
# Additional information about a potentially long-running operation with which a
|
1111
|
-
# log entry is associated.
|
1112
|
-
class LogEntryOperation
|
1113
|
-
include Google::Apis::Core::Hashable
|
1114
|
-
|
1115
|
-
# Optional. Set this to True if this is the first log entry in the operation.
|
1116
|
-
# Corresponds to the JSON property `first`
|
1117
|
-
# @return [Boolean]
|
1118
|
-
attr_accessor :first
|
1119
|
-
alias_method :first?, :first
|
1120
|
-
|
1121
|
-
# Optional. An arbitrary operation identifier. Log entries with the same
|
1122
|
-
# identifier are assumed to be part of the same operation.
|
1123
|
-
# Corresponds to the JSON property `id`
|
1124
|
-
# @return [String]
|
1125
|
-
attr_accessor :id
|
1126
|
-
|
1127
|
-
# Optional. Set this to True if this is the last log entry in the operation.
|
1128
|
-
# Corresponds to the JSON property `last`
|
1129
|
-
# @return [Boolean]
|
1130
|
-
attr_accessor :last
|
1131
|
-
alias_method :last?, :last
|
1132
|
-
|
1133
|
-
# Optional. An arbitrary producer identifier. The combination of `id` and `
|
1134
|
-
# producer` must be globally unique. Examples for `producer`: `"MyDivision.
|
1135
|
-
# MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
|
1136
|
-
# Corresponds to the JSON property `producer`
|
1137
|
-
# @return [String]
|
1138
|
-
attr_accessor :producer
|
1139
|
-
|
1140
|
-
def initialize(**args)
|
1141
|
-
update!(**args)
|
1142
|
-
end
|
1143
|
-
|
1144
|
-
# Update properties of this object
|
1145
|
-
def update!(**args)
|
1146
|
-
@first = args[:first] if args.key?(:first)
|
1147
|
-
@id = args[:id] if args.key?(:id)
|
1148
|
-
@last = args[:last] if args.key?(:last)
|
1149
|
-
@producer = args[:producer] if args.key?(:producer)
|
1150
|
-
end
|
1151
|
-
end
|
1152
|
-
|
1153
|
-
# Additional information about the source code location that produced the log
|
1154
|
-
# entry.
|
1155
|
-
class LogEntrySourceLocation
|
1156
|
-
include Google::Apis::Core::Hashable
|
1157
|
-
|
1158
|
-
# Optional. Source file name. Depending on the runtime environment, this might
|
1159
|
-
# be a simple name or a fully-qualified name.
|
1160
|
-
# Corresponds to the JSON property `file`
|
1161
|
-
# @return [String]
|
1162
|
-
attr_accessor :file
|
1163
|
-
|
1164
|
-
# Optional. Human-readable name of the function or method being invoked, with
|
1165
|
-
# optional context such as the class or package name. This information may be
|
1166
|
-
# used in contexts such as the logs viewer, where a file and line number are
|
1167
|
-
# less meaningful. The format can vary by language. For example: `qual.if.ied.
|
1168
|
-
# Class.method` (Java), `dir/package.func` (Go), `function` (Python).
|
1169
|
-
# Corresponds to the JSON property `function`
|
1170
|
-
# @return [String]
|
1171
|
-
attr_accessor :function
|
1172
|
-
|
1173
|
-
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
1174
|
-
# available.
|
1175
|
-
# Corresponds to the JSON property `line`
|
1176
|
-
# @return [Fixnum]
|
1177
|
-
attr_accessor :line
|
1178
|
-
|
1179
|
-
def initialize(**args)
|
1180
|
-
update!(**args)
|
1181
|
-
end
|
1182
|
-
|
1183
|
-
# Update properties of this object
|
1184
|
-
def update!(**args)
|
1185
|
-
@file = args[:file] if args.key?(:file)
|
1186
|
-
@function = args[:function] if args.key?(:function)
|
1187
|
-
@line = args[:line] if args.key?(:line)
|
1188
|
-
end
|
1189
|
-
end
|
1190
|
-
|
1191
|
-
# Represents a single metric value.
|
1192
|
-
class MetricValue
|
1193
|
-
include Google::Apis::Core::Hashable
|
1194
|
-
|
1195
|
-
# A boolean value.
|
1196
|
-
# Corresponds to the JSON property `boolValue`
|
1197
|
-
# @return [Boolean]
|
1198
|
-
attr_accessor :bool_value
|
1199
|
-
alias_method :bool_value?, :bool_value
|
1200
|
-
|
1201
|
-
# Distribution represents a frequency distribution of double-valued sample
|
1202
|
-
# points. It contains the size of the population of sample points plus
|
1203
|
-
# additional optional information: - the arithmetic mean of the samples - the
|
1204
|
-
# minimum and maximum of the samples - the sum-squared-deviation of the samples,
|
1205
|
-
# used to compute variance - a histogram of the values of the sample points
|
1206
|
-
# Corresponds to the JSON property `distributionValue`
|
1207
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Distribution]
|
1208
|
-
attr_accessor :distribution_value
|
1209
|
-
|
1210
|
-
# A double precision floating point value.
|
1211
|
-
# Corresponds to the JSON property `doubleValue`
|
1212
|
-
# @return [Float]
|
1213
|
-
attr_accessor :double_value
|
1214
|
-
|
1215
|
-
# The end of the time period over which this metric value's measurement applies.
|
1216
|
-
# If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
|
1217
|
-
# Corresponds to the JSON property `endTime`
|
1218
|
-
# @return [String]
|
1219
|
-
attr_accessor :end_time
|
1220
|
-
|
1221
|
-
# A signed 64-bit integer value.
|
1222
|
-
# Corresponds to the JSON property `int64Value`
|
1223
|
-
# @return [Fixnum]
|
1224
|
-
attr_accessor :int64_value
|
1225
|
-
|
1226
|
-
# The labels describing the metric value. See comments on google.api.
|
1227
|
-
# servicecontrol.v1.Operation.labels for the overriding relationship. Note that
|
1228
|
-
# this map must not contain monitored resource labels.
|
1229
|
-
# Corresponds to the JSON property `labels`
|
1230
|
-
# @return [Hash<String,String>]
|
1231
|
-
attr_accessor :labels
|
1232
|
-
|
1233
|
-
# Represents an amount of money with its currency type.
|
1234
|
-
# Corresponds to the JSON property `moneyValue`
|
1235
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Money]
|
1236
|
-
attr_accessor :money_value
|
1237
|
-
|
1238
|
-
# The start of the time period over which this metric value's measurement
|
1239
|
-
# applies. The time period has different semantics for different metric types (
|
1240
|
-
# cumulative, delta, and gauge). See the metric definition documentation in the
|
1241
|
-
# service configuration for details. If not specified, google.api.servicecontrol.
|
1242
|
-
# v1.Operation.start_time will be used.
|
1243
|
-
# Corresponds to the JSON property `startTime`
|
1244
|
-
# @return [String]
|
1245
|
-
attr_accessor :start_time
|
1246
|
-
|
1247
|
-
# A text string value.
|
1248
|
-
# Corresponds to the JSON property `stringValue`
|
1249
|
-
# @return [String]
|
1250
|
-
attr_accessor :string_value
|
1251
|
-
|
1252
|
-
def initialize(**args)
|
1253
|
-
update!(**args)
|
1254
|
-
end
|
1255
|
-
|
1256
|
-
# Update properties of this object
|
1257
|
-
def update!(**args)
|
1258
|
-
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
1259
|
-
@distribution_value = args[:distribution_value] if args.key?(:distribution_value)
|
1260
|
-
@double_value = args[:double_value] if args.key?(:double_value)
|
1261
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1262
|
-
@int64_value = args[:int64_value] if args.key?(:int64_value)
|
1263
|
-
@labels = args[:labels] if args.key?(:labels)
|
1264
|
-
@money_value = args[:money_value] if args.key?(:money_value)
|
1265
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1266
|
-
@string_value = args[:string_value] if args.key?(:string_value)
|
1267
|
-
end
|
1268
|
-
end
|
1269
|
-
|
1270
|
-
# Represents a set of metric values in the same metric. Each metric value in the
|
1271
|
-
# set should have a unique combination of start time, end time, and label values.
|
1272
|
-
class MetricValueSet
|
1273
|
-
include Google::Apis::Core::Hashable
|
1274
|
-
|
1275
|
-
# The metric name defined in the service configuration.
|
1276
|
-
# Corresponds to the JSON property `metricName`
|
1277
|
-
# @return [String]
|
1278
|
-
attr_accessor :metric_name
|
1279
|
-
|
1280
|
-
# The values in this metric.
|
1281
|
-
# Corresponds to the JSON property `metricValues`
|
1282
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::MetricValue>]
|
1283
|
-
attr_accessor :metric_values
|
1284
|
-
|
1285
|
-
def initialize(**args)
|
1286
|
-
update!(**args)
|
1287
|
-
end
|
1288
|
-
|
1289
|
-
# Update properties of this object
|
1290
|
-
def update!(**args)
|
1291
|
-
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
1292
|
-
@metric_values = args[:metric_values] if args.key?(:metric_values)
|
1293
|
-
end
|
1294
|
-
end
|
1295
|
-
|
1296
|
-
# Represents an amount of money with its currency type.
|
1297
|
-
class Money
|
1298
|
-
include Google::Apis::Core::Hashable
|
1299
|
-
|
1300
|
-
# The three-letter currency code defined in ISO 4217.
|
1301
|
-
# Corresponds to the JSON property `currencyCode`
|
1302
|
-
# @return [String]
|
1303
|
-
attr_accessor :currency_code
|
1304
|
-
|
1305
|
-
# Number of nano (10^-9) units of the amount. The value must be between -999,999,
|
1306
|
-
# 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
|
1307
|
-
# positive or zero. If `units` is zero, `nanos` can be positive, zero, or
|
1308
|
-
# negative. If `units` is negative, `nanos` must be negative or zero. For
|
1309
|
-
# example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
1310
|
-
# Corresponds to the JSON property `nanos`
|
1311
|
-
# @return [Fixnum]
|
1312
|
-
attr_accessor :nanos
|
1313
|
-
|
1314
|
-
# The whole units of the amount. For example if `currencyCode` is `"USD"`, then
|
1315
|
-
# 1 unit is one US dollar.
|
1316
|
-
# Corresponds to the JSON property `units`
|
1317
|
-
# @return [Fixnum]
|
1318
|
-
attr_accessor :units
|
1319
|
-
|
1320
|
-
def initialize(**args)
|
1321
|
-
update!(**args)
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
# Update properties of this object
|
1325
|
-
def update!(**args)
|
1326
|
-
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1327
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
1328
|
-
@units = args[:units] if args.key?(:units)
|
1329
|
-
end
|
1330
|
-
end
|
1331
|
-
|
1332
|
-
# Represents information regarding an operation.
|
1333
|
-
class Operation
|
1334
|
-
include Google::Apis::Core::Hashable
|
1335
|
-
|
1336
|
-
# Identity of the consumer who is using the service. This field should be filled
|
1337
|
-
# in for the operations initiated by a consumer, but not for service-initiated
|
1338
|
-
# operations that are not related to a specific consumer. - This can be in one
|
1339
|
-
# of the following formats: - project:PROJECT_ID, - project`_`number:
|
1340
|
-
# PROJECT_NUMBER, - projects/PROJECT_ID or PROJECT_NUMBER, - folders/
|
1341
|
-
# FOLDER_NUMBER, - organizations/ORGANIZATION_NUMBER, - api`_`key:API_KEY.
|
1342
|
-
# Corresponds to the JSON property `consumerId`
|
1343
|
-
# @return [String]
|
1344
|
-
attr_accessor :consumer_id
|
1345
|
-
|
1346
|
-
# End time of the operation. Required when the operation is used in
|
1347
|
-
# ServiceController.Report, but optional when the operation is used in
|
1348
|
-
# ServiceController.Check.
|
1349
|
-
# Corresponds to the JSON property `endTime`
|
1350
|
-
# @return [String]
|
1351
|
-
attr_accessor :end_time
|
1352
|
-
|
1353
|
-
# Unimplemented.
|
1354
|
-
# Corresponds to the JSON property `extensions`
|
1355
|
-
# @return [Array<Hash<String,Object>>]
|
1356
|
-
attr_accessor :extensions
|
1357
|
-
|
1358
|
-
# DO NOT USE. This is an experimental field.
|
1359
|
-
# Corresponds to the JSON property `importance`
|
1360
|
-
# @return [String]
|
1361
|
-
attr_accessor :importance
|
1362
|
-
|
1363
|
-
# Labels describing the operation. Only the following labels are allowed: -
|
1364
|
-
# Labels describing monitored resources as defined in the service configuration.
|
1365
|
-
# - Default labels of metric values. When specified, labels defined in the
|
1366
|
-
# metric value override these default. - The following labels defined by Google
|
1367
|
-
# Cloud Platform: - `cloud.googleapis.com/location` describing the location
|
1368
|
-
# where the operation happened, - `servicecontrol.googleapis.com/user_agent`
|
1369
|
-
# describing the user agent of the API request, - `servicecontrol.googleapis.com/
|
1370
|
-
# service_agent` describing the service used to handle the API request (e.g. ESP)
|
1371
|
-
# , - `servicecontrol.googleapis.com/platform` describing the platform where the
|
1372
|
-
# API is served, such as App Engine, Compute Engine, or Kubernetes Engine.
|
1373
|
-
# Corresponds to the JSON property `labels`
|
1374
|
-
# @return [Hash<String,String>]
|
1375
|
-
attr_accessor :labels
|
1376
|
-
|
1377
|
-
# Represents information to be logged.
|
1378
|
-
# Corresponds to the JSON property `logEntries`
|
1379
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::LogEntry>]
|
1380
|
-
attr_accessor :log_entries
|
1381
|
-
|
1382
|
-
# Represents information about this operation. Each MetricValueSet corresponds
|
1383
|
-
# to a metric defined in the service configuration. The data type used in the
|
1384
|
-
# MetricValueSet must agree with the data type specified in the metric
|
1385
|
-
# definition. Within a single operation, it is not allowed to have more than one
|
1386
|
-
# MetricValue instances that have the same metric names and identical label
|
1387
|
-
# value combinations. If a request has such duplicated MetricValue instances,
|
1388
|
-
# the entire request is rejected with an invalid argument error.
|
1389
|
-
# Corresponds to the JSON property `metricValueSets`
|
1390
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::MetricValueSet>]
|
1391
|
-
attr_accessor :metric_value_sets
|
1392
|
-
|
1393
|
-
# Identity of the operation. This must be unique within the scope of the service
|
1394
|
-
# that generated the operation. If the service calls Check() and Report() on the
|
1395
|
-
# same operation, the two calls should carry the same id. UUID version 4 is
|
1396
|
-
# recommended, though not required. In scenarios where an operation is computed
|
1397
|
-
# from existing information and an idempotent id is desirable for deduplication
|
1398
|
-
# purpose, UUID version 5 is recommended. See RFC 4122 for details.
|
1399
|
-
# Corresponds to the JSON property `operationId`
|
1400
|
-
# @return [String]
|
1401
|
-
attr_accessor :operation_id
|
1402
|
-
|
1403
|
-
# Fully qualified name of the operation. Reserved for future use.
|
1404
|
-
# Corresponds to the JSON property `operationName`
|
1405
|
-
# @return [String]
|
1406
|
-
attr_accessor :operation_name
|
1407
|
-
|
1408
|
-
# Represents the properties needed for quota operations.
|
1409
|
-
# Corresponds to the JSON property `quotaProperties`
|
1410
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::QuotaProperties]
|
1411
|
-
attr_accessor :quota_properties
|
1412
|
-
|
1413
|
-
# The resources that are involved in the operation. The maximum supported number
|
1414
|
-
# of entries in this field is 100.
|
1415
|
-
# Corresponds to the JSON property `resources`
|
1416
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::ResourceInfo>]
|
1417
|
-
attr_accessor :resources
|
1418
|
-
|
1419
|
-
# Required. Start time of the operation.
|
1420
|
-
# Corresponds to the JSON property `startTime`
|
1421
|
-
# @return [String]
|
1422
|
-
attr_accessor :start_time
|
1423
|
-
|
1424
|
-
# Unimplemented. A list of Cloud Trace spans. The span names shall contain the
|
1425
|
-
# id of the destination project which can be either the produce or the consumer
|
1426
|
-
# project.
|
1427
|
-
# Corresponds to the JSON property `traceSpans`
|
1428
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::TraceSpan>]
|
1429
|
-
attr_accessor :trace_spans
|
1430
|
-
|
1431
|
-
# Private Preview. This feature is only available for approved services. User
|
1432
|
-
# defined labels for the resource that this operation is associated with.
|
1433
|
-
# Corresponds to the JSON property `userLabels`
|
1434
|
-
# @return [Hash<String,String>]
|
1435
|
-
attr_accessor :user_labels
|
1436
|
-
|
1437
|
-
def initialize(**args)
|
1438
|
-
update!(**args)
|
1439
|
-
end
|
1440
|
-
|
1441
|
-
# Update properties of this object
|
1442
|
-
def update!(**args)
|
1443
|
-
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
1444
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1445
|
-
@extensions = args[:extensions] if args.key?(:extensions)
|
1446
|
-
@importance = args[:importance] if args.key?(:importance)
|
1447
|
-
@labels = args[:labels] if args.key?(:labels)
|
1448
|
-
@log_entries = args[:log_entries] if args.key?(:log_entries)
|
1449
|
-
@metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets)
|
1450
|
-
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
1451
|
-
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
1452
|
-
@quota_properties = args[:quota_properties] if args.key?(:quota_properties)
|
1453
|
-
@resources = args[:resources] if args.key?(:resources)
|
1454
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
1455
|
-
@trace_spans = args[:trace_spans] if args.key?(:trace_spans)
|
1456
|
-
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
581
|
# Represents the metadata of the long-running operation.
|
1461
582
|
class OperationMetadata
|
1462
583
|
include Google::Apis::Core::Hashable
|
@@ -1540,7 +661,7 @@ module Google
|
|
1540
661
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1541
662
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1542
663
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1543
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
664
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1544
665
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1545
666
|
# google.com/iam/docs/).
|
1546
667
|
class Policy
|
@@ -1606,100 +727,6 @@ module Google
|
|
1606
727
|
end
|
1607
728
|
end
|
1608
729
|
|
1609
|
-
# Represents the properties needed for quota operations.
|
1610
|
-
class QuotaProperties
|
1611
|
-
include Google::Apis::Core::Hashable
|
1612
|
-
|
1613
|
-
# Quota mode for this operation.
|
1614
|
-
# Corresponds to the JSON property `quotaMode`
|
1615
|
-
# @return [String]
|
1616
|
-
attr_accessor :quota_mode
|
1617
|
-
|
1618
|
-
def initialize(**args)
|
1619
|
-
update!(**args)
|
1620
|
-
end
|
1621
|
-
|
1622
|
-
# Update properties of this object
|
1623
|
-
def update!(**args)
|
1624
|
-
@quota_mode = args[:quota_mode] if args.key?(:quota_mode)
|
1625
|
-
end
|
1626
|
-
end
|
1627
|
-
|
1628
|
-
# Request message for the Report method.
|
1629
|
-
class ReportRequest
|
1630
|
-
include Google::Apis::Core::Hashable
|
1631
|
-
|
1632
|
-
# Operations to be reported. Typically the service should report one operation
|
1633
|
-
# per request. Putting multiple operations into a single request is allowed, but
|
1634
|
-
# should be used only when multiple operations are natually available at the
|
1635
|
-
# time of the report. There is no limit on the number of operations in the same
|
1636
|
-
# ReportRequest, however the ReportRequest size should be no larger than 1MB.
|
1637
|
-
# See ReportResponse.report_errors for partial failure behavior.
|
1638
|
-
# Corresponds to the JSON property `operations`
|
1639
|
-
# @return [Array<Google::Apis::NetworkconnectivityV1alpha1::Operation>]
|
1640
|
-
attr_accessor :operations
|
1641
|
-
|
1642
|
-
# Specifies which version of service config should be used to process the
|
1643
|
-
# request. If unspecified or no matching version can be found, the latest one
|
1644
|
-
# will be used.
|
1645
|
-
# Corresponds to the JSON property `serviceConfigId`
|
1646
|
-
# @return [String]
|
1647
|
-
attr_accessor :service_config_id
|
1648
|
-
|
1649
|
-
# The service name as specified in its service configuration. For example, `"
|
1650
|
-
# pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/
|
1651
|
-
# service-management/reference/rpc/google.api#google.api.Service) for the
|
1652
|
-
# definition of a service name.
|
1653
|
-
# Corresponds to the JSON property `serviceName`
|
1654
|
-
# @return [String]
|
1655
|
-
attr_accessor :service_name
|
1656
|
-
|
1657
|
-
def initialize(**args)
|
1658
|
-
update!(**args)
|
1659
|
-
end
|
1660
|
-
|
1661
|
-
# Update properties of this object
|
1662
|
-
def update!(**args)
|
1663
|
-
@operations = args[:operations] if args.key?(:operations)
|
1664
|
-
@service_config_id = args[:service_config_id] if args.key?(:service_config_id)
|
1665
|
-
@service_name = args[:service_name] if args.key?(:service_name)
|
1666
|
-
end
|
1667
|
-
end
|
1668
|
-
|
1669
|
-
# Describes a resource associated with this operation.
|
1670
|
-
class ResourceInfo
|
1671
|
-
include Google::Apis::Core::Hashable
|
1672
|
-
|
1673
|
-
# The identifier of the parent of this resource instance. Must be in one of the
|
1674
|
-
# following formats: - `projects/` - `folders/` - `organizations/`
|
1675
|
-
# Corresponds to the JSON property `resourceContainer`
|
1676
|
-
# @return [String]
|
1677
|
-
attr_accessor :resource_container
|
1678
|
-
|
1679
|
-
# The location of the resource. If not empty, the resource will be checked
|
1680
|
-
# against location policy. The value must be a valid zone, region or multiregion.
|
1681
|
-
# For example: "europe-west4" or "northamerica-northeast1-a"
|
1682
|
-
# Corresponds to the JSON property `resourceLocation`
|
1683
|
-
# @return [String]
|
1684
|
-
attr_accessor :resource_location
|
1685
|
-
|
1686
|
-
# Name of the resource. This is used for auditing purposes.
|
1687
|
-
# Corresponds to the JSON property `resourceName`
|
1688
|
-
# @return [String]
|
1689
|
-
attr_accessor :resource_name
|
1690
|
-
|
1691
|
-
def initialize(**args)
|
1692
|
-
update!(**args)
|
1693
|
-
end
|
1694
|
-
|
1695
|
-
# Update properties of this object
|
1696
|
-
def update!(**args)
|
1697
|
-
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
1698
|
-
@resource_location = args[:resource_location] if args.key?(:resource_location)
|
1699
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1700
|
-
end
|
1701
|
-
end
|
1702
|
-
|
1703
730
|
# RouterAppliance represents a Router appliance which is specified by a VM URI
|
1704
731
|
# and a NIC address.
|
1705
732
|
class RouterApplianceInstance
|
@@ -1760,7 +787,7 @@ module Google
|
|
1760
787
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1761
788
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1762
789
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1763
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
790
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1764
791
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1765
792
|
# google.com/iam/docs/).
|
1766
793
|
# Corresponds to the JSON property `policy`
|
@@ -1907,139 +934,6 @@ module Google
|
|
1907
934
|
@permissions = args[:permissions] if args.key?(:permissions)
|
1908
935
|
end
|
1909
936
|
end
|
1910
|
-
|
1911
|
-
# A span represents a single operation within a trace. Spans can be nested to
|
1912
|
-
# form a trace tree. Often, a trace contains a root span that describes the end-
|
1913
|
-
# to-end latency, and one or more subspans for its sub-operations. A trace can
|
1914
|
-
# also contain multiple root spans, or none at all. Spans do not need to be
|
1915
|
-
# contiguous—there may be gaps or overlaps between spans in a trace.
|
1916
|
-
class TraceSpan
|
1917
|
-
include Google::Apis::Core::Hashable
|
1918
|
-
|
1919
|
-
# A set of attributes, each in the format `[KEY]:[VALUE]`.
|
1920
|
-
# Corresponds to the JSON property `attributes`
|
1921
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Attributes]
|
1922
|
-
attr_accessor :attributes
|
1923
|
-
|
1924
|
-
# An optional number of child spans that were generated while this span was
|
1925
|
-
# active. If set, allows implementation to detect missing child spans.
|
1926
|
-
# Corresponds to the JSON property `childSpanCount`
|
1927
|
-
# @return [Fixnum]
|
1928
|
-
attr_accessor :child_span_count
|
1929
|
-
|
1930
|
-
# Represents a string that might be shortened to a specified length.
|
1931
|
-
# Corresponds to the JSON property `displayName`
|
1932
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::TruncatableString]
|
1933
|
-
attr_accessor :display_name
|
1934
|
-
|
1935
|
-
# The end time of the span. On the client side, this is the time kept by the
|
1936
|
-
# local machine where the span execution ends. On the server side, this is the
|
1937
|
-
# time when the server application handler stops running.
|
1938
|
-
# Corresponds to the JSON property `endTime`
|
1939
|
-
# @return [String]
|
1940
|
-
attr_accessor :end_time
|
1941
|
-
|
1942
|
-
# The resource name of the span in the following format: projects/[PROJECT_ID]/
|
1943
|
-
# traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a
|
1944
|
-
# project; it is a 32-character hexadecimal encoding of a 16-byte array. [
|
1945
|
-
# SPAN_ID] is a unique identifier for a span within a trace; it is a 16-
|
1946
|
-
# character hexadecimal encoding of an 8-byte array.
|
1947
|
-
# Corresponds to the JSON property `name`
|
1948
|
-
# @return [String]
|
1949
|
-
attr_accessor :name
|
1950
|
-
|
1951
|
-
# The [SPAN_ID] of this span's parent span. If this is a root span, then this
|
1952
|
-
# field must be empty.
|
1953
|
-
# Corresponds to the JSON property `parentSpanId`
|
1954
|
-
# @return [String]
|
1955
|
-
attr_accessor :parent_span_id
|
1956
|
-
|
1957
|
-
# (Optional) Set this parameter to indicate whether this span is in the same
|
1958
|
-
# process as its parent. If you do not set this parameter, Stackdriver Trace is
|
1959
|
-
# unable to take advantage of this helpful information.
|
1960
|
-
# Corresponds to the JSON property `sameProcessAsParentSpan`
|
1961
|
-
# @return [Boolean]
|
1962
|
-
attr_accessor :same_process_as_parent_span
|
1963
|
-
alias_method :same_process_as_parent_span?, :same_process_as_parent_span
|
1964
|
-
|
1965
|
-
# The [SPAN_ID] portion of the span's resource name.
|
1966
|
-
# Corresponds to the JSON property `spanId`
|
1967
|
-
# @return [String]
|
1968
|
-
attr_accessor :span_id
|
1969
|
-
|
1970
|
-
# Distinguishes between spans generated in a particular context. For example,
|
1971
|
-
# two spans with the same name may be distinguished using `CLIENT` (caller) and `
|
1972
|
-
# SERVER` (callee) to identify an RPC call.
|
1973
|
-
# Corresponds to the JSON property `spanKind`
|
1974
|
-
# @return [String]
|
1975
|
-
attr_accessor :span_kind
|
1976
|
-
|
1977
|
-
# The start time of the span. On the client side, this is the time kept by the
|
1978
|
-
# local machine where the span execution starts. On the server side, this is the
|
1979
|
-
# time when the server's application handler starts running.
|
1980
|
-
# Corresponds to the JSON property `startTime`
|
1981
|
-
# @return [String]
|
1982
|
-
attr_accessor :start_time
|
1983
|
-
|
1984
|
-
# The `Status` type defines a logical error model that is suitable for different
|
1985
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1986
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1987
|
-
# data: error code, error message, and error details. You can find out more
|
1988
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
1989
|
-
# //cloud.google.com/apis/design/errors).
|
1990
|
-
# Corresponds to the JSON property `status`
|
1991
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleRpcStatus]
|
1992
|
-
attr_accessor :status
|
1993
|
-
|
1994
|
-
def initialize(**args)
|
1995
|
-
update!(**args)
|
1996
|
-
end
|
1997
|
-
|
1998
|
-
# Update properties of this object
|
1999
|
-
def update!(**args)
|
2000
|
-
@attributes = args[:attributes] if args.key?(:attributes)
|
2001
|
-
@child_span_count = args[:child_span_count] if args.key?(:child_span_count)
|
2002
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2003
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
2004
|
-
@name = args[:name] if args.key?(:name)
|
2005
|
-
@parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
|
2006
|
-
@same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span)
|
2007
|
-
@span_id = args[:span_id] if args.key?(:span_id)
|
2008
|
-
@span_kind = args[:span_kind] if args.key?(:span_kind)
|
2009
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
2010
|
-
@status = args[:status] if args.key?(:status)
|
2011
|
-
end
|
2012
|
-
end
|
2013
|
-
|
2014
|
-
# Represents a string that might be shortened to a specified length.
|
2015
|
-
class TruncatableString
|
2016
|
-
include Google::Apis::Core::Hashable
|
2017
|
-
|
2018
|
-
# The number of bytes removed from the original string. If this value is 0, then
|
2019
|
-
# the string was not shortened.
|
2020
|
-
# Corresponds to the JSON property `truncatedByteCount`
|
2021
|
-
# @return [Fixnum]
|
2022
|
-
attr_accessor :truncated_byte_count
|
2023
|
-
|
2024
|
-
# The shortened string. For example, if the original string is 500 bytes long
|
2025
|
-
# and the limit of the string is 128 bytes, then `value` contains the first 128
|
2026
|
-
# bytes of the 500-byte string. Truncation always happens on a UTF8 character
|
2027
|
-
# boundary. If there are multi-byte characters in the string, then the length of
|
2028
|
-
# the shortened string might be less than the size limit.
|
2029
|
-
# Corresponds to the JSON property `value`
|
2030
|
-
# @return [String]
|
2031
|
-
attr_accessor :value
|
2032
|
-
|
2033
|
-
def initialize(**args)
|
2034
|
-
update!(**args)
|
2035
|
-
end
|
2036
|
-
|
2037
|
-
# Update properties of this object
|
2038
|
-
def update!(**args)
|
2039
|
-
@truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count)
|
2040
|
-
@value = args[:value] if args.key?(:value)
|
2041
|
-
end
|
2042
|
-
end
|
2043
937
|
end
|
2044
938
|
end
|
2045
939
|
end
|