google-apis-orgpolicy_v2 0.33.0 → 0.34.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: b11157bfed861dede32b53fbe64497c8e6c03c40ad56627af33a97e05c44371b
4
- data.tar.gz: 0a2d42c059cbe9cfbf5d036f2abcc4873c7af9486c7792b5e9a738287a7d5b0c
3
+ metadata.gz: 3bd3dca886526d3bc8911a39a07353a20d7d2fb5639bb3caff5e1b5e6bca8536
4
+ data.tar.gz: 67492e8c14679060c688f831dd1ca106f2dec83b9e1c54000ad6a04a23f4ffad
5
5
  SHA512:
6
- metadata.gz: c6b99f5cbb3c4e9e5fab14f0e25384fba74f28feaa9f16685f1a796e581417f77c40f29e93af6db766bb8777a4b347d7c6421e8f69f2ca841e23df99139ef2b5
7
- data.tar.gz: 033cf3dc752bd5affb1fd63791790442bbcc66754c41d322c4edbb11615b91a501d4d1de1ecd6b5c52a76ede03584712b67402f918b6308818de3593a2b7179f
6
+ metadata.gz: 57b38eca721680bcde24907d5deba072beb84c987c76c9e045109403e93df29b31de07fce6290ea0accc5a431af8d8478e5995db467f7a9d8ca725eff6a0df15
7
+ data.tar.gz: 23828acef02160b792b64c40f2fb4258593183a11f4e545add30604abbaba6adb2ff67781904487641f91a21fa0c7018487fa7ea0eb4cc34bc2525f76ed4e9fb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-orgpolicy_v2
2
2
 
3
+ ### v0.34.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240422
6
+
3
7
  ### v0.33.0 (2024-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20240325
@@ -77,12 +77,6 @@ module Google
77
77
  # @return [String]
78
78
  attr_accessor :constraint_default
79
79
 
80
- # A Google defined custom constraint. This represents a subset of fields missing
81
- # from Constraint proto that are required to describe CustomConstraint
82
- # Corresponds to the JSON property `customConstraint`
83
- # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint]
84
- attr_accessor :custom_constraint
85
-
86
80
  # Detailed description of what this constraint controls as well as how and where
87
81
  # it is enforced. Mutable.
88
82
  # Corresponds to the JSON property `description`
@@ -94,6 +88,12 @@ module Google
94
88
  # @return [String]
95
89
  attr_accessor :display_name
96
90
 
91
+ # A Google managed constraint. This represents a subset of fields missing from
92
+ # Constraint proto that are required to describe CustomConstraint
93
+ # Corresponds to the JSON property `googleManagedConstraint`
94
+ # @return [Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint]
95
+ attr_accessor :google_managed_constraint
96
+
97
97
  # A constraint that allows or disallows a list of string values, which are
98
98
  # configured by an Organization Policy administrator with a policy.
99
99
  # Corresponds to the JSON property `listConstraint`
@@ -123,9 +123,9 @@ module Google
123
123
  def update!(**args)
124
124
  @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint)
125
125
  @constraint_default = args[:constraint_default] if args.key?(:constraint_default)
126
- @custom_constraint = args[:custom_constraint] if args.key?(:custom_constraint)
127
126
  @description = args[:description] if args.key?(:description)
128
127
  @display_name = args[:display_name] if args.key?(:display_name)
128
+ @google_managed_constraint = args[:google_managed_constraint] if args.key?(:google_managed_constraint)
129
129
  @list_constraint = args[:list_constraint] if args.key?(:list_constraint)
130
130
  @name = args[:name] if args.key?(:name)
131
131
  @supports_dry_run = args[:supports_dry_run] if args.key?(:supports_dry_run)
@@ -147,9 +147,9 @@ module Google
147
147
  end
148
148
  end
149
149
 
150
- # A Google defined custom constraint. This represents a subset of fields missing
151
- # from Constraint proto that are required to describe CustomConstraint
152
- class GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint
150
+ # A Google managed constraint. This represents a subset of fields missing from
151
+ # Constraint proto that are required to describe CustomConstraint
152
+ class GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint
153
153
  include Google::Apis::Core::Hashable
154
154
 
155
155
  # Allow or deny type.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OrgpolicyV2
18
18
  # Version of the google-apis-orgpolicy_v2 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240325"
25
+ REVISION = "20240422"
26
26
  end
27
27
  end
28
28
  end
@@ -40,7 +40,7 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint
43
+ class GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
@@ -127,10 +127,10 @@ module Google
127
127
  property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint::Representation
128
128
 
129
129
  property :constraint_default, as: 'constraintDefault'
130
- property :custom_constraint, as: 'customConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint::Representation
131
-
132
130
  property :description, as: 'description'
133
131
  property :display_name, as: 'displayName'
132
+ property :google_managed_constraint, as: 'googleManagedConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint::Representation
133
+
134
134
  property :list_constraint, as: 'listConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint::Representation
135
135
 
136
136
  property :name, as: 'name'
@@ -144,7 +144,7 @@ module Google
144
144
  end
145
145
  end
146
146
 
147
- class GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint
147
+ class GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint
148
148
  # @private
149
149
  class Representation < Google::Apis::Core::JsonRepresentation
150
150
  property :action_type, as: 'actionType'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-orgpolicy_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.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: 2024-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-28 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-orgpolicy_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-orgpolicy_v2
63
63
  post_install_message:
64
64
  rdoc_options: []