class Google::Apis::OsconfigV1beta::GooRepository

Represents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.

Attributes

name[RW]

Required. The name of the repository. Corresponds to the JSON property `name` @return [String]

url[RW]

Required. The url of the repository. Corresponds to the JSON property `url` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 582
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @url = args[:url] if args.key?(:url)
end