google-apis-servicemanagement_v1 0.44.0 → 0.46.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: b8dcfcf57db4db68c2f4101dc5c48d4a48d699ac927a5f0eeaec826e8ba2aff6
4
- data.tar.gz: b324863ec10487c227824cadb9924271a47ba6e977b2b9f6b1bd31d9478bee89
3
+ metadata.gz: 04ce2ba12f75821f5d4334c74f1e7c245b2424098671000ffc14267a631d15cc
4
+ data.tar.gz: fea31c7acc3d7fb9b6af49114c3ddefee8a0161d02dc54029c73dd93f4f0838e
5
5
  SHA512:
6
- metadata.gz: d2b58bca590342e69021079b0e7688b0573a1b6f8200b874daccb3cf0e10ece4dafaed387b77802ee26466a74572282561f513d66dc84884afc458dfc9318453
7
- data.tar.gz: 9303c71431ebcc9d7cda32a801e047a55a560787fe2a1773151fa313d3fabfd26f8f6c90b54f6af47874f5aeebc7b84e789602c6b3a8aefb0345bf7ce7dac0ff
6
+ metadata.gz: 3c8ecd14c3b065e5e50710fbf79cfb2e98cbe7ce9120847cc0a9e3aebbc50b4489d9dc958835f1b03f170062f574399f234bbcd3487ce2e3561870e73a048227
7
+ data.tar.gz: 31aacc49fe845aab487bbfa32d43f6fd8030c6df48cdb26fd6c6c6fb3f7baaacff2dd71e26052aaf8b94bada68def974953e39d5e089c5919195d9b8aaf50817
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-servicemanagement_v1
2
2
 
3
+ ### v0.46.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230721
6
+
7
+ ### v0.45.0 (2023-06-18)
8
+
9
+ * Regenerated from discovery document revision 20230609
10
+
3
11
  ### v0.44.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230428
@@ -1005,6 +1005,11 @@ module Google
1005
1005
  # @return [String]
1006
1006
  attr_accessor :environment
1007
1007
 
1008
+ # Defines policies applying to the API methods of the service.
1009
+ # Corresponds to the JSON property `methodPolicies`
1010
+ # @return [Array<Google::Apis::ServicemanagementV1::MethodPolicy>]
1011
+ attr_accessor :method_policies
1012
+
1008
1013
  def initialize(**args)
1009
1014
  update!(**args)
1010
1015
  end
@@ -1012,6 +1017,7 @@ module Google
1012
1017
  # Update properties of this object
1013
1018
  def update!(**args)
1014
1019
  @environment = args[:environment] if args.key?(:environment)
1020
+ @method_policies = args[:method_policies] if args.key?(:method_policies)
1015
1021
  end
1016
1022
  end
1017
1023
 
@@ -1165,7 +1171,7 @@ module Google
1165
1171
  # documentation: summary: > The Google Calendar API gives access to most
1166
1172
  # calendar features. pages: - name: Overview content: (== include google/foo/
1167
1173
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
1168
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
1174
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
1169
1175
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
1170
1176
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
1171
1177
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -1215,6 +1221,13 @@ module Google
1215
1221
  # @return [Array<Google::Apis::ServicemanagementV1::DocumentationRule>]
1216
1222
  attr_accessor :rules
1217
1223
 
1224
+ # Specifies section and content to override boilerplate content provided by go/
1225
+ # api-docgen. Currently overrides following sections: 1. rest.service.
1226
+ # client_libraries
1227
+ # Corresponds to the JSON property `sectionOverrides`
1228
+ # @return [Array<Google::Apis::ServicemanagementV1::Page>]
1229
+ attr_accessor :section_overrides
1230
+
1218
1231
  # Specifies the service root url if the default one (the service name from the
1219
1232
  # yaml file) is not suitable. This can be seen in any fully specified service
1220
1233
  # urls as well as sections that show a base that other urls are relative to.
@@ -1239,6 +1252,7 @@ module Google
1239
1252
  @overview = args[:overview] if args.key?(:overview)
1240
1253
  @pages = args[:pages] if args.key?(:pages)
1241
1254
  @rules = args[:rules] if args.key?(:rules)
1255
+ @section_overrides = args[:section_overrides] if args.key?(:section_overrides)
1242
1256
  @service_root_url = args[:service_root_url] if args.key?(:service_root_url)
1243
1257
  @summary = args[:summary] if args.key?(:summary)
1244
1258
  end
@@ -1633,6 +1647,50 @@ module Google
1633
1647
  end
1634
1648
  end
1635
1649
 
1650
+ # Google API Policy Annotation This message defines a simple API policy
1651
+ # annotation that can be used to annotate API request and response message
1652
+ # fields with applicable policies. One field may have multiple applicable
1653
+ # policies that must all be satisfied before a request can be processed. This
1654
+ # policy annotation is used to generate the overall policy that will be used for
1655
+ # automatic runtime policy enforcement and documentation generation.
1656
+ class FieldPolicy
1657
+ include Google::Apis::Core::Hashable
1658
+
1659
+ # Specifies the required permission(s) for the resource referred to by the field.
1660
+ # It requires the field contains a valid resource reference, and the request
1661
+ # must pass the permission checks to proceed. For example, "resourcemanager.
1662
+ # projects.get".
1663
+ # Corresponds to the JSON property `resourcePermission`
1664
+ # @return [String]
1665
+ attr_accessor :resource_permission
1666
+
1667
+ # Specifies the resource type for the resource referred to by the field.
1668
+ # Corresponds to the JSON property `resourceType`
1669
+ # @return [String]
1670
+ attr_accessor :resource_type
1671
+
1672
+ # Selects one or more request or response message fields to apply this `
1673
+ # FieldPolicy`. When a `FieldPolicy` is used in proto annotation, the selector
1674
+ # must be left as empty. The service config generator will automatically fill
1675
+ # the correct value. When a `FieldPolicy` is used in service config, the
1676
+ # selector must be a comma-separated string with valid request or response field
1677
+ # paths, such as "foo.bar" or "foo.bar,foo.baz".
1678
+ # Corresponds to the JSON property `selector`
1679
+ # @return [String]
1680
+ attr_accessor :selector
1681
+
1682
+ def initialize(**args)
1683
+ update!(**args)
1684
+ end
1685
+
1686
+ # Update properties of this object
1687
+ def update!(**args)
1688
+ @resource_permission = args[:resource_permission] if args.key?(:resource_permission)
1689
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1690
+ @selector = args[:selector] if args.key?(:selector)
1691
+ end
1692
+ end
1693
+
1636
1694
  # Encapsulation of flow-specific error details for debugging. Used as a details
1637
1695
  # field on an error Status, not intended for external use.
1638
1696
  class FlowErrorDetails
@@ -2493,6 +2551,34 @@ module Google
2493
2551
  end
2494
2552
  end
2495
2553
 
2554
+ # Defines policies applying to an RPC method.
2555
+ class MethodPolicy
2556
+ include Google::Apis::Core::Hashable
2557
+
2558
+ # Policies that are applicable to the request message.
2559
+ # Corresponds to the JSON property `requestPolicies`
2560
+ # @return [Array<Google::Apis::ServicemanagementV1::FieldPolicy>]
2561
+ attr_accessor :request_policies
2562
+
2563
+ # Selects a method to which these policies should be enforced, for example, "
2564
+ # google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax
2565
+ # details. NOTE: This field must not be set in the proto annotation. It will be
2566
+ # automatically filled by the service config compiler .
2567
+ # Corresponds to the JSON property `selector`
2568
+ # @return [String]
2569
+ attr_accessor :selector
2570
+
2571
+ def initialize(**args)
2572
+ update!(**args)
2573
+ end
2574
+
2575
+ # Update properties of this object
2576
+ def update!(**args)
2577
+ @request_policies = args[:request_policies] if args.key?(:request_policies)
2578
+ @selector = args[:selector] if args.key?(:selector)
2579
+ end
2580
+ end
2581
+
2496
2582
  # Describes the generator configuration for a method.
2497
2583
  class MethodSettings
2498
2584
  include Google::Apis::Core::Hashable
@@ -3795,7 +3881,7 @@ module Google
3795
3881
  # documentation: summary: > The Google Calendar API gives access to most
3796
3882
  # calendar features. pages: - name: Overview content: (== include google/foo/
3797
3883
  # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
3798
- # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
3884
+ # ) subpages: - name: Java content: (== include google/foo/tutorial_java.md ==)
3799
3885
  # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
3800
3886
  # google.calendar.Calendar.Put description: > ... Documentation is provided in
3801
3887
  # markdown syntax. In addition to standard markdown features, definition lists,
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicemanagementV1
18
18
  # Version of the google-apis-servicemanagement_v1 gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.46.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 = "20230428"
25
+ REVISION = "20230721"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class FieldPolicy
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class FlowErrorDetails
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -376,6 +382,12 @@ module Google
376
382
  include Google::Apis::Core::JsonObjectSupport
377
383
  end
378
384
 
385
+ class MethodPolicy
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
379
391
  class MethodSettings
380
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
393
 
@@ -864,6 +876,8 @@ module Google
864
876
  # @private
865
877
  class Representation < Google::Apis::Core::JsonRepresentation
866
878
  property :environment, as: 'environment'
879
+ collection :method_policies, as: 'methodPolicies', class: Google::Apis::ServicemanagementV1::MethodPolicy, decorator: Google::Apis::ServicemanagementV1::MethodPolicy::Representation
880
+
867
881
  end
868
882
  end
869
883
 
@@ -924,6 +938,8 @@ module Google
924
938
 
925
939
  collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::DocumentationRule, decorator: Google::Apis::ServicemanagementV1::DocumentationRule::Representation
926
940
 
941
+ collection :section_overrides, as: 'sectionOverrides', class: Google::Apis::ServicemanagementV1::Page, decorator: Google::Apis::ServicemanagementV1::Page::Representation
942
+
927
943
  property :service_root_url, as: 'serviceRootUrl'
928
944
  property :summary, as: 'summary'
929
945
  end
@@ -1020,6 +1036,15 @@ module Google
1020
1036
  end
1021
1037
  end
1022
1038
 
1039
+ class FieldPolicy
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :resource_permission, as: 'resourcePermission'
1043
+ property :resource_type, as: 'resourceType'
1044
+ property :selector, as: 'selector'
1045
+ end
1046
+ end
1047
+
1023
1048
  class FlowErrorDetails
1024
1049
  # @private
1025
1050
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1224,6 +1249,15 @@ module Google
1224
1249
  end
1225
1250
  end
1226
1251
 
1252
+ class MethodPolicy
1253
+ # @private
1254
+ class Representation < Google::Apis::Core::JsonRepresentation
1255
+ collection :request_policies, as: 'requestPolicies', class: Google::Apis::ServicemanagementV1::FieldPolicy, decorator: Google::Apis::ServicemanagementV1::FieldPolicy::Representation
1256
+
1257
+ property :selector, as: 'selector'
1258
+ end
1259
+ end
1260
+
1227
1261
  class MethodSettings
1228
1262
  # @private
1229
1263
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicemanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-08-06 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-servicemanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicemanagement_v1/v0.46.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicemanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []