Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway

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

Instance Method Summary collapse

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_timeString

Output only. Timestamp when the resource was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1889
1890
1891
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1889

def create_time
  @create_time
end

#display_nameString

Optional. An arbitrary user-provided name for the SecurityGateway. Cannot exceed 64 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


1895
1896
1897
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1895

def display_name
  @display_name
end

#external_ipsArray<String>

Output only. IP addresses that will be used for establishing connection to the endpoints. Corresponds to the JSON property externalIps

Returns:

  • (Array<String>)


1901
1902
1903
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1901

def external_ips
  @external_ips
end

#hubsHash<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

#nameString

Identifier. Name of the resource. Corresponds to the JSON property name

Returns:

  • (String)


1912
1913
1914
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1912

def name
  @name
end

#stateString

Output only. The operational state of the SecurityGateway. Corresponds to the JSON property state

Returns:

  • (String)


1917
1918
1919
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1917

def state
  @state
end

#update_timeString

Output only. Timestamp when the resource was last modified. Corresponds to the JSON property updateTime

Returns:

  • (String)


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