google-apis-networkconnectivity_v1alpha1 0.3.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87b73ed5b683b756a999fb5bb48066476a557e3f8757f71a2cb3a0f345b1e54b
4
- data.tar.gz: b7f6f38f2007cbe093132e361df225350f0dfcb44f6d72585b065dd5c37e04a9
3
+ metadata.gz: d03351bc92c137e5ab8463f4fb1d1889c7e1be4f7c2a0ca2a77b9ce7250b24c8
4
+ data.tar.gz: b7a892011116ae3a46d362e17e7af235b6f87f3940b800d3e57b8548123492ed
5
5
  SHA512:
6
- metadata.gz: 61a5716fd8e10f3617d74c97404db1d3be9849e70a6fb7b4fe9a072aeec19548cfae8e46b552e3fe21bb55d2f2bffaea9caa39e5054e42cbe7d83ac973228670
7
- data.tar.gz: f5b2ace46c65c005df896cc2d325321b41a4e9e7ddacfa233ce633c5c0a33ed7ce4a5b989106c0350827a1dfe21c784e7aa7a60f1cddef1f992373d8212d2394
6
+ metadata.gz: 0713261a2650912ba7996fc2a49e97844a487728a9b1e9fe8929dcd984792aefe8499e48e378df459c8245dac8719a4377a08e3ca6dc8c1e4c3904a2d5496006
7
+ data.tar.gz: 42c891ee2c72a24e9522aa931603c8567ba9b117b58562a72d798736bb11286a9d327c351526a82ce1e1e2ba511197478635b036b360e0596e1958d9b8f7f4e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.8.0 (2021-07-03)
4
+
5
+ * Regenerated from discovery document revision 20210701
6
+ * Regenerated using generator version 0.4.0
7
+
8
+ ### v0.7.0 (2021-06-24)
9
+
10
+ * Regenerated from discovery document revision 20210616
11
+ * Regenerated using generator version 0.3.0
12
+
13
+ ### v0.6.0 (2021-05-19)
14
+
15
+ * Unspecified changes
16
+
17
+ ### v0.5.0 (2021-05-02)
18
+
19
+ * Regenerated from discovery document revision 20210430
20
+
21
+ ### v0.4.0 (2021-04-01)
22
+
23
+ * Regenerated from discovery document revision 20210331
24
+
3
25
  ### v0.3.0 (2021-03-27)
4
26
 
5
27
  * Regenerated from discovery document revision 20210324
@@ -21,8 +21,7 @@ module Google
21
21
  module Apis
22
22
  # Network Connectivity API
23
23
  #
24
- # The Network Connectivity API will be home to various services which provide
25
- # information pertaining to network connectivity.
24
+ # The Network Connectivity API provides access to Network Connectivity Center.
26
25
  #
27
26
  # @see https://cloud.google.com/network-connectivity/docs
28
27
  module NetworkconnectivityV1alpha1
@@ -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
@@ -796,7 +401,9 @@ module Google
796
401
  # @return [String]
797
402
  attr_accessor :name
798
403
 
799
- # Output only. A list of the URIs of all attached spokes
404
+ # Output only. A list of the URIs of all attached spokes. This field is
405
+ # deprecated and will not be included in future API versions. Call ListSpokes on
406
+ # each region instead.
800
407
  # Corresponds to the JSON property `spokes`
801
408
  # @return [Array<String>]
802
409
  attr_accessor :spokes
@@ -835,42 +442,6 @@ module Google
835
442
  end
836
443
  end
837
444
 
838
- # Describing buckets with constant width.
839
- class LinearBuckets
840
- include Google::Apis::Core::Hashable
841
-
842
- # The number of finite buckets. With the underflow and overflow buckets, the
843
- # total number of buckets is `num_finite_buckets` + 2. See comments on `
844
- # bucket_options` for details.
845
- # Corresponds to the JSON property `numFiniteBuckets`
846
- # @return [Fixnum]
847
- attr_accessor :num_finite_buckets
848
-
849
- # The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i
850
- # * width) where i ranges from 1 to num_finite_buckets, inclusive.
851
- # Corresponds to the JSON property `offset`
852
- # @return [Float]
853
- attr_accessor :offset
854
-
855
- # The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i
856
- # * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be
857
- # strictly positive.
858
- # Corresponds to the JSON property `width`
859
- # @return [Float]
860
- attr_accessor :width
861
-
862
- def initialize(**args)
863
- update!(**args)
864
- end
865
-
866
- # Update properties of this object
867
- def update!(**args)
868
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
869
- @offset = args[:offset] if args.key?(:offset)
870
- @width = args[:width] if args.key?(:width)
871
- end
872
- end
873
-
874
445
  # Response for HubService.ListHubs method.
875
446
  class ListHubsResponse
876
447
  include Google::Apis::Core::Hashable
@@ -1007,454 +578,6 @@ module Google
1007
578
  end
1008
579
  end
1009
580
 
1010
- # An individual log entry.
1011
- class LogEntry
1012
- include Google::Apis::Core::Hashable
1013
-
1014
- # A common proto for logging HTTP requests. Only contains semantics defined by
1015
- # the HTTP specification. Product-specific logging information MUST be defined
1016
- # in a separate message.
1017
- # Corresponds to the JSON property `httpRequest`
1018
- # @return [Google::Apis::NetworkconnectivityV1alpha1::HttpRequest]
1019
- attr_accessor :http_request
1020
-
1021
- # A unique ID for the log entry used for deduplication. If omitted, the
1022
- # implementation will generate one based on operation_id.
1023
- # Corresponds to the JSON property `insertId`
1024
- # @return [String]
1025
- attr_accessor :insert_id
1026
-
1027
- # A set of user-defined (key, value) data that provides additional information
1028
- # about the log entry.
1029
- # Corresponds to the JSON property `labels`
1030
- # @return [Hash<String,String>]
1031
- attr_accessor :labels
1032
-
1033
- # Required. The log to which this log entry belongs. Examples: `"syslog"`, `"
1034
- # book_log"`.
1035
- # Corresponds to the JSON property `name`
1036
- # @return [String]
1037
- attr_accessor :name
1038
-
1039
- # Additional information about a potentially long-running operation with which a
1040
- # log entry is associated.
1041
- # Corresponds to the JSON property `operation`
1042
- # @return [Google::Apis::NetworkconnectivityV1alpha1::LogEntryOperation]
1043
- attr_accessor :operation
1044
-
1045
- # The log entry payload, represented as a protocol buffer that is expressed as a
1046
- # JSON object. The only accepted type currently is AuditLog.
1047
- # Corresponds to the JSON property `protoPayload`
1048
- # @return [Hash<String,Object>]
1049
- attr_accessor :proto_payload
1050
-
1051
- # The severity of the log entry. The default value is `LogSeverity.DEFAULT`.
1052
- # Corresponds to the JSON property `severity`
1053
- # @return [String]
1054
- attr_accessor :severity
1055
-
1056
- # Additional information about the source code location that produced the log
1057
- # entry.
1058
- # Corresponds to the JSON property `sourceLocation`
1059
- # @return [Google::Apis::NetworkconnectivityV1alpha1::LogEntrySourceLocation]
1060
- attr_accessor :source_location
1061
-
1062
- # The log entry payload, represented as a structure that is expressed as a JSON
1063
- # object.
1064
- # Corresponds to the JSON property `structPayload`
1065
- # @return [Hash<String,Object>]
1066
- attr_accessor :struct_payload
1067
-
1068
- # The log entry payload, represented as a Unicode string (UTF-8).
1069
- # Corresponds to the JSON property `textPayload`
1070
- # @return [String]
1071
- attr_accessor :text_payload
1072
-
1073
- # The time the event described by the log entry occurred. If omitted, defaults
1074
- # to operation start time.
1075
- # Corresponds to the JSON property `timestamp`
1076
- # @return [String]
1077
- attr_accessor :timestamp
1078
-
1079
- # Optional. Resource name of the trace associated with the log entry, if any. If
1080
- # this field contains a relative resource name, you can assume the name is
1081
- # relative to `//tracing.googleapis.com`. Example: `projects/my-projectid/traces/
1082
- # 06796866738c859f2f19b7cfb3214824`
1083
- # Corresponds to the JSON property `trace`
1084
- # @return [String]
1085
- attr_accessor :trace
1086
-
1087
- def initialize(**args)
1088
- update!(**args)
1089
- end
1090
-
1091
- # Update properties of this object
1092
- def update!(**args)
1093
- @http_request = args[:http_request] if args.key?(:http_request)
1094
- @insert_id = args[:insert_id] if args.key?(:insert_id)
1095
- @labels = args[:labels] if args.key?(:labels)
1096
- @name = args[:name] if args.key?(:name)
1097
- @operation = args[:operation] if args.key?(:operation)
1098
- @proto_payload = args[:proto_payload] if args.key?(:proto_payload)
1099
- @severity = args[:severity] if args.key?(:severity)
1100
- @source_location = args[:source_location] if args.key?(:source_location)
1101
- @struct_payload = args[:struct_payload] if args.key?(:struct_payload)
1102
- @text_payload = args[:text_payload] if args.key?(:text_payload)
1103
- @timestamp = args[:timestamp] if args.key?(:timestamp)
1104
- @trace = args[:trace] if args.key?(:trace)
1105
- end
1106
- end
1107
-
1108
- # Additional information about a potentially long-running operation with which a
1109
- # log entry is associated.
1110
- class LogEntryOperation
1111
- include Google::Apis::Core::Hashable
1112
-
1113
- # Optional. Set this to True if this is the first log entry in the operation.
1114
- # Corresponds to the JSON property `first`
1115
- # @return [Boolean]
1116
- attr_accessor :first
1117
- alias_method :first?, :first
1118
-
1119
- # Optional. An arbitrary operation identifier. Log entries with the same
1120
- # identifier are assumed to be part of the same operation.
1121
- # Corresponds to the JSON property `id`
1122
- # @return [String]
1123
- attr_accessor :id
1124
-
1125
- # Optional. Set this to True if this is the last log entry in the operation.
1126
- # Corresponds to the JSON property `last`
1127
- # @return [Boolean]
1128
- attr_accessor :last
1129
- alias_method :last?, :last
1130
-
1131
- # Optional. An arbitrary producer identifier. The combination of `id` and `
1132
- # producer` must be globally unique. Examples for `producer`: `"MyDivision.
1133
- # MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
1134
- # Corresponds to the JSON property `producer`
1135
- # @return [String]
1136
- attr_accessor :producer
1137
-
1138
- def initialize(**args)
1139
- update!(**args)
1140
- end
1141
-
1142
- # Update properties of this object
1143
- def update!(**args)
1144
- @first = args[:first] if args.key?(:first)
1145
- @id = args[:id] if args.key?(:id)
1146
- @last = args[:last] if args.key?(:last)
1147
- @producer = args[:producer] if args.key?(:producer)
1148
- end
1149
- end
1150
-
1151
- # Additional information about the source code location that produced the log
1152
- # entry.
1153
- class LogEntrySourceLocation
1154
- include Google::Apis::Core::Hashable
1155
-
1156
- # Optional. Source file name. Depending on the runtime environment, this might
1157
- # be a simple name or a fully-qualified name.
1158
- # Corresponds to the JSON property `file`
1159
- # @return [String]
1160
- attr_accessor :file
1161
-
1162
- # Optional. Human-readable name of the function or method being invoked, with
1163
- # optional context such as the class or package name. This information may be
1164
- # used in contexts such as the logs viewer, where a file and line number are
1165
- # less meaningful. The format can vary by language. For example: `qual.if.ied.
1166
- # Class.method` (Java), `dir/package.func` (Go), `function` (Python).
1167
- # Corresponds to the JSON property `function`
1168
- # @return [String]
1169
- attr_accessor :function
1170
-
1171
- # Optional. Line within the source file. 1-based; 0 indicates no line number
1172
- # available.
1173
- # Corresponds to the JSON property `line`
1174
- # @return [Fixnum]
1175
- attr_accessor :line
1176
-
1177
- def initialize(**args)
1178
- update!(**args)
1179
- end
1180
-
1181
- # Update properties of this object
1182
- def update!(**args)
1183
- @file = args[:file] if args.key?(:file)
1184
- @function = args[:function] if args.key?(:function)
1185
- @line = args[:line] if args.key?(:line)
1186
- end
1187
- end
1188
-
1189
- # Represents a single metric value.
1190
- class MetricValue
1191
- include Google::Apis::Core::Hashable
1192
-
1193
- # A boolean value.
1194
- # Corresponds to the JSON property `boolValue`
1195
- # @return [Boolean]
1196
- attr_accessor :bool_value
1197
- alias_method :bool_value?, :bool_value
1198
-
1199
- # Distribution represents a frequency distribution of double-valued sample
1200
- # points. It contains the size of the population of sample points plus
1201
- # additional optional information: - the arithmetic mean of the samples - the
1202
- # minimum and maximum of the samples - the sum-squared-deviation of the samples,
1203
- # used to compute variance - a histogram of the values of the sample points
1204
- # Corresponds to the JSON property `distributionValue`
1205
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Distribution]
1206
- attr_accessor :distribution_value
1207
-
1208
- # A double precision floating point value.
1209
- # Corresponds to the JSON property `doubleValue`
1210
- # @return [Float]
1211
- attr_accessor :double_value
1212
-
1213
- # The end of the time period over which this metric value's measurement applies.
1214
- # If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
1215
- # Corresponds to the JSON property `endTime`
1216
- # @return [String]
1217
- attr_accessor :end_time
1218
-
1219
- # A signed 64-bit integer value.
1220
- # Corresponds to the JSON property `int64Value`
1221
- # @return [Fixnum]
1222
- attr_accessor :int64_value
1223
-
1224
- # The labels describing the metric value. See comments on google.api.
1225
- # servicecontrol.v1.Operation.labels for the overriding relationship. Note that
1226
- # this map must not contain monitored resource labels.
1227
- # Corresponds to the JSON property `labels`
1228
- # @return [Hash<String,String>]
1229
- attr_accessor :labels
1230
-
1231
- # Represents an amount of money with its currency type.
1232
- # Corresponds to the JSON property `moneyValue`
1233
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Money]
1234
- attr_accessor :money_value
1235
-
1236
- # The start of the time period over which this metric value's measurement
1237
- # applies. The time period has different semantics for different metric types (
1238
- # cumulative, delta, and gauge). See the metric definition documentation in the
1239
- # service configuration for details. If not specified, google.api.servicecontrol.
1240
- # v1.Operation.start_time will be used.
1241
- # Corresponds to the JSON property `startTime`
1242
- # @return [String]
1243
- attr_accessor :start_time
1244
-
1245
- # A text string value.
1246
- # Corresponds to the JSON property `stringValue`
1247
- # @return [String]
1248
- attr_accessor :string_value
1249
-
1250
- def initialize(**args)
1251
- update!(**args)
1252
- end
1253
-
1254
- # Update properties of this object
1255
- def update!(**args)
1256
- @bool_value = args[:bool_value] if args.key?(:bool_value)
1257
- @distribution_value = args[:distribution_value] if args.key?(:distribution_value)
1258
- @double_value = args[:double_value] if args.key?(:double_value)
1259
- @end_time = args[:end_time] if args.key?(:end_time)
1260
- @int64_value = args[:int64_value] if args.key?(:int64_value)
1261
- @labels = args[:labels] if args.key?(:labels)
1262
- @money_value = args[:money_value] if args.key?(:money_value)
1263
- @start_time = args[:start_time] if args.key?(:start_time)
1264
- @string_value = args[:string_value] if args.key?(:string_value)
1265
- end
1266
- end
1267
-
1268
- # Represents a set of metric values in the same metric. Each metric value in the
1269
- # set should have a unique combination of start time, end time, and label values.
1270
- class MetricValueSet
1271
- include Google::Apis::Core::Hashable
1272
-
1273
- # The metric name defined in the service configuration.
1274
- # Corresponds to the JSON property `metricName`
1275
- # @return [String]
1276
- attr_accessor :metric_name
1277
-
1278
- # The values in this metric.
1279
- # Corresponds to the JSON property `metricValues`
1280
- # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::MetricValue>]
1281
- attr_accessor :metric_values
1282
-
1283
- def initialize(**args)
1284
- update!(**args)
1285
- end
1286
-
1287
- # Update properties of this object
1288
- def update!(**args)
1289
- @metric_name = args[:metric_name] if args.key?(:metric_name)
1290
- @metric_values = args[:metric_values] if args.key?(:metric_values)
1291
- end
1292
- end
1293
-
1294
- # Represents an amount of money with its currency type.
1295
- class Money
1296
- include Google::Apis::Core::Hashable
1297
-
1298
- # The three-letter currency code defined in ISO 4217.
1299
- # Corresponds to the JSON property `currencyCode`
1300
- # @return [String]
1301
- attr_accessor :currency_code
1302
-
1303
- # Number of nano (10^-9) units of the amount. The value must be between -999,999,
1304
- # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
1305
- # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
1306
- # negative. If `units` is negative, `nanos` must be negative or zero. For
1307
- # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1308
- # Corresponds to the JSON property `nanos`
1309
- # @return [Fixnum]
1310
- attr_accessor :nanos
1311
-
1312
- # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
1313
- # 1 unit is one US dollar.
1314
- # Corresponds to the JSON property `units`
1315
- # @return [Fixnum]
1316
- attr_accessor :units
1317
-
1318
- def initialize(**args)
1319
- update!(**args)
1320
- end
1321
-
1322
- # Update properties of this object
1323
- def update!(**args)
1324
- @currency_code = args[:currency_code] if args.key?(:currency_code)
1325
- @nanos = args[:nanos] if args.key?(:nanos)
1326
- @units = args[:units] if args.key?(:units)
1327
- end
1328
- end
1329
-
1330
- # Represents information regarding an operation.
1331
- class Operation
1332
- include Google::Apis::Core::Hashable
1333
-
1334
- # Identity of the consumer who is using the service. This field should be filled
1335
- # in for the operations initiated by a consumer, but not for service-initiated
1336
- # operations that are not related to a specific consumer. - This can be in one
1337
- # of the following formats: - project:PROJECT_ID, - project`_`number:
1338
- # PROJECT_NUMBER, - projects/PROJECT_ID or PROJECT_NUMBER, - folders/
1339
- # FOLDER_NUMBER, - organizations/ORGANIZATION_NUMBER, - api`_`key:API_KEY.
1340
- # Corresponds to the JSON property `consumerId`
1341
- # @return [String]
1342
- attr_accessor :consumer_id
1343
-
1344
- # End time of the operation. Required when the operation is used in
1345
- # ServiceController.Report, but optional when the operation is used in
1346
- # ServiceController.Check.
1347
- # Corresponds to the JSON property `endTime`
1348
- # @return [String]
1349
- attr_accessor :end_time
1350
-
1351
- # Unimplemented.
1352
- # Corresponds to the JSON property `extensions`
1353
- # @return [Array<Hash<String,Object>>]
1354
- attr_accessor :extensions
1355
-
1356
- # DO NOT USE. This is an experimental field.
1357
- # Corresponds to the JSON property `importance`
1358
- # @return [String]
1359
- attr_accessor :importance
1360
-
1361
- # Labels describing the operation. Only the following labels are allowed: -
1362
- # Labels describing monitored resources as defined in the service configuration.
1363
- # - Default labels of metric values. When specified, labels defined in the
1364
- # metric value override these default. - The following labels defined by Google
1365
- # Cloud Platform: - `cloud.googleapis.com/location` describing the location
1366
- # where the operation happened, - `servicecontrol.googleapis.com/user_agent`
1367
- # describing the user agent of the API request, - `servicecontrol.googleapis.com/
1368
- # service_agent` describing the service used to handle the API request (e.g. ESP)
1369
- # , - `servicecontrol.googleapis.com/platform` describing the platform where the
1370
- # API is served, such as App Engine, Compute Engine, or Kubernetes Engine.
1371
- # Corresponds to the JSON property `labels`
1372
- # @return [Hash<String,String>]
1373
- attr_accessor :labels
1374
-
1375
- # Represents information to be logged.
1376
- # Corresponds to the JSON property `logEntries`
1377
- # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::LogEntry>]
1378
- attr_accessor :log_entries
1379
-
1380
- # Represents information about this operation. Each MetricValueSet corresponds
1381
- # to a metric defined in the service configuration. The data type used in the
1382
- # MetricValueSet must agree with the data type specified in the metric
1383
- # definition. Within a single operation, it is not allowed to have more than one
1384
- # MetricValue instances that have the same metric names and identical label
1385
- # value combinations. If a request has such duplicated MetricValue instances,
1386
- # the entire request is rejected with an invalid argument error.
1387
- # Corresponds to the JSON property `metricValueSets`
1388
- # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::MetricValueSet>]
1389
- attr_accessor :metric_value_sets
1390
-
1391
- # Identity of the operation. This must be unique within the scope of the service
1392
- # that generated the operation. If the service calls Check() and Report() on the
1393
- # same operation, the two calls should carry the same id. UUID version 4 is
1394
- # recommended, though not required. In scenarios where an operation is computed
1395
- # from existing information and an idempotent id is desirable for deduplication
1396
- # purpose, UUID version 5 is recommended. See RFC 4122 for details.
1397
- # Corresponds to the JSON property `operationId`
1398
- # @return [String]
1399
- attr_accessor :operation_id
1400
-
1401
- # Fully qualified name of the operation. Reserved for future use.
1402
- # Corresponds to the JSON property `operationName`
1403
- # @return [String]
1404
- attr_accessor :operation_name
1405
-
1406
- # Represents the properties needed for quota operations.
1407
- # Corresponds to the JSON property `quotaProperties`
1408
- # @return [Google::Apis::NetworkconnectivityV1alpha1::QuotaProperties]
1409
- attr_accessor :quota_properties
1410
-
1411
- # The resources that are involved in the operation. The maximum supported number
1412
- # of entries in this field is 100.
1413
- # Corresponds to the JSON property `resources`
1414
- # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::ResourceInfo>]
1415
- attr_accessor :resources
1416
-
1417
- # Required. Start time of the operation.
1418
- # Corresponds to the JSON property `startTime`
1419
- # @return [String]
1420
- attr_accessor :start_time
1421
-
1422
- # Unimplemented. A list of Cloud Trace spans. The span names shall contain the
1423
- # id of the destination project which can be either the produce or the consumer
1424
- # project.
1425
- # Corresponds to the JSON property `traceSpans`
1426
- # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::TraceSpan>]
1427
- attr_accessor :trace_spans
1428
-
1429
- # Private Preview. This feature is only available for approved services. User
1430
- # defined labels for the resource that this operation is associated with.
1431
- # Corresponds to the JSON property `userLabels`
1432
- # @return [Hash<String,String>]
1433
- attr_accessor :user_labels
1434
-
1435
- def initialize(**args)
1436
- update!(**args)
1437
- end
1438
-
1439
- # Update properties of this object
1440
- def update!(**args)
1441
- @consumer_id = args[:consumer_id] if args.key?(:consumer_id)
1442
- @end_time = args[:end_time] if args.key?(:end_time)
1443
- @extensions = args[:extensions] if args.key?(:extensions)
1444
- @importance = args[:importance] if args.key?(:importance)
1445
- @labels = args[:labels] if args.key?(:labels)
1446
- @log_entries = args[:log_entries] if args.key?(:log_entries)
1447
- @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets)
1448
- @operation_id = args[:operation_id] if args.key?(:operation_id)
1449
- @operation_name = args[:operation_name] if args.key?(:operation_name)
1450
- @quota_properties = args[:quota_properties] if args.key?(:quota_properties)
1451
- @resources = args[:resources] if args.key?(:resources)
1452
- @start_time = args[:start_time] if args.key?(:start_time)
1453
- @trace_spans = args[:trace_spans] if args.key?(:trace_spans)
1454
- @user_labels = args[:user_labels] if args.key?(:user_labels)
1455
- end
1456
- end
1457
-
1458
581
  # Represents the metadata of the long-running operation.
1459
582
  class OperationMetadata
1460
583
  include Google::Apis::Core::Hashable
@@ -1604,100 +727,6 @@ module Google
1604
727
  end
1605
728
  end
1606
729
 
1607
- # Represents the properties needed for quota operations.
1608
- class QuotaProperties
1609
- include Google::Apis::Core::Hashable
1610
-
1611
- # Quota mode for this operation.
1612
- # Corresponds to the JSON property `quotaMode`
1613
- # @return [String]
1614
- attr_accessor :quota_mode
1615
-
1616
- def initialize(**args)
1617
- update!(**args)
1618
- end
1619
-
1620
- # Update properties of this object
1621
- def update!(**args)
1622
- @quota_mode = args[:quota_mode] if args.key?(:quota_mode)
1623
- end
1624
- end
1625
-
1626
- # Request message for the Report method.
1627
- class ReportRequest
1628
- include Google::Apis::Core::Hashable
1629
-
1630
- # Operations to be reported. Typically the service should report one operation
1631
- # per request. Putting multiple operations into a single request is allowed, but
1632
- # should be used only when multiple operations are natually available at the
1633
- # time of the report. There is no limit on the number of operations in the same
1634
- # ReportRequest, however the ReportRequest size should be no larger than 1MB.
1635
- # See ReportResponse.report_errors for partial failure behavior.
1636
- # Corresponds to the JSON property `operations`
1637
- # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::Operation>]
1638
- attr_accessor :operations
1639
-
1640
- # Specifies which version of service config should be used to process the
1641
- # request. If unspecified or no matching version can be found, the latest one
1642
- # will be used.
1643
- # Corresponds to the JSON property `serviceConfigId`
1644
- # @return [String]
1645
- attr_accessor :service_config_id
1646
-
1647
- # The service name as specified in its service configuration. For example, `"
1648
- # pubsub.googleapis.com"`. See [google.api.Service](https://cloud.google.com/
1649
- # service-management/reference/rpc/google.api#google.api.Service) for the
1650
- # definition of a service name.
1651
- # Corresponds to the JSON property `serviceName`
1652
- # @return [String]
1653
- attr_accessor :service_name
1654
-
1655
- def initialize(**args)
1656
- update!(**args)
1657
- end
1658
-
1659
- # Update properties of this object
1660
- def update!(**args)
1661
- @operations = args[:operations] if args.key?(:operations)
1662
- @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
1663
- @service_name = args[:service_name] if args.key?(:service_name)
1664
- end
1665
- end
1666
-
1667
- # Describes a resource associated with this operation.
1668
- class ResourceInfo
1669
- include Google::Apis::Core::Hashable
1670
-
1671
- # The identifier of the parent of this resource instance. Must be in one of the
1672
- # following formats: - `projects/` - `folders/` - `organizations/`
1673
- # Corresponds to the JSON property `resourceContainer`
1674
- # @return [String]
1675
- attr_accessor :resource_container
1676
-
1677
- # The location of the resource. If not empty, the resource will be checked
1678
- # against location policy. The value must be a valid zone, region or multiregion.
1679
- # For example: "europe-west4" or "northamerica-northeast1-a"
1680
- # Corresponds to the JSON property `resourceLocation`
1681
- # @return [String]
1682
- attr_accessor :resource_location
1683
-
1684
- # Name of the resource. This is used for auditing purposes.
1685
- # Corresponds to the JSON property `resourceName`
1686
- # @return [String]
1687
- attr_accessor :resource_name
1688
-
1689
- def initialize(**args)
1690
- update!(**args)
1691
- end
1692
-
1693
- # Update properties of this object
1694
- def update!(**args)
1695
- @resource_container = args[:resource_container] if args.key?(:resource_container)
1696
- @resource_location = args[:resource_location] if args.key?(:resource_location)
1697
- @resource_name = args[:resource_name] if args.key?(:resource_name)
1698
- end
1699
- end
1700
-
1701
730
  # RouterAppliance represents a Router appliance which is specified by a VM URI
1702
731
  # and a NIC address.
1703
732
  class RouterApplianceInstance
@@ -1905,139 +934,6 @@ module Google
1905
934
  @permissions = args[:permissions] if args.key?(:permissions)
1906
935
  end
1907
936
  end
1908
-
1909
- # A span represents a single operation within a trace. Spans can be nested to
1910
- # form a trace tree. Often, a trace contains a root span that describes the end-
1911
- # to-end latency, and one or more subspans for its sub-operations. A trace can
1912
- # also contain multiple root spans, or none at all. Spans do not need to be
1913
- # contiguous—there may be gaps or overlaps between spans in a trace.
1914
- class TraceSpan
1915
- include Google::Apis::Core::Hashable
1916
-
1917
- # A set of attributes, each in the format `[KEY]:[VALUE]`.
1918
- # Corresponds to the JSON property `attributes`
1919
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Attributes]
1920
- attr_accessor :attributes
1921
-
1922
- # An optional number of child spans that were generated while this span was
1923
- # active. If set, allows implementation to detect missing child spans.
1924
- # Corresponds to the JSON property `childSpanCount`
1925
- # @return [Fixnum]
1926
- attr_accessor :child_span_count
1927
-
1928
- # Represents a string that might be shortened to a specified length.
1929
- # Corresponds to the JSON property `displayName`
1930
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TruncatableString]
1931
- attr_accessor :display_name
1932
-
1933
- # The end time of the span. On the client side, this is the time kept by the
1934
- # local machine where the span execution ends. On the server side, this is the
1935
- # time when the server application handler stops running.
1936
- # Corresponds to the JSON property `endTime`
1937
- # @return [String]
1938
- attr_accessor :end_time
1939
-
1940
- # The resource name of the span in the following format: projects/[PROJECT_ID]/
1941
- # traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a
1942
- # project; it is a 32-character hexadecimal encoding of a 16-byte array. [
1943
- # SPAN_ID] is a unique identifier for a span within a trace; it is a 16-
1944
- # character hexadecimal encoding of an 8-byte array.
1945
- # Corresponds to the JSON property `name`
1946
- # @return [String]
1947
- attr_accessor :name
1948
-
1949
- # The [SPAN_ID] of this span's parent span. If this is a root span, then this
1950
- # field must be empty.
1951
- # Corresponds to the JSON property `parentSpanId`
1952
- # @return [String]
1953
- attr_accessor :parent_span_id
1954
-
1955
- # (Optional) Set this parameter to indicate whether this span is in the same
1956
- # process as its parent. If you do not set this parameter, Stackdriver Trace is
1957
- # unable to take advantage of this helpful information.
1958
- # Corresponds to the JSON property `sameProcessAsParentSpan`
1959
- # @return [Boolean]
1960
- attr_accessor :same_process_as_parent_span
1961
- alias_method :same_process_as_parent_span?, :same_process_as_parent_span
1962
-
1963
- # The [SPAN_ID] portion of the span's resource name.
1964
- # Corresponds to the JSON property `spanId`
1965
- # @return [String]
1966
- attr_accessor :span_id
1967
-
1968
- # Distinguishes between spans generated in a particular context. For example,
1969
- # two spans with the same name may be distinguished using `CLIENT` (caller) and `
1970
- # SERVER` (callee) to identify an RPC call.
1971
- # Corresponds to the JSON property `spanKind`
1972
- # @return [String]
1973
- attr_accessor :span_kind
1974
-
1975
- # The start time of the span. On the client side, this is the time kept by the
1976
- # local machine where the span execution starts. On the server side, this is the
1977
- # time when the server's application handler starts running.
1978
- # Corresponds to the JSON property `startTime`
1979
- # @return [String]
1980
- attr_accessor :start_time
1981
-
1982
- # The `Status` type defines a logical error model that is suitable for different
1983
- # programming environments, including REST APIs and RPC APIs. It is used by [
1984
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1985
- # data: error code, error message, and error details. You can find out more
1986
- # about this error model and how to work with it in the [API Design Guide](https:
1987
- # //cloud.google.com/apis/design/errors).
1988
- # Corresponds to the JSON property `status`
1989
- # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleRpcStatus]
1990
- attr_accessor :status
1991
-
1992
- def initialize(**args)
1993
- update!(**args)
1994
- end
1995
-
1996
- # Update properties of this object
1997
- def update!(**args)
1998
- @attributes = args[:attributes] if args.key?(:attributes)
1999
- @child_span_count = args[:child_span_count] if args.key?(:child_span_count)
2000
- @display_name = args[:display_name] if args.key?(:display_name)
2001
- @end_time = args[:end_time] if args.key?(:end_time)
2002
- @name = args[:name] if args.key?(:name)
2003
- @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
2004
- @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span)
2005
- @span_id = args[:span_id] if args.key?(:span_id)
2006
- @span_kind = args[:span_kind] if args.key?(:span_kind)
2007
- @start_time = args[:start_time] if args.key?(:start_time)
2008
- @status = args[:status] if args.key?(:status)
2009
- end
2010
- end
2011
-
2012
- # Represents a string that might be shortened to a specified length.
2013
- class TruncatableString
2014
- include Google::Apis::Core::Hashable
2015
-
2016
- # The number of bytes removed from the original string. If this value is 0, then
2017
- # the string was not shortened.
2018
- # Corresponds to the JSON property `truncatedByteCount`
2019
- # @return [Fixnum]
2020
- attr_accessor :truncated_byte_count
2021
-
2022
- # The shortened string. For example, if the original string is 500 bytes long
2023
- # and the limit of the string is 128 bytes, then `value` contains the first 128
2024
- # bytes of the 500-byte string. Truncation always happens on a UTF8 character
2025
- # boundary. If there are multi-byte characters in the string, then the length of
2026
- # the shortened string might be less than the size limit.
2027
- # Corresponds to the JSON property `value`
2028
- # @return [String]
2029
- attr_accessor :value
2030
-
2031
- def initialize(**args)
2032
- update!(**args)
2033
- end
2034
-
2035
- # Update properties of this object
2036
- def update!(**args)
2037
- @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count)
2038
- @value = args[:value] if args.key?(:value)
2039
- end
2040
- end
2041
937
  end
2042
938
  end
2043
939
  end