lib/google/apis/servicecontrol_v1/classes.rb in google-apis-servicecontrol_v1-0.24.0 vs lib/google/apis/servicecontrol_v1/classes.rb in google-apis-servicecontrol_v1-0.25.0
- old
+ new
@@ -1573,12 +1573,12 @@
# Corresponds to the JSON property `port`
# @return [Fixnum]
attr_accessor :port
# The identity of this peer. Similar to `Request.auth.principal`, but relative
- # to the peer instead of the request. For example, the idenity associated with a
- # load balancer that forwared the request.
+ # to the peer instead of the request. For example, the identity associated with
+ # a load balancer that forwarded the request.
# Corresponds to the JSON property `principal`
# @return [String]
attr_accessor :principal
# The CLDR country/region code associated with the above IP address. If the IP
@@ -2185,10 +2185,15 @@
# Describes a resource associated with this operation.
class ResourceInfo
include Google::Apis::Core::Hashable
+ # The resource permission required for this request.
+ # Corresponds to the JSON property `permission`
+ # @return [String]
+ attr_accessor :permission
+
# The identifier of the parent of this resource instance. Must be in one of the
# following formats: - `projects/` - `folders/` - `organizations/`
# Corresponds to the JSON property `resourceContainer`
# @return [String]
attr_accessor :resource_container
@@ -2209,9 +2214,10 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @permission = args[:permission] if args.key?(:permission)
@resource_container = args[:resource_container] if args.key?(:resource_container)
@resource_location = args[:resource_location] if args.key?(:resource_location)
@resource_name = args[:resource_name] if args.key?(:resource_name)
end
end