lib/google/apis/servicecontrol_v1/representations.rb in google-apis-servicecontrol_v1-0.18.0 vs lib/google/apis/servicecontrol_v1/representations.rb in google-apis-servicecontrol_v1-0.19.0
- old
+ new
@@ -188,16 +188,28 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class OrgPolicyViolationInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class Peer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class PolicyViolationInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class QuotaError
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
@@ -326,10 +338,16 @@
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
+ class ViolationInfo
+ class Representation < Google::Apis::Core::JsonRepresentation; end
+
+ include Google::Apis::Core::JsonObjectSupport
+ end
+
class AllocateInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :unused_arguments, as: 'unusedArguments'
end
@@ -385,10 +403,12 @@
collection :authorization_info, as: 'authorizationInfo', class: Google::Apis::ServicecontrolV1::AuthorizationInfo, decorator: Google::Apis::ServicecontrolV1::AuthorizationInfo::Representation
hash :metadata, as: 'metadata'
property :method_name, as: 'methodName'
property :num_response_items, :numeric_string => true, as: 'numResponseItems'
+ property :policy_violation_info, as: 'policyViolationInfo', class: Google::Apis::ServicecontrolV1::PolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::PolicyViolationInfo::Representation
+
hash :request, as: 'request'
property :request_metadata, as: 'requestMetadata', class: Google::Apis::ServicecontrolV1::RequestMetadata, decorator: Google::Apis::ServicecontrolV1::RequestMetadata::Representation
property :resource_location, as: 'resourceLocation', class: Google::Apis::ServicecontrolV1::ResourceLocation, decorator: Google::Apis::ServicecontrolV1::ResourceLocation::Representation
@@ -673,10 +693,21 @@
hash :user_labels, as: 'userLabels'
end
end
+ class OrgPolicyViolationInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ hash :payload, as: 'payload'
+ hash :resource_tags, as: 'resourceTags'
+ property :resource_type, as: 'resourceType'
+ collection :violation_info, as: 'violationInfo', class: Google::Apis::ServicecontrolV1::ViolationInfo, decorator: Google::Apis::ServicecontrolV1::ViolationInfo::Representation
+
+ end
+ end
+
class Peer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip, as: 'ip'
hash :labels, as: 'labels'
@@ -684,10 +715,18 @@
property :principal, as: 'principal'
property :region_code, as: 'regionCode'
end
end
+ class PolicyViolationInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :org_policy_violation_info, as: 'orgPolicyViolationInfo', class: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo, decorator: Google::Apis::ServicecontrolV1::OrgPolicyViolationInfo::Representation
+
+ end
+ end
+
class QuotaError
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :description, as: 'description'
@@ -941,9 +980,19 @@
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file, as: 'file'
property :function, as: 'function'
property :line, :numeric_string => true, as: 'line'
+ end
+ end
+
+ class ViolationInfo
+ # @private
+ class Representation < Google::Apis::Core::JsonRepresentation
+ property :checked_value, as: 'checkedValue'
+ property :constraint, as: 'constraint'
+ property :error_message, as: 'errorMessage'
+ property :policy_type, as: 'policyType'
end
end
end
end
end