Class: Google::Apis::BeyondcorpV1::AppGateway
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::AppGateway
- 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 AppGateway resource represents a BeyondCorp protected AppGateway to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppGateway. Multiple connectors can be authorised for a single AppGateway.
Instance Attribute Summary collapse
-
#allocated_connections ⇒ Array<Google::Apis::BeyondcorpV1::AllocatedConnection>
Output only.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#host_type ⇒ String
Required.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#type ⇒ String
Required.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppGateway
constructor
A new instance of AppGateway.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppGateway
Returns a new instance of AppGateway.
114 115 116 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allocated_connections ⇒ Array<Google::Apis::BeyondcorpV1::AllocatedConnection>
Output only. A list of connections allocated for the Gateway
Corresponds to the JSON property allocatedConnections
60 61 62 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 60 def allocated_connections @allocated_connections end |
#create_time ⇒ String
Output only. Timestamp when the resource was created.
Corresponds to the JSON property createTime
65 66 67 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 65 def create_time @create_time end |
#display_name ⇒ String
Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64
characters.
Corresponds to the JSON property displayName
71 72 73 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 71 def display_name @display_name end |
#host_type ⇒ String
Required. The type of hosting used by the AppGateway.
Corresponds to the JSON property hostType
76 77 78 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 76 def host_type @host_type end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user provided metadata.
Corresponds to the JSON property labels
81 82 83 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 81 def labels @labels end |
#name ⇒ String
Required. Unique resource name of the AppGateway. The name is ignored when
creating an AppGateway.
Corresponds to the JSON property name
87 88 89 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 87 def name @name end |
#state ⇒ String
Output only. The current state of the AppGateway.
Corresponds to the JSON property state
92 93 94 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 92 def state @state end |
#type ⇒ String
Required. The type of network connectivity used by the AppGateway.
Corresponds to the JSON property type
97 98 99 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 97 def type @type end |
#uid ⇒ String
Output only. A unique identifier for the instance generated by the system.
Corresponds to the JSON property uid
102 103 104 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 102 def uid @uid end |
#update_time ⇒ String
Output only. Timestamp when the resource was last modified.
Corresponds to the JSON property updateTime
107 108 109 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 107 def update_time @update_time end |
#uri ⇒ String
Output only. Server-defined URI for this resource.
Corresponds to the JSON property uri
112 113 114 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 112 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 119 def update!(**args) @allocated_connections = args[:allocated_connections] if args.key?(:allocated_connections) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @host_type = args[:host_type] if args.key?(:host_type) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) @uri = args[:uri] if args.key?(:uri) end |