Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnector

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 connector resource that represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpAppconnectorsV1AppConnector

Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1AppConnector.



1085
1086
1087
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1085

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)


1039
1040
1041
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1039

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


1045
1046
1047
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1045

def display_name
  @display_name
end

#labelsHash<String,String>

Optional. Resource labels to represent user provided metadata. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1050
1051
1052
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1050

def labels
  @labels
end

#nameString

Required. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector. Corresponds to the JSON property name

Returns:

  • (String)


1056
1057
1058
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1056

def name
  @name
end

#principal_infoGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1AppConnectorPrincipalInfo

PrincipalInfo represents an Identity oneof. Corresponds to the JSON property principalInfo



1061
1062
1063
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1061

def principal_info
  @principal_info
end

#resource_infoGoogle::Apis::BeyondcorpV1::GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo

ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent Corresponds to the JSON property resourceInfo



1068
1069
1070
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1068

def resource_info
  @resource_info
end

#stateString

Output only. The current state of the AppConnector. Corresponds to the JSON property state

Returns:

  • (String)


1073
1074
1075
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1073

def state
  @state
end

#uidString

Output only. A unique identifier for the instance generated by the system. Corresponds to the JSON property uid

Returns:

  • (String)


1078
1079
1080
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1078

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


1083
1084
1085
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1083

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1090

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