class Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceGooRepository
Represents a Goo package repository. These are added to a repo file that is managed 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_v1alpha/classes.rb, line 2136 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_v1alpha/classes.rb, line 2141 def update!(**args) @name = args[:name] if args.key?(:name) @url = args[:url] if args.key?(:url) end