Class: Google::Apis::SecuresourcemanagerV1::HostConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::HostConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securesourcemanager_v1/classes.rb,
lib/google/apis/securesourcemanager_v1/representations.rb,
lib/google/apis/securesourcemanager_v1/representations.rb
Overview
HostConfig has different instance endpoints.
Instance Attribute Summary collapse
-
#api ⇒ String
Output only.
-
#git_http ⇒ String
Output only.
-
#git_ssh ⇒ String
Output only.
-
#html ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HostConfig
constructor
A new instance of HostConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HostConfig
Returns a new instance of HostConfig.
781 782 783 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 781 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api ⇒ String
Output only. API hostname.
Corresponds to the JSON property api
764 765 766 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 764 def api @api end |
#git_http ⇒ String
Output only. Git HTTP hostname.
Corresponds to the JSON property gitHttp
769 770 771 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 769 def git_http @git_http end |
#git_ssh ⇒ String
Output only. Git SSH hostname.
Corresponds to the JSON property gitSsh
774 775 776 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 774 def git_ssh @git_ssh end |
#html ⇒ String
Output only. HTML hostname.
Corresponds to the JSON property html
779 780 781 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 779 def html @html end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
786 787 788 789 790 791 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 786 def update!(**args) @api = args[:api] if args.key?(:api) @git_http = args[:git_http] if args.key?(:git_http) @git_ssh = args[:git_ssh] if args.key?(:git_ssh) @html = args[:html] if args.key?(:html) end |