class Google::Apis::ComputeV1::ServiceAttachmentConsumerProjectLimit

Attributes

connection_limit[RW]

The value of the limit to set. Corresponds to the JSON property `connectionLimit` @return [Fixnum]

project_id_or_num[RW]

The project id or number for the project to set the limit for. Corresponds to the JSON property `projectIdOrNum` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 29868
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 29873
def update!(**args)
  @connection_limit = args[:connection_limit] if args.key?(:connection_limit)
  @project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
end