|
| 1 | +// Copyright 2020 StrongDM Inc |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | +// |
| 15 | + |
| 16 | +// Code generated by protogen. DO NOT EDIT. |
| 17 | + |
| 18 | +package com.strongdm.api; |
| 19 | + |
| 20 | +/** |
| 21 | + * GCPConsole is currently unstable, and its API may change, or it may be removed, without a major |
| 22 | + * version bump. |
| 23 | + */ |
| 24 | +public class GCPConsole implements Resource { |
| 25 | + private String bindInterface; |
| 26 | + /** |
| 27 | + * The bind interface is the IP address to which the port override of a resource is bound (for |
| 28 | + * example, 127.0.0.1). It is automatically generated if not provided. |
| 29 | + */ |
| 30 | + public String getBindInterface() { |
| 31 | + return this.bindInterface; |
| 32 | + } |
| 33 | + /** |
| 34 | + * The bind interface is the IP address to which the port override of a resource is bound (for |
| 35 | + * example, 127.0.0.1). It is automatically generated if not provided. |
| 36 | + */ |
| 37 | + public void setBindInterface(String in) { |
| 38 | + this.bindInterface = in; |
| 39 | + } |
| 40 | + |
| 41 | + private String egressFilter; |
| 42 | + /** A filter applied to the routing logic to pin datasource to nodes. */ |
| 43 | + public String getEgressFilter() { |
| 44 | + return this.egressFilter; |
| 45 | + } |
| 46 | + /** A filter applied to the routing logic to pin datasource to nodes. */ |
| 47 | + public void setEgressFilter(String in) { |
| 48 | + this.egressFilter = in; |
| 49 | + } |
| 50 | + |
| 51 | + private boolean healthy; |
| 52 | + /** True if the datasource is reachable and the credentials are valid. */ |
| 53 | + public boolean getHealthy() { |
| 54 | + return this.healthy; |
| 55 | + } |
| 56 | + /** True if the datasource is reachable and the credentials are valid. */ |
| 57 | + public void setHealthy(boolean in) { |
| 58 | + this.healthy = in; |
| 59 | + } |
| 60 | + |
| 61 | + private String id; |
| 62 | + /** Unique identifier of the Resource. */ |
| 63 | + public String getId() { |
| 64 | + return this.id; |
| 65 | + } |
| 66 | + /** Unique identifier of the Resource. */ |
| 67 | + public void setId(String in) { |
| 68 | + this.id = in; |
| 69 | + } |
| 70 | + |
| 71 | + private String identityAliasHealthcheckUsername; |
| 72 | + /** |
| 73 | + * The username to use for healthchecks, when clients otherwise connect with their own identity |
| 74 | + * alias username. |
| 75 | + */ |
| 76 | + public String getIdentityAliasHealthcheckUsername() { |
| 77 | + return this.identityAliasHealthcheckUsername; |
| 78 | + } |
| 79 | + /** |
| 80 | + * The username to use for healthchecks, when clients otherwise connect with their own identity |
| 81 | + * alias username. |
| 82 | + */ |
| 83 | + public void setIdentityAliasHealthcheckUsername(String in) { |
| 84 | + this.identityAliasHealthcheckUsername = in; |
| 85 | + } |
| 86 | + |
| 87 | + private String identitySetId; |
| 88 | + /** The ID of the identity set to use for identity connections. */ |
| 89 | + public String getIdentitySetId() { |
| 90 | + return this.identitySetId; |
| 91 | + } |
| 92 | + /** The ID of the identity set to use for identity connections. */ |
| 93 | + public void setIdentitySetId(String in) { |
| 94 | + this.identitySetId = in; |
| 95 | + } |
| 96 | + |
| 97 | + private String name; |
| 98 | + /** Unique human-readable name of the Resource. */ |
| 99 | + public String getName() { |
| 100 | + return this.name; |
| 101 | + } |
| 102 | + /** Unique human-readable name of the Resource. */ |
| 103 | + public void setName(String in) { |
| 104 | + this.name = in; |
| 105 | + } |
| 106 | + |
| 107 | + private int portOverride; |
| 108 | + /** The local port used by clients to connect to this resource. */ |
| 109 | + public int getPortOverride() { |
| 110 | + return this.portOverride; |
| 111 | + } |
| 112 | + /** The local port used by clients to connect to this resource. */ |
| 113 | + public void setPortOverride(int in) { |
| 114 | + this.portOverride = in; |
| 115 | + } |
| 116 | + |
| 117 | + private String proxyClusterId; |
| 118 | + /** ID of the proxy cluster for this resource, if any. */ |
| 119 | + public String getProxyClusterId() { |
| 120 | + return this.proxyClusterId; |
| 121 | + } |
| 122 | + /** ID of the proxy cluster for this resource, if any. */ |
| 123 | + public void setProxyClusterId(String in) { |
| 124 | + this.proxyClusterId = in; |
| 125 | + } |
| 126 | + |
| 127 | + private String secretStoreId; |
| 128 | + /** ID of the secret store containing credentials for this resource, if any. */ |
| 129 | + public String getSecretStoreId() { |
| 130 | + return this.secretStoreId; |
| 131 | + } |
| 132 | + /** ID of the secret store containing credentials for this resource, if any. */ |
| 133 | + public void setSecretStoreId(String in) { |
| 134 | + this.secretStoreId = in; |
| 135 | + } |
| 136 | + |
| 137 | + private int sessionExpiry; |
| 138 | + /** The length of time in seconds console sessions will live before needing to reauthenticate. */ |
| 139 | + public int getSessionExpiry() { |
| 140 | + return this.sessionExpiry; |
| 141 | + } |
| 142 | + /** The length of time in seconds console sessions will live before needing to reauthenticate. */ |
| 143 | + public void setSessionExpiry(int in) { |
| 144 | + this.sessionExpiry = in; |
| 145 | + } |
| 146 | + |
| 147 | + private String subdomain; |
| 148 | + /** |
| 149 | + * Subdomain is the local DNS address. (e.g. app-prod1 turns into |
| 150 | + * app-prod1.your-org-name.sdm.network) |
| 151 | + */ |
| 152 | + public String getSubdomain() { |
| 153 | + return this.subdomain; |
| 154 | + } |
| 155 | + /** |
| 156 | + * Subdomain is the local DNS address. (e.g. app-prod1 turns into |
| 157 | + * app-prod1.your-org-name.sdm.network) |
| 158 | + */ |
| 159 | + public void setSubdomain(String in) { |
| 160 | + this.subdomain = in; |
| 161 | + } |
| 162 | + |
| 163 | + private java.util.Map<String, String> tags; |
| 164 | + /** Tags is a map of key, value pairs. */ |
| 165 | + public java.util.Map<String, String> getTags() { |
| 166 | + java.util.Map<String, String> m = new java.util.HashMap<String, String>(); |
| 167 | + if (this.tags != null) { |
| 168 | + m.putAll(this.tags); |
| 169 | + } |
| 170 | + return m; |
| 171 | + } |
| 172 | + /** Tags is a map of key, value pairs. */ |
| 173 | + public void setTags(java.util.Map<String, String> in) { |
| 174 | + if (in == null) { |
| 175 | + this.tags = null; |
| 176 | + return; |
| 177 | + } |
| 178 | + this.tags = new java.util.HashMap<String, String>(); |
| 179 | + this.tags.putAll(in); |
| 180 | + } |
| 181 | + |
| 182 | + private String workforcePoolId; |
| 183 | + /** The ID of the Workforce Identity Pool in GCP to use for federated authentication. */ |
| 184 | + public String getWorkforcePoolId() { |
| 185 | + return this.workforcePoolId; |
| 186 | + } |
| 187 | + /** The ID of the Workforce Identity Pool in GCP to use for federated authentication. */ |
| 188 | + public void setWorkforcePoolId(String in) { |
| 189 | + this.workforcePoolId = in; |
| 190 | + } |
| 191 | + |
| 192 | + private String workforceProviderId; |
| 193 | + /** The ID of the Workforce Identity Provider in GCP to use for federated authentication. */ |
| 194 | + public String getWorkforceProviderId() { |
| 195 | + return this.workforceProviderId; |
| 196 | + } |
| 197 | + /** The ID of the Workforce Identity Provider in GCP to use for federated authentication. */ |
| 198 | + public void setWorkforceProviderId(String in) { |
| 199 | + this.workforceProviderId = in; |
| 200 | + } |
| 201 | +} |
0 commit comments