Skip to content

Commit 3ed6756

Browse files
feat: Automated regeneration of orgpolicy v2 client (#11645)
Auto-created at 2022-09-14 11:23:21 +0000 using the toys pull request generator.
1 parent 9d3b55e commit 3ed6756

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179614,6 +179614,7 @@
179614179614
"/orgpolicy:v2/GoogleCloudOrgpolicyV2CustomConstraint/name": name
179615179615
"/orgpolicy:v2/GoogleCloudOrgpolicyV2CustomConstraint/resourceTypes": resource_types
179616179616
"/orgpolicy:v2/GoogleCloudOrgpolicyV2CustomConstraint/resourceTypes/resource_type": resource_type
179617+
"/orgpolicy:v2/GoogleCloudOrgpolicyV2CustomConstraint/updateTime": update_time
179617179618
"/orgpolicy:v2/GoogleCloudOrgpolicyV2ListConstraintsResponse": google_cloud_orgpolicy_v2_list_constraints_response
179618179619
"/orgpolicy:v2/GoogleCloudOrgpolicyV2ListConstraintsResponse/constraints": constraints
179619179620
"/orgpolicy:v2/GoogleCloudOrgpolicyV2ListConstraintsResponse/constraints/constraint": constraint

generated/google-apis-orgpolicy_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-orgpolicy_v2
22

3+
### v0.19.0 (2022-09-14)
4+
5+
* Regenerated from discovery document revision 20220910
6+
37
### v0.18.0 (2022-08-17)
48

59
* Regenerated from discovery document revision 20220812

generated/google-apis-orgpolicy_v2/lib/google/apis/orgpolicy_v2/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ class GoogleCloudOrgpolicyV2CustomConstraint
212212
# @return [Array<String>]
213213
attr_accessor :resource_types
214214

215+
# Output only. The last time this custom constraint was updated. This represents
216+
# the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint`
217+
# RPC was called
218+
# Corresponds to the JSON property `updateTime`
219+
# @return [String]
220+
attr_accessor :update_time
221+
215222
def initialize(**args)
216223
update!(**args)
217224
end
@@ -225,6 +232,7 @@ def update!(**args)
225232
@method_types = args[:method_types] if args.key?(:method_types)
226233
@name = args[:name] if args.key?(:name)
227234
@resource_types = args[:resource_types] if args.key?(:resource_types)
235+
@update_time = args[:update_time] if args.key?(:update_time)
228236
end
229237
end
230238

generated/google-apis-orgpolicy_v2/lib/google/apis/orgpolicy_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module OrgpolicyV2
1818
# Version of the google-apis-orgpolicy_v2 gem
19-
GEM_VERSION = "0.18.0"
19+
GEM_VERSION = "0.19.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.9.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20220812"
25+
REVISION = "20220910"
2626
end
2727
end
2828
end

generated/google-apis-orgpolicy_v2/lib/google/apis/orgpolicy_v2/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
153153
collection :method_types, as: 'methodTypes'
154154
property :name, as: 'name'
155155
collection :resource_types, as: 'resourceTypes'
156+
property :update_time, as: 'updateTime'
156157
end
157158
end
158159

0 commit comments

Comments
 (0)