google-apis-orgpolicy_v2 0.34.0 → 0.35.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: 3bd3dca886526d3bc8911a39a07353a20d7d2fb5639bb3caff5e1b5e6bca8536
4
- data.tar.gz: 67492e8c14679060c688f831dd1ca106f2dec83b9e1c54000ad6a04a23f4ffad
3
+ metadata.gz: d8beb5ef885437db565cd65f9ae98776a3238e948f9b9de8f5c47ba9e9f591ef
4
+ data.tar.gz: 6ffc994b812302bb3a104482caf7e3120cf76e30699919462a6b6f7d569eae26
5
5
  SHA512:
6
- metadata.gz: 57b38eca721680bcde24907d5deba072beb84c987c76c9e045109403e93df29b31de07fce6290ea0accc5a431af8d8478e5995db467f7a9d8ca725eff6a0df15
7
- data.tar.gz: 23828acef02160b792b64c40f2fb4258593183a11f4e545add30604abbaba6adb2ff67781904487641f91a21fa0c7018487fa7ea0eb4cc34bc2525f76ed4e9fb
6
+ metadata.gz: 1d45d12207ed28dc56d6a729af9fbcacf46efbd43b3b66b01b2814e61065c701e99d2fcdeefe719bc7c5558aed63abae2517bc5d05423776facfdee4bdec9fb8
7
+ data.tar.gz: 2531759368f5bd819e3c8679c6aec87612ad1ea9185e1c64b4a80070fcc7ecc0a4be7282191e11951c8589feaba0b61f1868c2677ac7ddb22684f527b673af5e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-orgpolicy_v2
2
2
 
3
+ ### v0.35.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240513
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.34.0 (2024-04-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20240422
@@ -88,12 +88,6 @@ module Google
88
88
  # @return [String]
89
89
  attr_accessor :display_name
90
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
91
  # A constraint that allows or disallows a list of string values, which are
98
92
  # configured by an Organization Policy administrator with a policy.
99
93
  # Corresponds to the JSON property `listConstraint`
@@ -125,7 +119,6 @@ module Google
125
119
  @constraint_default = args[:constraint_default] if args.key?(:constraint_default)
126
120
  @description = args[:description] if args.key?(:description)
127
121
  @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
122
  @list_constraint = args[:list_constraint] if args.key?(:list_constraint)
130
123
  @name = args[:name] if args.key?(:name)
131
124
  @supports_dry_run = args[:supports_dry_run] if args.key?(:supports_dry_run)
@@ -147,47 +140,6 @@ module Google
147
140
  end
148
141
  end
149
142
 
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
- include Google::Apis::Core::Hashable
154
-
155
- # Allow or deny type.
156
- # Corresponds to the JSON property `actionType`
157
- # @return [String]
158
- attr_accessor :action_type
159
-
160
- # Org policy condition/expression. For example: `resource.instanceName.matches("[
161
- # production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true`
162
- # The max length of the condition is 1000 characters.
163
- # Corresponds to the JSON property `condition`
164
- # @return [String]
165
- attr_accessor :condition
166
-
167
- # All the operations being applied for this constraint.
168
- # Corresponds to the JSON property `methodTypes`
169
- # @return [Array<String>]
170
- attr_accessor :method_types
171
-
172
- # The resource instance type on which this policy applies. Format will be of the
173
- # form : `/` Example: * `compute.googleapis.com/Instance`.
174
- # Corresponds to the JSON property `resourceTypes`
175
- # @return [Array<String>]
176
- attr_accessor :resource_types
177
-
178
- def initialize(**args)
179
- update!(**args)
180
- end
181
-
182
- # Update properties of this object
183
- def update!(**args)
184
- @action_type = args[:action_type] if args.key?(:action_type)
185
- @condition = args[:condition] if args.key?(:condition)
186
- @method_types = args[:method_types] if args.key?(:method_types)
187
- @resource_types = args[:resource_types] if args.key?(:resource_types)
188
- end
189
- end
190
-
191
143
  # A constraint that allows or disallows a list of string values, which are
192
144
  # configured by an Organization Policy administrator with a policy.
193
145
  class GoogleCloudOrgpolicyV2ConstraintListConstraint
@@ -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.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240422"
25
+ REVISION = "20240513"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class GoogleCloudOrgpolicyV2ConstraintListConstraint
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -129,8 +123,6 @@ module Google
129
123
  property :constraint_default, as: 'constraintDefault'
130
124
  property :description, as: 'description'
131
125
  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
126
  property :list_constraint, as: 'listConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint::Representation
135
127
 
136
128
  property :name, as: 'name'
@@ -144,16 +136,6 @@ module Google
144
136
  end
145
137
  end
146
138
 
147
- class GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint
148
- # @private
149
- class Representation < Google::Apis::Core::JsonRepresentation
150
- property :action_type, as: 'actionType'
151
- property :condition, as: 'condition'
152
- collection :method_types, as: 'methodTypes'
153
- collection :resource_types, as: 'resourceTypes'
154
- end
155
- end
156
-
157
139
  class GoogleCloudOrgpolicyV2ConstraintListConstraint
158
140
  # @private
159
141
  class Representation < Google::Apis::Core::JsonRepresentation
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.34.0
4
+ version: 0.35.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-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-orgpolicy_v2/v0.35.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: []