Class: Google::Apis::CloudsearchV1::HostProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::HostProto
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Represents a single host. Optionally, the MDB owner of the host can be specified.
Instance Attribute Summary collapse
-
#host_name ⇒ String
Lower-case, fully qualified hostname.
-
#host_owner ⇒ String
If present, then any checks that compare this Principal to LOAS peer info must confirm the peer's machine owner is equal to 'host_owner'.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HostProto
constructor
A new instance of HostProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HostProto
Returns a new instance of HostProto.
10608 10609 10610 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10608 def initialize(**args) update!(**args) end |
Instance Attribute Details
#host_name ⇒ String
Lower-case, fully qualified hostname.
Corresponds to the JSON property hostName
10599 10600 10601 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10599 def host_name @host_name end |
#host_owner ⇒ String
If present, then any checks that compare this Principal to LOAS peer info must
confirm the peer's machine owner is equal to 'host_owner'. If absent, then any
peer machine owner is acceptable.
Corresponds to the JSON property hostOwner
10606 10607 10608 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10606 def host_owner @host_owner end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10613 10614 10615 10616 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 10613 def update!(**args) @host_name = args[:host_name] if args.key?(:host_name) @host_owner = args[:host_owner] if args.key?(:host_owner) end |