google-apis-servicecontrol_v2 0.1.0 → 0.6.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: 65984df54f621297ace00755b9a2a080945272e3160157bddcb13df210a0c5ea
4
- data.tar.gz: 8e59876754fc183ff3b7fad3dc20aa2980864f8df01e7948af9b5c27a841aedb
3
+ metadata.gz: '094af63438acabba2f1fe4356aba8011e25c7dfa4c0f4d07be17eb39924fcbee'
4
+ data.tar.gz: d40587664b73928cf3bd16fcfb9d9624798ddd1c3a6b596315e92ec8339392bf
5
5
  SHA512:
6
- metadata.gz: 1108ed09c9166b0022b7f519ac0161ed47d4631e090362cf23dafd32d4a55fbd9d557b9244df422e1bb1c8df105b25d73a09300ed52986b3ea15f3ed88cc302f
7
- data.tar.gz: 866ef36ce0f6dc2e06b0d8b5bdb1a29b4128e1934cb24adeb1d1179922ca4d5240a7ee93ac8cb69ffd34882c7837aeaf5613caf8981f40ff1eb076178c3ec92f
6
+ metadata.gz: 202defddb33ec6de2c05799070b9441f99372696e082042d65e422040027f40de279c7215afd05993d75a8c9003467cf6e4e943830adbf34c184c517e3263daa
7
+ data.tar.gz: 8f6c16724a1a789b0d2f449746e849ee3866f590a7e1218fe00d0e69000e0612dfe63a15b0db0a3855f281bb4aca01689ed379c06d5b3d6cba51f6055b74eef7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-servicecontrol_v2
2
2
 
3
+ ### v0.6.0 (2021-05-01)
4
+
5
+ * Regenerated from discovery document revision 20210422
6
+
7
+ ### v0.5.0 (2021-04-02)
8
+
9
+ * Regenerated from discovery document revision 20210326
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-12)
17
+
18
+ * Regenerated from discovery document revision 20210205
19
+
20
+ ### v0.2.0 (2021-02-05)
21
+
22
+ * Regenerated from discovery document revision 20210130
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V2'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # Manage your Google Service Control data
@@ -430,8 +430,9 @@ module Google
430
430
  # @return [String]
431
431
  attr_accessor :permission
432
432
 
433
- # The resource being accessed, as a REST-style string. For example: bigquery.
434
- # googleapis.com/projects/PROJECTID/datasets/DATASETID
433
+ # The resource being accessed, as a REST-style or cloud resource string. For
434
+ # example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
435
+ # projects/PROJECTID/datasets/DATASETID
435
436
  # Corresponds to the JSON property `resource`
436
437
  # @return [String]
437
438
  attr_accessor :resource
@@ -475,6 +476,11 @@ module Google
475
476
  # @return [Google::Apis::ServicecontrolV2::AttributeContext]
476
477
  attr_accessor :attributes
477
478
 
479
+ # Optional. Contains a comma-separated list of flags.
480
+ # Corresponds to the JSON property `flags`
481
+ # @return [String]
482
+ attr_accessor :flags
483
+
478
484
  # Describes the resources and the policies applied to each resource.
479
485
  # Corresponds to the JSON property `resources`
480
486
  # @return [Array<Google::Apis::ServicecontrolV2::ResourceInfo>]
@@ -494,6 +500,7 @@ module Google
494
500
  # Update properties of this object
495
501
  def update!(**args)
496
502
  @attributes = args[:attributes] if args.key?(:attributes)
503
+ @flags = args[:flags] if args.key?(:flags)
497
504
  @resources = args[:resources] if args.key?(:resources)
498
505
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
499
506
  end
@@ -683,7 +690,7 @@ module Google
683
690
  # @return [String]
684
691
  attr_accessor :method_prop
685
692
 
686
- # The HTTP URL path.
693
+ # The HTTP URL path, excluding the query parameters.
687
694
  # Corresponds to the JSON property `path`
688
695
  # @return [String]
689
696
  attr_accessor :path
@@ -718,7 +725,7 @@ module Google
718
725
  # @return [Fixnum]
719
726
  attr_accessor :size
720
727
 
721
- # The timestamp when the `destination` service receives the first byte of the
728
+ # The timestamp when the `destination` service receives the last byte of the
722
729
  # request.
723
730
  # Corresponds to the JSON property `time`
724
731
  # @return [String]
@@ -817,8 +824,8 @@ module Google
817
824
 
818
825
  # Annotations is an unstructured key-value map stored with a resource that may
819
826
  # be set by external tools to store and retrieve arbitrary metadata. They are
820
- # not queryable and should be preserved when modifying objects. More info: http:/
821
- # /kubernetes.io/docs/user-guide/annotations
827
+ # not queryable and should be preserved when modifying objects. More info: https:
828
+ # //kubernetes.io/docs/user-guide/annotations
822
829
  # Corresponds to the JSON property `annotations`
823
830
  # @return [Hash<String,String>]
824
831
  attr_accessor :annotations
@@ -853,6 +860,16 @@ module Google
853
860
  # @return [Hash<String,String>]
854
861
  attr_accessor :labels
855
862
 
863
+ # Immutable. The location of the resource. The location encoding is specific to
864
+ # the service provider, and new encoding may be introduced as the service
865
+ # evolves. For Google Cloud products, the encoding is what is used by Google
866
+ # Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
867
+ # semantics of `location` is identical to the `cloud.googleapis.com/location`
868
+ # label used by some Google Cloud APIs.
869
+ # Corresponds to the JSON property `location`
870
+ # @return [String]
871
+ attr_accessor :location
872
+
856
873
  # The stable identifier (name) of a resource on the `service`. A resource can be
857
874
  # logically identified as "//`resource.service`/`resource.name`". The
858
875
  # differences between a resource name and a URI are: * Resource name is a
@@ -908,6 +925,7 @@ module Google
908
925
  @display_name = args[:display_name] if args.key?(:display_name)
909
926
  @etag = args[:etag] if args.key?(:etag)
910
927
  @labels = args[:labels] if args.key?(:labels)
928
+ @location = args[:location] if args.key?(:location)
911
929
  @name = args[:name] if args.key?(:name)
912
930
  @service = args[:service] if args.key?(:service)
913
931
  @type = args[:type] if args.key?(:type)
@@ -984,6 +1002,14 @@ module Google
984
1002
  class Response
985
1003
  include Google::Apis::Core::Hashable
986
1004
 
1005
+ # The amount of time it takes the backend service to fully respond to a request.
1006
+ # Measured from when the destination service starts to send the request to the
1007
+ # backend until when the destination service receives the complete response from
1008
+ # the backend.
1009
+ # Corresponds to the JSON property `backendLatency`
1010
+ # @return [String]
1011
+ attr_accessor :backend_latency
1012
+
987
1013
  # The HTTP response status code, such as `200` and `404`.
988
1014
  # Corresponds to the JSON property `code`
989
1015
  # @return [Fixnum]
@@ -1001,7 +1027,7 @@ module Google
1001
1027
  # @return [Fixnum]
1002
1028
  attr_accessor :size
1003
1029
 
1004
- # The timestamp when the `destination` service generates the first byte of the
1030
+ # The timestamp when the `destination` service sends the last byte of the
1005
1031
  # response.
1006
1032
  # Corresponds to the JSON property `time`
1007
1033
  # @return [String]
@@ -1013,6 +1039,7 @@ module Google
1013
1039
 
1014
1040
  # Update properties of this object
1015
1041
  def update!(**args)
1042
+ @backend_latency = args[:backend_latency] if args.key?(:backend_latency)
1016
1043
  @code = args[:code] if args.key?(:code)
1017
1044
  @headers = args[:headers] if args.key?(:headers)
1018
1045
  @size = args[:size] if args.key?(:size)
@@ -1052,8 +1079,8 @@ module Google
1052
1079
  end
1053
1080
  end
1054
1081
 
1055
- # The context of a span, attached to Exemplars in Distribution values during
1056
- # aggregation. It contains the name of a span with format: projects/[
1082
+ # The context of a span. This is attached to an Exemplar in Distribution values
1083
+ # during aggregation. It contains the name of a span with format: projects/[
1057
1084
  # PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]
1058
1085
  class SpanContext
1059
1086
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicecontrolV2
18
18
  # Version of the google-apis-servicecontrol_v2 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201207"
25
+ REVISION = "20210422"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,7 @@ module Google
250
250
  class Representation < Google::Apis::Core::JsonRepresentation
251
251
  property :attributes, as: 'attributes', class: Google::Apis::ServicecontrolV2::AttributeContext, decorator: Google::Apis::ServicecontrolV2::AttributeContext::Representation
252
252
 
253
+ property :flags, as: 'flags'
253
254
  collection :resources, as: 'resources', class: Google::Apis::ServicecontrolV2::ResourceInfo, decorator: Google::Apis::ServicecontrolV2::ResourceInfo::Representation
254
255
 
255
256
  property :service_config_id, as: 'serviceConfigId'
@@ -340,6 +341,7 @@ module Google
340
341
  property :display_name, as: 'displayName'
341
342
  property :etag, as: 'etag'
342
343
  hash :labels, as: 'labels'
344
+ property :location, as: 'location'
343
345
  property :name, as: 'name'
344
346
  property :service, as: 'service'
345
347
  property :type, as: 'type'
@@ -368,6 +370,7 @@ module Google
368
370
  class Response
369
371
  # @private
370
372
  class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :backend_latency, as: 'backendLatency'
371
374
  property :code, :numeric_string => true, as: 'code'
372
375
  hash :headers, as: 'headers'
373
376
  property :size, :numeric_string => true, as: 'size'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicecontrol_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v2/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicecontrol_v2
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Service Control API V2