google-apis-servicecontrol_v1 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56a349c0eb2ce4a01798e1bdb85603c2510d578f296bd45502772897a7f1fecb
4
- data.tar.gz: e77b60366fbea5a10cb5c8760c77afcb0f1cfe51cc516a6c26a807399edd9668
3
+ metadata.gz: 1a9c5678473c5b62c5851b669df42c30e9460492350f59f92679ecb6f6a149d3
4
+ data.tar.gz: cbd4ff1dfc53e0b55d239c3d45a2ef198db50eb8053269aacb039fe704b3868d
5
5
  SHA512:
6
- metadata.gz: c6f721fb5355894c848f6b1d453bf79f30a5269503914137bc2e8f5d3c0908af59e4de5c686c4bb3b3c37b8c6aa119a9313cf9f904e695a989515cb065486aab
7
- data.tar.gz: df8b579b832aa791bc40ba6bfd307f9b1ee182dc54035b9433aeb531d935bce5fea5f5b35a6f48a691363985c0d59122695ddcbcceced719f99cfd75a0d0aacb
6
+ metadata.gz: de7ab685d2f8f82d8af5142036964977042b8adab1ef4277025a2bd89f834f086db81ea89e63452c40d4f95a6f01b6ce964779b4aaeab0e0390c0b8b675bdd7a
7
+ data.tar.gz: 3bb720950a0573eda80be860fd521f46319ed5bb82bfbfd75ae0a887cc56858ca275b020409dfe16211e45294efc6fa34e759e1501d0a1641fac0695b17199e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-servicecontrol_v1
2
2
 
3
+ ### v0.2.0 (2021-02-05)
4
+
5
+ * Regenerated from discovery document revision 20210130
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -459,8 +459,9 @@ module Google
459
459
  # @return [String]
460
460
  attr_accessor :permission
461
461
 
462
- # The resource being accessed, as a REST-style string. For example: bigquery.
463
- # googleapis.com/projects/PROJECTID/datasets/DATASETID
462
+ # The resource being accessed, as a REST-style or cloud resource string. For
463
+ # example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
464
+ # projects/PROJECTID/datasets/DATASETID
464
465
  # Corresponds to the JSON property `resource`
465
466
  # @return [String]
466
467
  attr_accessor :resource
@@ -1478,8 +1479,9 @@ module Google
1478
1479
  # @return [Array<Google::Apis::ServicecontrolV1::TraceSpan>]
1479
1480
  attr_accessor :trace_spans
1480
1481
 
1481
- # User defined labels for the resource that this operation is associated with.
1482
- # Only a combination of 1000 user labels per consumer project are allowed.
1482
+ # Private Preview. This feature is only available for approved services. User
1483
+ # defined labels for the resource that this operation is associated with. Only a
1484
+ # combination of 1000 user labels per consumer project are allowed.
1483
1485
  # Corresponds to the JSON property `userLabels`
1484
1486
  # @return [Hash<String,String>]
1485
1487
  attr_accessor :user_labels
@@ -1766,31 +1768,6 @@ module Google
1766
1768
  end
1767
1769
  end
1768
1770
 
1769
- # Contains additional info about the report operation.
1770
- class ReportInfo
1771
- include Google::Apis::Core::Hashable
1772
-
1773
- # The Operation.operation_id value from the request.
1774
- # Corresponds to the JSON property `operationId`
1775
- # @return [String]
1776
- attr_accessor :operation_id
1777
-
1778
- # Contains the quota information for a quota check response.
1779
- # Corresponds to the JSON property `quotaInfo`
1780
- # @return [Google::Apis::ServicecontrolV1::QuotaInfo]
1781
- attr_accessor :quota_info
1782
-
1783
- def initialize(**args)
1784
- update!(**args)
1785
- end
1786
-
1787
- # Update properties of this object
1788
- def update!(**args)
1789
- @operation_id = args[:operation_id] if args.key?(:operation_id)
1790
- @quota_info = args[:quota_info] if args.key?(:quota_info)
1791
- end
1792
- end
1793
-
1794
1771
  # Request message for the Report method.
1795
1772
  class ReportRequest
1796
1773
  include Google::Apis::Core::Hashable
@@ -1841,16 +1818,6 @@ module Google
1841
1818
  # @return [Array<Google::Apis::ServicecontrolV1::ReportError>]
1842
1819
  attr_accessor :report_errors
1843
1820
 
1844
- # Quota usage for each quota release `Operation` request. Fully or partially
1845
- # failed quota release request may or may not be present in `report_quota_info`.
1846
- # For example, a failed quota release request will have the current quota usage
1847
- # info when precise quota library returns the info. A deadline exceeded quota
1848
- # request will not have quota usage info. If there is no quota release request,
1849
- # report_quota_info will be empty.
1850
- # Corresponds to the JSON property `reportInfos`
1851
- # @return [Array<Google::Apis::ServicecontrolV1::ReportInfo>]
1852
- attr_accessor :report_infos
1853
-
1854
1821
  # The actual config id used to process the request.
1855
1822
  # Corresponds to the JSON property `serviceConfigId`
1856
1823
  # @return [String]
@@ -1868,7 +1835,6 @@ module Google
1868
1835
  # Update properties of this object
1869
1836
  def update!(**args)
1870
1837
  @report_errors = args[:report_errors] if args.key?(:report_errors)
1871
- @report_infos = args[:report_infos] if args.key?(:report_infos)
1872
1838
  @service_config_id = args[:service_config_id] if args.key?(:service_config_id)
1873
1839
  @service_rollout_id = args[:service_rollout_id] if args.key?(:service_rollout_id)
1874
1840
  end
@@ -2045,8 +2011,8 @@ module Google
2045
2011
 
2046
2012
  # Annotations is an unstructured key-value map stored with a resource that may
2047
2013
  # be set by external tools to store and retrieve arbitrary metadata. They are
2048
- # not queryable and should be preserved when modifying objects. More info: http:/
2049
- # /kubernetes.io/docs/user-guide/annotations
2014
+ # not queryable and should be preserved when modifying objects. More info: https:
2015
+ # //kubernetes.io/docs/user-guide/annotations
2050
2016
  # Corresponds to the JSON property `annotations`
2051
2017
  # @return [Hash<String,String>]
2052
2018
  attr_accessor :annotations
@@ -2081,6 +2047,16 @@ module Google
2081
2047
  # @return [Hash<String,String>]
2082
2048
  attr_accessor :labels
2083
2049
 
2050
+ # Immutable. The location of the resource. The location encoding is specific to
2051
+ # the service provider, and new encoding may be introduced as the service
2052
+ # evolves. For Google Cloud products, the encoding is what is used by Google
2053
+ # Cloud APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The
2054
+ # semantics of `location` is identical to the `cloud.googleapis.com/location`
2055
+ # label used by some Google Cloud APIs.
2056
+ # Corresponds to the JSON property `location`
2057
+ # @return [String]
2058
+ attr_accessor :location
2059
+
2084
2060
  # The stable identifier (name) of a resource on the `service`. A resource can be
2085
2061
  # logically identified as "//`resource.service`/`resource.name`". The
2086
2062
  # differences between a resource name and a URI are: * Resource name is a
@@ -2136,6 +2112,7 @@ module Google
2136
2112
  @display_name = args[:display_name] if args.key?(:display_name)
2137
2113
  @etag = args[:etag] if args.key?(:etag)
2138
2114
  @labels = args[:labels] if args.key?(:labels)
2115
+ @location = args[:location] if args.key?(:location)
2139
2116
  @name = args[:name] if args.key?(:name)
2140
2117
  @service = args[:service] if args.key?(:service)
2141
2118
  @type = args[:type] if args.key?(:type)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicecontrolV1
18
18
  # Version of the google-apis-servicecontrol_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.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.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201207"
25
+ REVISION = "20210130"
26
26
  end
27
27
  end
28
28
  end
@@ -226,12 +226,6 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class ReportInfo
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
229
  class ReportRequest
236
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
231
 
@@ -718,15 +712,6 @@ module Google
718
712
  end
719
713
  end
720
714
 
721
- class ReportInfo
722
- # @private
723
- class Representation < Google::Apis::Core::JsonRepresentation
724
- property :operation_id, as: 'operationId'
725
- property :quota_info, as: 'quotaInfo', class: Google::Apis::ServicecontrolV1::QuotaInfo, decorator: Google::Apis::ServicecontrolV1::QuotaInfo::Representation
726
-
727
- end
728
- end
729
-
730
715
  class ReportRequest
731
716
  # @private
732
717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -741,8 +726,6 @@ module Google
741
726
  class Representation < Google::Apis::Core::JsonRepresentation
742
727
  collection :report_errors, as: 'reportErrors', class: Google::Apis::ServicecontrolV1::ReportError, decorator: Google::Apis::ServicecontrolV1::ReportError::Representation
743
728
 
744
- collection :report_infos, as: 'reportInfos', class: Google::Apis::ServicecontrolV1::ReportInfo, decorator: Google::Apis::ServicecontrolV1::ReportInfo::Representation
745
-
746
729
  property :service_config_id, as: 'serviceConfigId'
747
730
  property :service_rollout_id, as: 'serviceRolloutId'
748
731
  end
@@ -789,6 +772,7 @@ module Google
789
772
  property :display_name, as: 'displayName'
790
773
  property :etag, as: 'etag'
791
774
  hash :labels, as: 'labels'
775
+ property :location, as: 'location'
792
776
  property :name, as: 'name'
793
777
  property :service, as: 'service'
794
778
  property :type, as: 'type'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicecontrol_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-02-08 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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicecontrol_v1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicecontrol_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Service Control API V1