Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb
Overview
Information about a BeyoncCorp SecurityGateway resource.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#external_ips ⇒ Array<String>
Output only.
-
#hubs ⇒ Hash<String,Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub>
Optional.
-
#name ⇒ String
Identifier.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway.
1924 1925 1926 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when the resource was created.
Corresponds to the JSON property createTime
1889 1890 1891 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1889 def create_time @create_time end |
#display_name ⇒ String
Optional. An arbitrary user-provided name for the SecurityGateway. Cannot
exceed 64 characters.
Corresponds to the JSON property displayName
1895 1896 1897 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1895 def display_name @display_name end |
#external_ips ⇒ Array<String>
Output only. IP addresses that will be used for establishing connection to the
endpoints.
Corresponds to the JSON property externalIps
1901 1902 1903 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1901 def external_ips @external_ips end |
#hubs ⇒ Hash<String,Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub>
Optional. Map of Hubs that represents regional data path deployment with GCP
region as a key.
Corresponds to the JSON property hubs
1907 1908 1909 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1907 def hubs @hubs end |
#name ⇒ String
Identifier. Name of the resource.
Corresponds to the JSON property name
1912 1913 1914 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1912 def name @name end |
#state ⇒ String
Output only. The operational state of the SecurityGateway.
Corresponds to the JSON property state
1917 1918 1919 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1917 def state @state end |
#update_time ⇒ String
Output only. Timestamp when the resource was last modified.
Corresponds to the JSON property updateTime
1922 1923 1924 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1922 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1929 1930 1931 1932 1933 1934 1935 1936 1937 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1929 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @external_ips = args[:external_ips] if args.key?(:external_ips) @hubs = args[:hubs] if args.key?(:hubs) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |