Class: Google::Apis::OsconfigV1beta::GooRepository
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::GooRepository
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb
Overview
Represents a Goo package repository. These is added to a repo file that is stored at C:/ProgramData/GooGet/repos/google_osconfig.repo.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#url ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooRepository
constructor
A new instance of GooRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooRepository
Returns a new instance of GooRepository.
577 578 579 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 577 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The name of the repository.
Corresponds to the JSON property name
570 571 572 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 570 def name @name end |
#url ⇒ String
Required. The url of the repository.
Corresponds to the JSON property url
575 576 577 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 575 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
582 583 584 585 |
# File 'generated/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 |