lib/google/apis/servicecontrol_v1/classes.rb in google-apis-servicecontrol_v1-0.33.0 vs lib/google/apis/servicecontrol_v1/classes.rb in google-apis-servicecontrol_v1-0.34.0
- old
+ new
@@ -472,10 +472,17 @@
# The required IAM permission.
# Corresponds to the JSON property `permission`
# @return [String]
attr_accessor :permission
+ # The type of the permission that was checked. For data access audit logs this
+ # corresponds with the permission type that must be enabled in the project/
+ # folder/organization IAM policy in order for the log to be written.
+ # Corresponds to the JSON property `permissionType`
+ # @return [String]
+ attr_accessor :permission_type
+
# The resource being accessed, as a REST-style or cloud resource string. For
# example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or
# projects/PROJECTID/datasets/DATASETID
# Corresponds to the JSON property `resource`
# @return [String]
@@ -494,9 +501,10 @@
# Update properties of this object
def update!(**args)
@granted = args[:granted] if args.key?(:granted)
@permission = args[:permission] if args.key?(:permission)
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
@resource = args[:resource] if args.key?(:resource)
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
end
end