Class: Google::Apis::SecuresourcemanagerV1::HostConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#apiString

Output only. API hostname. Corresponds to the JSON property api

Returns:

  • (String)


764
765
766
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 764

def api
  @api
end

#git_httpString

Output only. Git HTTP hostname. Corresponds to the JSON property gitHttp

Returns:

  • (String)


769
770
771
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 769

def git_http
  @git_http
end

#git_sshString

Output only. Git SSH hostname. Corresponds to the JSON property gitSsh

Returns:

  • (String)


774
775
776
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 774

def git_ssh
  @git_ssh
end

#htmlString

Output only. HTML hostname. Corresponds to the JSON property html

Returns:

  • (String)


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