Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Application

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

A Beyondcorp Application resource information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Application

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Application.



1713
1714
1715
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1713

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)


1684
1685
1686
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1684

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


1690
1691
1692
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1690

def display_name
  @display_name
end

#endpoint_matchersArray<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher>

Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matcher is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one the conditions are met. The conditions can be one of the following combination (Hostname), ( Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and "22,33") etc Corresponds to the JSON property endpointMatchers



1701
1702
1703
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1701

def endpoint_matchers
  @endpoint_matchers
end

#nameString

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

Returns:

  • (String)


1706
1707
1708
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1706

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


1711
1712
1713
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1711

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1718
1719
1720
1721
1722
1723
1724
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1718

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