google-apis-serviceconsumermanagement_v1beta1 0.36.0 → 0.38.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: dfd88aab1b01474b0d8d97555061c9a4a7e564b3a776da4d7543ce82d7346182
4
- data.tar.gz: d88601f1429b8b7bfd3d610851a429d9c2997df9797f691f200c765f9325c350
3
+ metadata.gz: 5af4f839ae56c248ce2eca2cc13037b0d446abfbce073b8e4b9cd750446a4044
4
+ data.tar.gz: 4ebc1b7c07365fca84e631786ad380ffb610e14ecd81457e432ef59790829b5f
5
5
  SHA512:
6
- metadata.gz: ff1b78b7bc84cab3232f55bb8c37ac7f876723460ae01168792da009f115d699d004d4ee3c4f3e64dd80ba26f5dce83d15156e4df4546b7e69f24908b27aafb1
7
- data.tar.gz: 44ced3196766fda07ffa74b4d46eb363f7a4bd412fd7646b226e209a2b06c53468ef71caa05f5fcc837c56976da9100d86df93a0acdfd90730336fefcea56bab
6
+ metadata.gz: ce5ea2b2868986b678d407d9c9ea2528c46f774a8f89d6055befc255d8e8de7eff06b522e04acd9a45a350c81c91e2bcc5072a382238f611730cd0dcdfca63e0
7
+ data.tar.gz: c7fe3619ade47bae7c71cbc663fa29dc7b986676ad54c4530fcc73c19b72e10e115dcdccd517e0d4fb91f8d144e4f05e83d78afbe61d6c606daffcc50ef77ce9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-serviceconsumermanagement_v1beta1
2
2
 
3
+ ### v0.38.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230719
6
+
7
+ ### v0.37.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230611
10
+
3
11
  ### v0.36.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230426
@@ -677,6 +677,11 @@ module Google
677
677
  # @return [String]
678
678
  attr_accessor :environment
679
679
 
680
+ # Defines policies applying to the API methods of the service.
681
+ # Corresponds to the JSON property `methodPolicies`
682
+ # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MethodPolicy>]
683
+ attr_accessor :method_policies
684
+
680
685
  def initialize(**args)
681
686
  update!(**args)
682
687
  end
@@ -684,6 +689,7 @@ module Google
684
689
  # Update properties of this object
685
690
  def update!(**args)
686
691
  @environment = args[:environment] if args.key?(:environment)
692
+ @method_policies = args[:method_policies] if args.key?(:method_policies)
687
693
  end
688
694
  end
689
695
 
@@ -792,7 +798,7 @@ module Google
792
798
  # documentation: summary: > The Google Calendar API gives access to most
793
799
  # calendar features. pages: - name: Overview content: (== include google/foo/
794
800
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
795
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
801
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
796
802
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
797
803
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
798
804
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -842,6 +848,13 @@ module Google
842
848
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::DocumentationRule>]
843
849
  attr_accessor :rules
844
850
 
851
+ # Specifies section and content to override boilerplate content provided by go/
852
+ # api-docgen. Currently overrides following sections: 1. rest.service.
853
+ # client_libraries
854
+ # Corresponds to the JSON property `sectionOverrides`
855
+ # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Page>]
856
+ attr_accessor :section_overrides
857
+
845
858
  # Specifies the service root url if the default one (the service name from the
846
859
  # yaml file) is not suitable. This can be seen in any fully specified service
847
860
  # urls as well as sections that show a base that other urls are relative to.
@@ -866,6 +879,7 @@ module Google
866
879
  @overview = args[:overview] if args.key?(:overview)
867
880
  @pages = args[:pages] if args.key?(:pages)
868
881
  @rules = args[:rules] if args.key?(:rules)
882
+ @section_overrides = args[:section_overrides] if args.key?(:section_overrides)
869
883
  @service_root_url = args[:service_root_url] if args.key?(:service_root_url)
870
884
  @summary = args[:summary] if args.key?(:summary)
871
885
  end
@@ -1209,6 +1223,50 @@ module Google
1209
1223
  end
1210
1224
  end
1211
1225
 
1226
+ # Google API Policy Annotation This message defines a simple API policy
1227
+ # annotation that can be used to annotate API request and response message
1228
+ # fields with applicable policies. One field may have multiple applicable
1229
+ # policies that must all be satisfied before a request can be processed. This
1230
+ # policy annotation is used to generate the overall policy that will be used for
1231
+ # automatic runtime policy enforcement and documentation generation.
1232
+ class FieldPolicy
1233
+ include Google::Apis::Core::Hashable
1234
+
1235
+ # Specifies the required permission(s) for the resource referred to by the field.
1236
+ # It requires the field contains a valid resource reference, and the request
1237
+ # must pass the permission checks to proceed. For example, "resourcemanager.
1238
+ # projects.get".
1239
+ # Corresponds to the JSON property `resourcePermission`
1240
+ # @return [String]
1241
+ attr_accessor :resource_permission
1242
+
1243
+ # Specifies the resource type for the resource referred to by the field.
1244
+ # Corresponds to the JSON property `resourceType`
1245
+ # @return [String]
1246
+ attr_accessor :resource_type
1247
+
1248
+ # Selects one or more request or response message fields to apply this `
1249
+ # FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector
1250
+ # must be left as empty. The service config generator will automatically fill
1251
+ # the correct value. When a `FieldPolicy` is used in service config, the
1252
+ # selector must be a comma-separated string with valid request or response field
1253
+ # paths, such as "foo.bar" or "foo.bar,foo.baz".
1254
+ # Corresponds to the JSON property `selector`
1255
+ # @return [String]
1256
+ attr_accessor :selector
1257
+
1258
+ def initialize(**args)
1259
+ update!(**args)
1260
+ end
1261
+
1262
+ # Update properties of this object
1263
+ def update!(**args)
1264
+ @resource_permission = args[:resource_permission] if args.key?(:resource_permission)
1265
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1266
+ @selector = args[:selector] if args.key?(:selector)
1267
+ end
1268
+ end
1269
+
1212
1270
  # Settings for Go client libraries.
1213
1271
  class GoSettings
1214
1272
  include Google::Apis::Core::Hashable
@@ -1799,6 +1857,34 @@ module Google
1799
1857
  end
1800
1858
  end
1801
1859
 
1860
+ # Defines policies applying to an RPC method.
1861
+ class MethodPolicy
1862
+ include Google::Apis::Core::Hashable
1863
+
1864
+ # Policies that are applicable to the request message.
1865
+ # Corresponds to the JSON property `requestPolicies`
1866
+ # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::FieldPolicy>]
1867
+ attr_accessor :request_policies
1868
+
1869
+ # Selects a method to which these policies should be enforced, for example, "
1870
+ # google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax
1871
+ # details. NOTE: This field must not be set in the proto annotation. It will be
1872
+ # automatically filled by the service config compiler .
1873
+ # Corresponds to the JSON property `selector`
1874
+ # @return [String]
1875
+ attr_accessor :selector
1876
+
1877
+ def initialize(**args)
1878
+ update!(**args)
1879
+ end
1880
+
1881
+ # Update properties of this object
1882
+ def update!(**args)
1883
+ @request_policies = args[:request_policies] if args.key?(:request_policies)
1884
+ @selector = args[:selector] if args.key?(:selector)
1885
+ end
1886
+ end
1887
+
1802
1888
  # Describes the generator configuration for a method.
1803
1889
  class MethodSettings
1804
1890
  include Google::Apis::Core::Hashable
@@ -2826,7 +2912,7 @@ module Google
2826
2912
  # documentation: summary: > The Google Calendar API gives access to most
2827
2913
  # calendar features. pages: - name: Overview content: (== include google/foo/
2828
2914
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
2829
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
2915
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
2830
2916
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
2831
2917
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
2832
2918
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceconsumermanagementV1beta1
18
18
  # Version of the google-apis-serviceconsumermanagement_v1beta1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230426"
25
+ REVISION = "20230719"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class FieldPolicy
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class GoSettings
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -244,6 +250,12 @@ module Google
244
250
  include Google::Apis::Core::JsonObjectSupport
245
251
  end
246
252
 
253
+ class MethodPolicy
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
247
259
  class MethodSettings
248
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
261
 
@@ -731,6 +743,8 @@ module Google
731
743
  # @private
732
744
  class Representation < Google::Apis::Core::JsonRepresentation
733
745
  property :environment, as: 'environment'
746
+ collection :method_policies, as: 'methodPolicies', class: Google::Apis::ServiceconsumermanagementV1beta1::MethodPolicy, decorator: Google::Apis::ServiceconsumermanagementV1beta1::MethodPolicy::Representation
747
+
734
748
  end
735
749
  end
736
750
 
@@ -776,6 +790,8 @@ module Google
776
790
 
777
791
  collection :rules, as: 'rules', class: Google::Apis::ServiceconsumermanagementV1beta1::DocumentationRule, decorator: Google::Apis::ServiceconsumermanagementV1beta1::DocumentationRule::Representation
778
792
 
793
+ collection :section_overrides, as: 'sectionOverrides', class: Google::Apis::ServiceconsumermanagementV1beta1::Page, decorator: Google::Apis::ServiceconsumermanagementV1beta1::Page::Representation
794
+
779
795
  property :service_root_url, as: 'serviceRootUrl'
780
796
  property :summary, as: 'summary'
781
797
  end
@@ -862,6 +878,15 @@ module Google
862
878
  end
863
879
  end
864
880
 
881
+ class FieldPolicy
882
+ # @private
883
+ class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :resource_permission, as: 'resourcePermission'
885
+ property :resource_type, as: 'resourceType'
886
+ property :selector, as: 'selector'
887
+ end
888
+ end
889
+
865
890
  class GoSettings
866
891
  # @private
867
892
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1004,15 @@ module Google
979
1004
  end
980
1005
  end
981
1006
 
1007
+ class MethodPolicy
1008
+ # @private
1009
+ class Representation < Google::Apis::Core::JsonRepresentation
1010
+ collection :request_policies, as: 'requestPolicies', class: Google::Apis::ServiceconsumermanagementV1beta1::FieldPolicy, decorator: Google::Apis::ServiceconsumermanagementV1beta1::FieldPolicy::Representation
1011
+
1012
+ property :selector, as: 'selector'
1013
+ end
1014
+ end
1015
+
982
1016
  class MethodSettings
983
1017
  # @private
984
1018
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceconsumermanagement_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.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: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceconsumermanagement_v1beta1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceconsumermanagement_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []