Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb

Overview

Information about a BeyoncCorp SecurityGateway resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway.



2851
2852
2853
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2851

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)


2823
2824
2825
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2823

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)


2829
2830
2831
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2829

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


2834
2835
2836
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2834

def name
  @name
end

#region_configsArray<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaRegionConfig>

Optional. List of regions where the egress connectivity is required. Corresponds to the JSON property regionConfigs



2839
2840
2841
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2839

def region_configs
  @region_configs
end

#stateString

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

Returns:

  • (String)


2844
2845
2846
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2844

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


2849
2850
2851
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2849

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2856
2857
2858
2859
2860
2861
2862
2863
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2856

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @region_configs = args[:region_configs] if args.key?(:region_configs)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end