google-apis-orgpolicy_v2 0.33.0 → 0.35.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: b11157bfed861dede32b53fbe64497c8e6c03c40ad56627af33a97e05c44371b
4
- data.tar.gz: 0a2d42c059cbe9cfbf5d036f2abcc4873c7af9486c7792b5e9a738287a7d5b0c
3
+ metadata.gz: d8beb5ef885437db565cd65f9ae98776a3238e948f9b9de8f5c47ba9e9f591ef
4
+ data.tar.gz: 6ffc994b812302bb3a104482caf7e3120cf76e30699919462a6b6f7d569eae26
5
5
  SHA512:
6
- metadata.gz: c6b99f5cbb3c4e9e5fab14f0e25384fba74f28feaa9f16685f1a796e581417f77c40f29e93af6db766bb8777a4b347d7c6421e8f69f2ca841e23df99139ef2b5
7
- data.tar.gz: 033cf3dc752bd5affb1fd63791790442bbcc66754c41d322c4edbb11615b91a501d4d1de1ecd6b5c52a76ede03584712b67402f918b6308818de3593a2b7179f
6
+ metadata.gz: 1d45d12207ed28dc56d6a729af9fbcacf46efbd43b3b66b01b2814e61065c701e99d2fcdeefe719bc7c5558aed63abae2517bc5d05423776facfdee4bdec9fb8
7
+ data.tar.gz: 2531759368f5bd819e3c8679c6aec87612ad1ea9185e1c64b4a80070fcc7ecc0a4be7282191e11951c8589feaba0b61f1868c2677ac7ddb22684f527b673af5e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.34.0 (2024-04-28)
9
+
10
+ * Regenerated from discovery document revision 20240422
11
+
3
12
  ### v0.33.0 (2024-03-31)
4
13
 
5
14
  * 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`
@@ -123,7 +117,6 @@ module Google
123
117
  def update!(**args)
124
118
  @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint)
125
119
  @constraint_default = args[:constraint_default] if args.key?(:constraint_default)
126
- @custom_constraint = args[:custom_constraint] if args.key?(:custom_constraint)
127
120
  @description = args[:description] if args.key?(:description)
128
121
  @display_name = args[:display_name] if args.key?(:display_name)
129
122
  @list_constraint = args[:list_constraint] if args.key?(:list_constraint)
@@ -147,47 +140,6 @@ module Google
147
140
  end
148
141
  end
149
142
 
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
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.33.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 = "20240325"
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 GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint
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
 
@@ -127,8 +121,6 @@ module Google
127
121
  property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintBooleanConstraint::Representation
128
122
 
129
123
  property :constraint_default, as: 'constraintDefault'
130
- property :custom_constraint, as: 'customConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint::Representation
131
-
132
124
  property :description, as: 'description'
133
125
  property :display_name, as: 'displayName'
134
126
  property :list_constraint, as: 'listConstraint', class: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint, decorator: Google::Apis::OrgpolicyV2::GoogleCloudOrgpolicyV2ConstraintListConstraint::Representation
@@ -144,16 +136,6 @@ module Google
144
136
  end
145
137
  end
146
138
 
147
- class GoogleCloudOrgpolicyV2ConstraintGoogleDefinedCustomConstraint
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.33.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-03-31 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.33.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: []