diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/README.md b/clients/google-api-services-networkmanagement/v1/2.0.0/README.md index b3dc807fa36..0231a5e899a 100644 --- a/clients/google-api-services-networkmanagement/v1/2.0.0/README.md +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-networkmanagement - v1-rev20260506-2.0.0 + v1-rev20260513-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-networkmanagement:v1-rev20260506-2.0.0' + implementation 'com.google.apis:google-api-services-networkmanagement:v1-rev20260513-2.0.0' } ``` diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/NetworkManagement.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/NetworkManagement.java index bf7922dc19e..b34ab040e71 100644 --- a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/NetworkManagement.java +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/NetworkManagement.java @@ -4834,6 +4834,2859 @@ public List set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the NetworkMonitoringProviders collection. + * + *

The typical use is:

+ *
+       *   {@code NetworkManagement networkmanagement = new NetworkManagement(...);}
+       *   {@code NetworkManagement.NetworkMonitoringProviders.List request = networkmanagement.networkMonitoringProviders().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public NetworkMonitoringProviders networkMonitoringProviders() { + return new NetworkMonitoringProviders(); + } + + /** + * The "networkMonitoringProviders" collection of methods. + */ + public class NetworkMonitoringProviders { + + /** + * Creates a NetworkMonitoringProvider resource. + * + * Create a request for the method "networkMonitoringProviders.create". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: + * projects/{project}/locations/{location} + * @param content the {@link com.google.api.services.networkmanagement.v1.model.NetworkMonitoringProvider} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.networkmanagement.v1.model.NetworkMonitoringProvider content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; + } + + public class Create extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/networkMonitoringProviders"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Creates a NetworkMonitoringProvider resource. + * + * Create a request for the method "networkMonitoringProviders.create". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link Create#execute()} method to invoke the remote + * operation.

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: + * projects/{project}/locations/{location} + * @param content the {@link com.google.api.services.networkmanagement.v1.model.NetworkMonitoringProvider} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.networkmanagement.v1.model.NetworkMonitoringProvider content) { + super(NetworkManagement.this, "POST", REST_PATH, content, com.google.api.services.networkmanagement.v1.model.Operation.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: + * projects/{project}/locations/{location} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: + projects/{project}/locations/{location} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: + * projects/{project}/locations/{location} + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Required. The ID to use for the NetworkMonitoringProvider resource, which will become + * the final component of the NetworkMonitoringProvider resource's name. + */ + @com.google.api.client.util.Key + private java.lang.String networkMonitoringProviderId; + + /** Required. The ID to use for the NetworkMonitoringProvider resource, which will become the final + component of the NetworkMonitoringProvider resource's name. + */ + public java.lang.String getNetworkMonitoringProviderId() { + return networkMonitoringProviderId; + } + + /** + * Required. The ID to use for the NetworkMonitoringProvider resource, which will become + * the final component of the NetworkMonitoringProvider resource's name. + */ + public Create setNetworkMonitoringProviderId(java.lang.String networkMonitoringProviderId) { + this.networkMonitoringProviderId = networkMonitoringProviderId; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes a NetworkMonitoringProvider resource and all of its child resources. + * + * Create a request for the method "networkMonitoringProviders.delete". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Deletes a NetworkMonitoringProvider resource and all of its child resources. + * + * Create a request for the method "networkMonitoringProviders.delete". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link Delete#execute()} method to invoke the remote + * operation.

{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(NetworkManagement.this, "DELETE", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.Operation.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/network + * MonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/network + * MonitoringProviders/{network_monitoring_provider} + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths + * resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the + * request will only work if there are no nested resources. + */ + @com.google.api.client.util.Key + private java.lang.Boolean force; + + /** Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths resources from + this NetworkMonitoringProvider will also be deleted. Otherwise, the request will only work if there + are no nested resources. + */ + public java.lang.Boolean getForce() { + return force; + } + + /** + * Optional. If set to true, any nested MonitoringPoints, NetworkPaths and WebPaths + * resources from this NetworkMonitoringProvider will also be deleted. Otherwise, the + * request will only work if there are no nested resources. + */ + public Delete setForce(java.lang.Boolean force) { + this.force = force; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. + * + * Create a request for the method "networkMonitoringProviders.generateMonitoringPointConfig". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link GenerateMonitoringPointConfig#execute()} method to invoke + * the remote operation. + * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public GenerateMonitoringPointConfig generateMonitoringPointConfig(java.lang.String name) throws java.io.IOException { + GenerateMonitoringPointConfig result = new GenerateMonitoringPointConfig(name); + initialize(result); + return result; + } + + public class GenerateMonitoringPointConfig extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}:generateMonitoringPointConfig"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Generates Monitoring Point configuration of a NetworkMonitoringProvider resource. + * + * Create a request for the method "networkMonitoringProviders.generateMonitoringPointConfig". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link GenerateMonitoringPointConfig#execute()} method to + * invoke the remote operation.

{@link GenerateMonitoringPointConfig#initialize(com.google.api + * .client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected GenerateMonitoringPointConfig(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.GenerateMonitoringPointConfigResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public GenerateMonitoringPointConfig set$Xgafv(java.lang.String $Xgafv) { + return (GenerateMonitoringPointConfig) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateMonitoringPointConfig setAccessToken(java.lang.String accessToken) { + return (GenerateMonitoringPointConfig) super.setAccessToken(accessToken); + } + + @Override + public GenerateMonitoringPointConfig setAlt(java.lang.String alt) { + return (GenerateMonitoringPointConfig) super.setAlt(alt); + } + + @Override + public GenerateMonitoringPointConfig setCallback(java.lang.String callback) { + return (GenerateMonitoringPointConfig) super.setCallback(callback); + } + + @Override + public GenerateMonitoringPointConfig setFields(java.lang.String fields) { + return (GenerateMonitoringPointConfig) super.setFields(fields); + } + + @Override + public GenerateMonitoringPointConfig setKey(java.lang.String key) { + return (GenerateMonitoringPointConfig) super.setKey(key); + } + + @Override + public GenerateMonitoringPointConfig setOauthToken(java.lang.String oauthToken) { + return (GenerateMonitoringPointConfig) super.setOauthToken(oauthToken); + } + + @Override + public GenerateMonitoringPointConfig setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateMonitoringPointConfig) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateMonitoringPointConfig setQuotaUser(java.lang.String quotaUser) { + return (GenerateMonitoringPointConfig) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateMonitoringPointConfig setUploadType(java.lang.String uploadType) { + return (GenerateMonitoringPointConfig) super.setUploadType(uploadType); + } + + @Override + public GenerateMonitoringPointConfig setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateMonitoringPointConfig) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/network + * MonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/network + * MonitoringProviders/{network_monitoring_provider} + */ + public GenerateMonitoringPointConfig setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public GenerateMonitoringPointConfig set(String parameterName, Object value) { + return (GenerateMonitoringPointConfig) super.set(parameterName, value); + } + } + /** + * Generates a provider access token for a given Google access token. Provider access token is a + * short-lived token that is used to access resources in the provider's platform. + * + * Create a request for the method "networkMonitoringProviders.generateProviderAccessToken". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link GenerateProviderAccessToken#execute()} method to invoke the + * remote operation. + * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public GenerateProviderAccessToken generateProviderAccessToken(java.lang.String name) throws java.io.IOException { + GenerateProviderAccessToken result = new GenerateProviderAccessToken(name); + initialize(result); + return result; + } + + public class GenerateProviderAccessToken extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}:generateProviderAccessToken"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Generates a provider access token for a given Google access token. Provider access token is a + * short-lived token that is used to access resources in the provider's platform. + * + * Create a request for the method "networkMonitoringProviders.generateProviderAccessToken". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link GenerateProviderAccessToken#execute()} method to + * invoke the remote operation.

{@link GenerateProviderAccessToken#initialize(com.google.api.c + * lient.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected GenerateProviderAccessToken(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.GenerateProviderAccessTokenResponse.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public GenerateProviderAccessToken set$Xgafv(java.lang.String $Xgafv) { + return (GenerateProviderAccessToken) super.set$Xgafv($Xgafv); + } + + @Override + public GenerateProviderAccessToken setAccessToken(java.lang.String accessToken) { + return (GenerateProviderAccessToken) super.setAccessToken(accessToken); + } + + @Override + public GenerateProviderAccessToken setAlt(java.lang.String alt) { + return (GenerateProviderAccessToken) super.setAlt(alt); + } + + @Override + public GenerateProviderAccessToken setCallback(java.lang.String callback) { + return (GenerateProviderAccessToken) super.setCallback(callback); + } + + @Override + public GenerateProviderAccessToken setFields(java.lang.String fields) { + return (GenerateProviderAccessToken) super.setFields(fields); + } + + @Override + public GenerateProviderAccessToken setKey(java.lang.String key) { + return (GenerateProviderAccessToken) super.setKey(key); + } + + @Override + public GenerateProviderAccessToken setOauthToken(java.lang.String oauthToken) { + return (GenerateProviderAccessToken) super.setOauthToken(oauthToken); + } + + @Override + public GenerateProviderAccessToken setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GenerateProviderAccessToken) super.setPrettyPrint(prettyPrint); + } + + @Override + public GenerateProviderAccessToken setQuotaUser(java.lang.String quotaUser) { + return (GenerateProviderAccessToken) super.setQuotaUser(quotaUser); + } + + @Override + public GenerateProviderAccessToken setUploadType(java.lang.String uploadType) { + return (GenerateProviderAccessToken) super.setUploadType(uploadType); + } + + @Override + public GenerateProviderAccessToken setUploadProtocol(java.lang.String uploadProtocol) { + return (GenerateProviderAccessToken) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/network + * MonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/network + * MonitoringProviders/{network_monitoring_provider} + */ + public GenerateProviderAccessToken setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.name = name; + return this; + } + + /** Required. Google access token. */ + @com.google.api.client.util.Key + private java.lang.String gcpAccessToken; + + /** Required. Google access token. + */ + public java.lang.String getGcpAccessToken() { + return gcpAccessToken; + } + + /** Required. Google access token. */ + public GenerateProviderAccessToken setGcpAccessToken(java.lang.String gcpAccessToken) { + this.gcpAccessToken = gcpAccessToken; + return this; + } + + @Override + public GenerateProviderAccessToken set(String parameterName, Object value) { + return (GenerateProviderAccessToken) super.set(parameterName, value); + } + } + /** + * Gets the NetworkMonitoringProvider resource. + * + * Create a request for the method "networkMonitoringProviders.get". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pr + * ovider}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Gets the NetworkMonitoringProvider resource. + * + * Create a request for the method "networkMonitoringProviders.get". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + *

{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pr + * ovider}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.NetworkMonitoringProvider.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/networ + * kMonitoringProviders/{network_monitoring_provider}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: + `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: `projects/{project}/locations/{location}/networ + * kMonitoringProviders/{network_monitoring_provider}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists NetworkMonitoringProviders for a given project and location. + * + * Create a request for the method "networkMonitoringProviders.list". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: + * `projects/{project}/locations/{location}` + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/networkMonitoringProviders"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Lists NetworkMonitoringProviders for a given project and location. + * + * Create a request for the method "networkMonitoringProviders.list". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link List#execute()} method to invoke the remote operation. + *

{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: + * `projects/{project}/locations/{location}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.ListNetworkMonitoringProvidersResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: + * `projects/{project}/locations/{location}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: + `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: + * `projects/{project}/locations/{location}` + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. The maximum number of monitoring points to return. The service may return + * fewer than this value. If unspecified, at most 20 monitoring points will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of monitoring points to return. The service may return fewer than this + value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; + values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of monitoring points to return. The service may return + * fewer than this value. If unspecified, at most 20 monitoring points will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided to + * `ListMonitoringPoints` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to + retrieve the subsequent page. When paginating, all other parameters provided to + `ListMonitoringPoints` must match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided to + * `ListMonitoringPoints` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + /** + * An accessor for creating requests from the MonitoringPoints collection. + * + *

The typical use is:

+ *
+         *   {@code NetworkManagement networkmanagement = new NetworkManagement(...);}
+         *   {@code NetworkManagement.MonitoringPoints.List request = networkmanagement.monitoringPoints().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public MonitoringPoints monitoringPoints() { + return new MonitoringPoints(); + } + + /** + * The "monitoringPoints" collection of methods. + */ + public class MonitoringPoints { + + /** + * Downloads an install script for MonitoringPoints for a given network monitoring provider. + * + * Create a request for the method "monitoringPoints.downloadInstallScript". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link DownloadInstallScript#execute()} method to invoke the remote + * operation. + * + * @param parent Required. Parent value for DownloadInstallScriptRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public DownloadInstallScript downloadInstallScript(java.lang.String parent) throws java.io.IOException { + DownloadInstallScript result = new DownloadInstallScript(parent); + initialize(result); + return result; + } + + public class DownloadInstallScript extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/monitoringPoints:downloadInstallScript"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Downloads an install script for MonitoringPoints for a given network monitoring provider. + * + * Create a request for the method "monitoringPoints.downloadInstallScript". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link DownloadInstallScript#execute()} method to invoke the + * remote operation.

{@link DownloadInstallScript#initialize(com.google.api.client.googleapis. + * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately + * after invoking the constructor.

+ * + * @param parent Required. Parent value for DownloadInstallScriptRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected DownloadInstallScript(java.lang.String parent) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.HttpBody.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public DownloadInstallScript set$Xgafv(java.lang.String $Xgafv) { + return (DownloadInstallScript) super.set$Xgafv($Xgafv); + } + + @Override + public DownloadInstallScript setAccessToken(java.lang.String accessToken) { + return (DownloadInstallScript) super.setAccessToken(accessToken); + } + + @Override + public DownloadInstallScript setAlt(java.lang.String alt) { + return (DownloadInstallScript) super.setAlt(alt); + } + + @Override + public DownloadInstallScript setCallback(java.lang.String callback) { + return (DownloadInstallScript) super.setCallback(callback); + } + + @Override + public DownloadInstallScript setFields(java.lang.String fields) { + return (DownloadInstallScript) super.setFields(fields); + } + + @Override + public DownloadInstallScript setKey(java.lang.String key) { + return (DownloadInstallScript) super.setKey(key); + } + + @Override + public DownloadInstallScript setOauthToken(java.lang.String oauthToken) { + return (DownloadInstallScript) super.setOauthToken(oauthToken); + } + + @Override + public DownloadInstallScript setPrettyPrint(java.lang.Boolean prettyPrint) { + return (DownloadInstallScript) super.setPrettyPrint(prettyPrint); + } + + @Override + public DownloadInstallScript setQuotaUser(java.lang.String quotaUser) { + return (DownloadInstallScript) super.setQuotaUser(quotaUser); + } + + @Override + public DownloadInstallScript setUploadType(java.lang.String uploadType) { + return (DownloadInstallScript) super.setUploadType(uploadType); + } + + @Override + public DownloadInstallScript setUploadProtocol(java.lang.String uploadProtocol) { + return (DownloadInstallScript) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project}/l + * ocations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for DownloadInstallScriptRequest. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for DownloadInstallScriptRequest. Format: projects/{project}/l + * ocations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public DownloadInstallScript setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** Optional. Password for logging into the MonitoringPoint. */ + @com.google.api.client.util.Key("_password") + private java.lang.String password; + + /** Optional. Password for logging into the MonitoringPoint. + */ + public java.lang.String getPassword() { + return password; + } + + /** Optional. Password for logging into the MonitoringPoint. */ + public DownloadInstallScript setPassword(java.lang.String password) { + this.password = password; + return this; + } + + /** Required. The hostname of the MonitoringPoint, e.g. "test-vm" */ + @com.google.api.client.util.Key + private java.lang.String hostname; + + /** Required. The hostname of the MonitoringPoint, e.g. "test-vm" + */ + public java.lang.String getHostname() { + return hostname; + } + + /** Required. The hostname of the MonitoringPoint, e.g. "test-vm" */ + public DownloadInstallScript setHostname(java.lang.String hostname) { + this.hostname = hostname; + return this; + } + + /** Required. The type of the monitoring point. */ + @com.google.api.client.util.Key + private java.lang.String monitoringPointType; + + /** Required. The type of the monitoring point. + */ + public java.lang.String getMonitoringPointType() { + return monitoringPointType; + } + + /** Required. The type of the monitoring point. */ + public DownloadInstallScript setMonitoringPointType(java.lang.String monitoringPointType) { + this.monitoringPointType = monitoringPointType; + return this; + } + + /** + * Optional. Network Time Protocol a user can configure. If the user omits the field, + * the default is either NTP servers provided in the DHCP lease or a set of well-known + * NTP servers pre-configured on the monitoring point. This field can be an IP address + * or FQDN. + */ + @com.google.api.client.util.Key + private java.lang.String ntpServerAddress; + + /** Optional. Network Time Protocol a user can configure. If the user omits the field, the default is + either NTP servers provided in the DHCP lease or a set of well-known NTP servers pre-configured on + the monitoring point. This field can be an IP address or FQDN. + */ + public java.lang.String getNtpServerAddress() { + return ntpServerAddress; + } + + /** + * Optional. Network Time Protocol a user can configure. If the user omits the field, + * the default is either NTP servers provided in the DHCP lease or a set of well-known + * NTP servers pre-configured on the monitoring point. This field can be an IP address + * or FQDN. + */ + public DownloadInstallScript setNtpServerAddress(java.lang.String ntpServerAddress) { + this.ntpServerAddress = ntpServerAddress; + return this; + } + + /** Optional. Second NTP server. */ + @com.google.api.client.util.Key + private java.lang.String ntpServerSecondaryAddress; + + /** Optional. Second NTP server. + */ + public java.lang.String getNtpServerSecondaryAddress() { + return ntpServerSecondaryAddress; + } + + /** Optional. Second NTP server. */ + public DownloadInstallScript setNtpServerSecondaryAddress(java.lang.String ntpServerSecondaryAddress) { + this.ntpServerSecondaryAddress = ntpServerSecondaryAddress; + return this; + } + + /** Required. DNS server. */ + @com.google.api.client.util.Key("staticIpAddress.dnsServerAddress") + private java.lang.String staticIpAddressDnsServerAddress; + + /** Required. DNS server. + */ + public java.lang.String getStaticIpAddressDnsServerAddress() { + return staticIpAddressDnsServerAddress; + } + + /** Required. DNS server. */ + public DownloadInstallScript setStaticIpAddressDnsServerAddress(java.lang.String staticIpAddressDnsServerAddress) { + this.staticIpAddressDnsServerAddress = staticIpAddressDnsServerAddress; + return this; + } + + /** Optional. Second DNS server. */ + @com.google.api.client.util.Key("staticIpAddress.dnsServerSecondaryAddress") + private java.lang.String staticIpAddressDnsServerSecondaryAddress; + + /** Optional. Second DNS server. + */ + public java.lang.String getStaticIpAddressDnsServerSecondaryAddress() { + return staticIpAddressDnsServerSecondaryAddress; + } + + /** Optional. Second DNS server. */ + public DownloadInstallScript setStaticIpAddressDnsServerSecondaryAddress(java.lang.String staticIpAddressDnsServerSecondaryAddress) { + this.staticIpAddressDnsServerSecondaryAddress = staticIpAddressDnsServerSecondaryAddress; + return this; + } + + /** Optional. Domain name of the MonitoringPoint. */ + @com.google.api.client.util.Key("staticIpAddress.domain") + private java.lang.String staticIpAddressDomain; + + /** Optional. Domain name of the MonitoringPoint. + */ + public java.lang.String getStaticIpAddressDomain() { + return staticIpAddressDomain; + } + + /** Optional. Domain name of the MonitoringPoint. */ + public DownloadInstallScript setStaticIpAddressDomain(java.lang.String staticIpAddressDomain) { + this.staticIpAddressDomain = staticIpAddressDomain; + return this; + } + + /** Required. Gateway IP address. Example: "100.80.40.1". */ + @com.google.api.client.util.Key("staticIpAddress.gatewayAddress") + private java.lang.String staticIpAddressGatewayAddress; + + /** Required. Gateway IP address. Example: "100.80.40.1". + */ + public java.lang.String getStaticIpAddressGatewayAddress() { + return staticIpAddressGatewayAddress; + } + + /** Required. Gateway IP address. Example: "100.80.40.1". */ + public DownloadInstallScript setStaticIpAddressGatewayAddress(java.lang.String staticIpAddressGatewayAddress) { + this.staticIpAddressGatewayAddress = staticIpAddressGatewayAddress; + return this; + } + + /** Required. IP address of the MonitoringPoint. */ + @com.google.api.client.util.Key("staticIpAddress.ipAddress") + private java.lang.String staticIpAddressIpAddress; + + /** Required. IP address of the MonitoringPoint. + */ + public java.lang.String getStaticIpAddressIpAddress() { + return staticIpAddressIpAddress; + } + + /** Required. IP address of the MonitoringPoint. */ + public DownloadInstallScript setStaticIpAddressIpAddress(java.lang.String staticIpAddressIpAddress) { + this.staticIpAddressIpAddress = staticIpAddressIpAddress; + return this; + } + + /** Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" */ + @com.google.api.client.util.Key("staticIpAddress.netmask") + private java.lang.String staticIpAddressNetmask; + + /** Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" + */ + public java.lang.String getStaticIpAddressNetmask() { + return staticIpAddressNetmask; + } + + /** Optional. Networkmask and CIDR range. Example: "255.255.255.0/24" */ + public DownloadInstallScript setStaticIpAddressNetmask(java.lang.String staticIpAddressNetmask) { + this.staticIpAddressNetmask = staticIpAddressNetmask; + return this; + } + + /** IANA Time Zone Database time zone. For example "America/New_York". */ + @com.google.api.client.util.Key("timeZone.id") + private java.lang.String timeZoneId; + + /** IANA Time Zone Database time zone. For example "America/New_York". + */ + public java.lang.String getTimeZoneId() { + return timeZoneId; + } + + /** IANA Time Zone Database time zone. For example "America/New_York". */ + public DownloadInstallScript setTimeZoneId(java.lang.String timeZoneId) { + this.timeZoneId = timeZoneId; + return this; + } + + /** Optional. IANA Time Zone Database version number. For example "2019a". */ + @com.google.api.client.util.Key("timeZone.version") + private java.lang.String timeZoneVersion; + + /** Optional. IANA Time Zone Database version number. For example "2019a". + */ + public java.lang.String getTimeZoneVersion() { + return timeZoneVersion; + } + + /** Optional. IANA Time Zone Database version number. For example "2019a". */ + public DownloadInstallScript setTimeZoneVersion(java.lang.String timeZoneVersion) { + this.timeZoneVersion = timeZoneVersion; + return this; + } + + /** + * Optional. Dynamic Host Configuration Protocol, is a network management protocol that + * automatically assigns IP addresses and other network configuration parameters to + * devices connecting to a network. + */ + @com.google.api.client.util.Key + private java.lang.Boolean useDhcp; + + /** Optional. Dynamic Host Configuration Protocol, is a network management protocol that automatically + assigns IP addresses and other network configuration parameters to devices connecting to a network. + */ + public java.lang.Boolean getUseDhcp() { + return useDhcp; + } + + /** + * Optional. Dynamic Host Configuration Protocol, is a network management protocol that + * automatically assigns IP addresses and other network configuration parameters to + * devices connecting to a network. + */ + public DownloadInstallScript setUseDhcp(java.lang.Boolean useDhcp) { + this.useDhcp = useDhcp; + return this; + } + + @Override + public DownloadInstallScript set(String parameterName, Object value) { + return (DownloadInstallScript) super.set(parameterName, value); + } + } + /** + * Downloads an install script for a specific Container MonitoringPoint. + * + * Create a request for the method "monitoringPoints.downloadRecreateInstallScript". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link DownloadRecreateInstallScript#execute()} method to invoke + * the remote operation. + * + * @param name Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/{location}/netw + * orkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + * @return the request + */ + public DownloadRecreateInstallScript downloadRecreateInstallScript(java.lang.String name) throws java.io.IOException { + DownloadRecreateInstallScript result = new DownloadRecreateInstallScript(name); + initialize(result); + return result; + } + + public class DownloadRecreateInstallScript extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}:downloadRecreateInstallScript"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$"); + + /** + * Downloads an install script for a specific Container MonitoringPoint. + * + * Create a request for the method "monitoringPoints.downloadRecreateInstallScript". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link DownloadRecreateInstallScript#execute()} method to + * invoke the remote operation.

{@link DownloadRecreateInstallScript#initialize(com.google.api + * .client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param name Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/{location}/netw + * orkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + * @since 1.13 + */ + protected DownloadRecreateInstallScript(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.HttpBody.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public DownloadRecreateInstallScript set$Xgafv(java.lang.String $Xgafv) { + return (DownloadRecreateInstallScript) super.set$Xgafv($Xgafv); + } + + @Override + public DownloadRecreateInstallScript setAccessToken(java.lang.String accessToken) { + return (DownloadRecreateInstallScript) super.setAccessToken(accessToken); + } + + @Override + public DownloadRecreateInstallScript setAlt(java.lang.String alt) { + return (DownloadRecreateInstallScript) super.setAlt(alt); + } + + @Override + public DownloadRecreateInstallScript setCallback(java.lang.String callback) { + return (DownloadRecreateInstallScript) super.setCallback(callback); + } + + @Override + public DownloadRecreateInstallScript setFields(java.lang.String fields) { + return (DownloadRecreateInstallScript) super.setFields(fields); + } + + @Override + public DownloadRecreateInstallScript setKey(java.lang.String key) { + return (DownloadRecreateInstallScript) super.setKey(key); + } + + @Override + public DownloadRecreateInstallScript setOauthToken(java.lang.String oauthToken) { + return (DownloadRecreateInstallScript) super.setOauthToken(oauthToken); + } + + @Override + public DownloadRecreateInstallScript setPrettyPrint(java.lang.Boolean prettyPrint) { + return (DownloadRecreateInstallScript) super.setPrettyPrint(prettyPrint); + } + + @Override + public DownloadRecreateInstallScript setQuotaUser(java.lang.String quotaUser) { + return (DownloadRecreateInstallScript) super.setQuotaUser(quotaUser); + } + + @Override + public DownloadRecreateInstallScript setUploadType(java.lang.String uploadType) { + return (DownloadRecreateInstallScript) super.setUploadType(uploadType); + } + + @Override + public DownloadRecreateInstallScript setUploadProtocol(java.lang.String uploadProtocol) { + return (DownloadRecreateInstallScript) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/ + * {location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/ + * {monitoring_point} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/{location}/net + workMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Resource name of the MonitoringPoint. Format: projects/{project}/locations/ + * {location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/ + * {monitoring_point} + */ + public DownloadRecreateInstallScript setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$"); + } + this.name = name; + return this; + } + + /** Optional. The hostname of the MonitoringPoint, e.g. "test-vm" */ + @com.google.api.client.util.Key + private java.lang.String hostname; + + /** Optional. The hostname of the MonitoringPoint, e.g. "test-vm" + */ + public java.lang.String getHostname() { + return hostname; + } + + /** Optional. The hostname of the MonitoringPoint, e.g. "test-vm" */ + public DownloadRecreateInstallScript setHostname(java.lang.String hostname) { + this.hostname = hostname; + return this; + } + + @Override + public DownloadRecreateInstallScript set(String parameterName, Object value) { + return (DownloadRecreateInstallScript) super.set(parameterName, value); + } + } + /** + * Downloads the server connect configuration for a given network monitoring provider. + * + * Create a request for the method "monitoringPoints.downloadServerConnectConfig". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link DownloadServerConnectConfig#execute()} method to invoke the + * remote operation. + * + * @param parent Required. Parent value for DownloadServerConnectConfigRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public DownloadServerConnectConfig downloadServerConnectConfig(java.lang.String parent) throws java.io.IOException { + DownloadServerConnectConfig result = new DownloadServerConnectConfig(parent); + initialize(result); + return result; + } + + public class DownloadServerConnectConfig extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/monitoringPoints:downloadServerConnectConfig"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Downloads the server connect configuration for a given network monitoring provider. + * + * Create a request for the method "monitoringPoints.downloadServerConnectConfig". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link DownloadServerConnectConfig#execute()} method to + * invoke the remote operation.

{@link DownloadServerConnectConfig#initialize(com.google.api.c + * lient.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this + * instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value for DownloadServerConnectConfigRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected DownloadServerConnectConfig(java.lang.String parent) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.HttpBody.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public DownloadServerConnectConfig set$Xgafv(java.lang.String $Xgafv) { + return (DownloadServerConnectConfig) super.set$Xgafv($Xgafv); + } + + @Override + public DownloadServerConnectConfig setAccessToken(java.lang.String accessToken) { + return (DownloadServerConnectConfig) super.setAccessToken(accessToken); + } + + @Override + public DownloadServerConnectConfig setAlt(java.lang.String alt) { + return (DownloadServerConnectConfig) super.setAlt(alt); + } + + @Override + public DownloadServerConnectConfig setCallback(java.lang.String callback) { + return (DownloadServerConnectConfig) super.setCallback(callback); + } + + @Override + public DownloadServerConnectConfig setFields(java.lang.String fields) { + return (DownloadServerConnectConfig) super.setFields(fields); + } + + @Override + public DownloadServerConnectConfig setKey(java.lang.String key) { + return (DownloadServerConnectConfig) super.setKey(key); + } + + @Override + public DownloadServerConnectConfig setOauthToken(java.lang.String oauthToken) { + return (DownloadServerConnectConfig) super.setOauthToken(oauthToken); + } + + @Override + public DownloadServerConnectConfig setPrettyPrint(java.lang.Boolean prettyPrint) { + return (DownloadServerConnectConfig) super.setPrettyPrint(prettyPrint); + } + + @Override + public DownloadServerConnectConfig setQuotaUser(java.lang.String quotaUser) { + return (DownloadServerConnectConfig) super.setQuotaUser(quotaUser); + } + + @Override + public DownloadServerConnectConfig setUploadType(java.lang.String uploadType) { + return (DownloadServerConnectConfig) super.setUploadType(uploadType); + } + + @Override + public DownloadServerConnectConfig setUploadProtocol(java.lang.String uploadProtocol) { + return (DownloadServerConnectConfig) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{proj + * ect}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for DownloadServerConnectConfigRequest. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for DownloadServerConnectConfigRequest. Format: projects/{proj + * ect}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public DownloadServerConnectConfig setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public DownloadServerConnectConfig set(String parameterName, Object value) { + return (DownloadServerConnectConfig) super.set(parameterName, value); + } + } + /** + * Gets the MonitoringPoint resource. + * + * Create a request for the method "monitoringPoints.get". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringPro + * viders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$"); + + /** + * Gets the MonitoringPoint resource. + * + * Create a request for the method "monitoringPoints.get". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + *

{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringPro + * viders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.MonitoringPoint.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/netwo + * rkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_poin + * t} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringPr + oviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/netwo + * rkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_poin + * t} + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/monitoringPoints/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists MonitoringPoints for a given network monitoring provider. + * + * Create a request for the method "monitoringPoints.list". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for ListMonitoringPointsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/monitoringPoints"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Lists MonitoringPoints for a given network monitoring provider. + * + * Create a request for the method "monitoringPoints.list". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link List#execute()} method to invoke the remote operation. + *

{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value for ListMonitoringPointsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.ListMonitoringPointsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/lo + * cations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for ListMonitoringPointsRequest. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/lo + * cations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. The maximum number of monitoring points to return. The service may return + * fewer than this value. If unspecified, at most 20 monitoring points will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of monitoring points to return. The service may return fewer than this + value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; + values above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of monitoring points to return. The service may return + * fewer than this value. If unspecified, at most 20 monitoring points will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided + * to `ListMonitoringPoints` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to + retrieve the subsequent page. When paginating, all other parameters provided to + `ListMonitoringPoints` must match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided + * to `ListMonitoringPoints` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the NetworkPaths collection. + * + *

The typical use is:

+ *
+         *   {@code NetworkManagement networkmanagement = new NetworkManagement(...);}
+         *   {@code NetworkManagement.NetworkPaths.List request = networkmanagement.networkPaths().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public NetworkPaths networkPaths() { + return new NetworkPaths(); + } + + /** + * The "networkPaths" collection of methods. + */ + public class NetworkPaths { + + /** + * Gets the NetworkPath resource. + * + * Create a request for the method "networkPaths.get". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringPro + * viders/{network_monitoring_provider}/networkPaths/{network_path} + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/networkPaths/[^/]+$"); + + /** + * Gets the NetworkPath resource. + * + * Create a request for the method "networkPaths.get". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + *

{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringPro + * viders/{network_monitoring_provider}/networkPaths/{network_path} + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.NetworkPath.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/networkPaths/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/netwo + * rkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringPr + oviders/{network_monitoring_provider}/networkPaths/{network_path} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource. Format: projects/{project}/locations/{location}/netwo + * rkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path} + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/networkPaths/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists NetworkPaths for a given network monitoring provider. + * + * Create a request for the method "networkPaths.list". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for ListNetworkPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/networkPaths"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Lists NetworkPaths for a given network monitoring provider. + * + * Create a request for the method "networkPaths.list". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link List#execute()} method to invoke the remote operation. + *

{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value for ListNetworkPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.ListNetworkPathsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for ListNetworkPathsRequest. Format: projects/{project}/locati + * ons/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for ListNetworkPathsRequest. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for ListNetworkPathsRequest. Format: projects/{project}/locati + * ons/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. The maximum number of network paths to return. The service may return fewer + * than this value. If unspecified, at most 20 network pathswill be returned. The + * maximum value is 1000; values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of network paths to return. The service may return fewer than this + value. If unspecified, at most 20 network pathswill be returned. The maximum value is 1000; values + above 1000 will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of network paths to return. The service may return fewer + * than this value. If unspecified, at most 20 network pathswill be returned. The + * maximum value is 1000; values above 1000 will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListNetworkPaths` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided + * to `ListNetworkPaths` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListNetworkPaths` call. Provide this to retrieve + the subsequent page. When paginating, all other parameters provided to `ListNetworkPaths` must + match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListNetworkPaths` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters provided + * to `ListNetworkPaths` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + /** + * An accessor for creating requests from the WebPaths collection. + * + *

The typical use is:

+ *
+         *   {@code NetworkManagement networkmanagement = new NetworkManagement(...);}
+         *   {@code NetworkManagement.WebPaths.List request = networkmanagement.webPaths().list(parameters ...)}
+         * 
+ * + * @return the resource collection + */ + public WebPaths webPaths() { + return new WebPaths(); + } + + /** + * The "webPaths" collection of methods. + */ + public class WebPaths { + + /** + * Gets the WebPath resource. + * + * Create a request for the method "webPaths.get". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. Name of the resource.. Format: projects/{project}/locations/{location}/networkMonitoringPr + * oviders/{network_monitoring_provider}/webPaths/{web_path} + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/webPaths/[^/]+$"); + + /** + * Gets the WebPath resource. + * + * Create a request for the method "webPaths.get". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation. + *

{@link + * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Required. Name of the resource.. Format: projects/{project}/locations/{location}/networkMonitoringPr + * oviders/{network_monitoring_provider}/webPaths/{web_path} + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.WebPath.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/webPaths/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Name of the resource.. Format: projects/{project}/locations/{location}/netw + * orkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. Name of the resource.. Format: projects/{project}/locations/{location}/networkMonitoringP + roviders/{network_monitoring_provider}/webPaths/{web_path} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. Name of the resource.. Format: projects/{project}/locations/{location}/netw + * orkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path} + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+/webPaths/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists WebPaths for a given network monitoring provider. + * + * Create a request for the method "webPaths.list". + * + * This request holds the parameters needed by the networkmanagement server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. Parent value for ListWebPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends NetworkManagementRequest { + + private static final String REST_PATH = "v1/{+parent}/webPaths"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + + /** + * Lists WebPaths for a given network monitoring provider. + * + * Create a request for the method "webPaths.list". + * + * This request holds the parameters needed by the the networkmanagement server. After setting + * any optional parameters, call the {@link List#execute()} method to invoke the remote operation. + *

{@link + * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be + * called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. Parent value for ListWebPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_pro + * vider} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(NetworkManagement.this, "GET", REST_PATH, null, com.google.api.services.networkmanagement.v1.model.ListWebPathsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. Parent value for ListWebPathsRequest. Format: projects/{project}/locations/ + * {location}/networkMonitoringProviders/{network_monitoring_provider} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. Parent value for ListWebPathsRequest. Format: + projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. Parent value for ListWebPathsRequest. Format: projects/{project}/locations/ + * {location}/networkMonitoringProviders/{network_monitoring_provider} + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/networkMonitoringProviders/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. The maximum number of web paths to return. The service may return fewer + * than this value. If unspecified, at most 20 web paths will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. + */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of web paths to return. The service may return fewer than this value. + If unspecified, at most 20 web paths will be returned. The maximum value is 1000; values above 1000 + will be coerced to 1000. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** + * Optional. The maximum number of web paths to return. The service may return fewer + * than this value. If unspecified, at most 20 web paths will be returned. The maximum + * value is 1000; values above 1000 will be coerced to 1000. + */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListWebPaths` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided to + * `ListWebPaths` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListWebPaths` call. Provide this to retrieve the + subsequent page. When paginating, all other parameters provided to `ListWebPaths` must match the + call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListWebPaths` call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters provided to + * `ListWebPaths` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + + } + } /** * An accessor for creating requests from the VpcFlowLogsConfigs collection. * diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GenerateMonitoringPointConfigResponse.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GenerateMonitoringPointConfigResponse.java new file mode 100644 index 00000000000..3627095b873 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GenerateMonitoringPointConfigResponse.java @@ -0,0 +1,68 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message for response for getting Monitoring Point configuration of a NetworkMonitoringProvider + * resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GenerateMonitoringPointConfigResponse extends com.google.api.client.json.GenericJson { + + /** + * The Monitoring Point configuration of the provider in JSON format. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map config; + + /** + * The Monitoring Point configuration of the provider in JSON format. + * @return value or {@code null} for none + */ + public java.util.Map getConfig() { + return config; + } + + /** + * The Monitoring Point configuration of the provider in JSON format. + * @param config config or {@code null} for none + */ + public GenerateMonitoringPointConfigResponse setConfig(java.util.Map config) { + this.config = config; + return this; + } + + @Override + public GenerateMonitoringPointConfigResponse set(String fieldName, Object value) { + return (GenerateMonitoringPointConfigResponse) super.set(fieldName, value); + } + + @Override + public GenerateMonitoringPointConfigResponse clone() { + return (GenerateMonitoringPointConfigResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GenerateProviderAccessTokenResponse.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GenerateProviderAccessTokenResponse.java new file mode 100644 index 00000000000..6641f8ee2cd --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GenerateProviderAccessTokenResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message for response for generating an access token for a NetworkMonitoringProvider resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GenerateProviderAccessTokenResponse extends com.google.api.client.json.GenericJson { + + /** + * Provider access token for the NetworkMonitoringProvider resource. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String providerAccessToken; + + /** + * Provider access token for the NetworkMonitoringProvider resource. + * @return value or {@code null} for none + */ + public java.lang.String getProviderAccessToken() { + return providerAccessToken; + } + + /** + * Provider access token for the NetworkMonitoringProvider resource. + * @param providerAccessToken providerAccessToken or {@code null} for none + */ + public GenerateProviderAccessTokenResponse setProviderAccessToken(java.lang.String providerAccessToken) { + this.providerAccessToken = providerAccessToken; + return this; + } + + @Override + public GenerateProviderAccessTokenResponse set(String fieldName, Object value) { + return (GenerateProviderAccessTokenResponse) super.set(fieldName, value); + } + + @Override + public GenerateProviderAccessTokenResponse clone() { + return (GenerateProviderAccessTokenResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GeoLocation.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GeoLocation.java new file mode 100644 index 00000000000..6068ca0fae4 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/GeoLocation.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * The geographical location of the MonitoringPoint. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GeoLocation extends com.google.api.client.json.GenericJson { + + /** + * Formatted address. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String formattedAddress; + + /** + * Unicode CLDR region code. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String regionCode; + + /** + * Formatted address. + * @return value or {@code null} for none + */ + public java.lang.String getFormattedAddress() { + return formattedAddress; + } + + /** + * Formatted address. + * @param formattedAddress formattedAddress or {@code null} for none + */ + public GeoLocation setFormattedAddress(java.lang.String formattedAddress) { + this.formattedAddress = formattedAddress; + return this; + } + + /** + * Unicode CLDR region code. + * @return value or {@code null} for none + */ + public java.lang.String getRegionCode() { + return regionCode; + } + + /** + * Unicode CLDR region code. + * @param regionCode regionCode or {@code null} for none + */ + public GeoLocation setRegionCode(java.lang.String regionCode) { + this.regionCode = regionCode; + return this; + } + + @Override + public GeoLocation set(String fieldName, Object value) { + return (GeoLocation) super.set(fieldName, value); + } + + @Override + public GeoLocation clone() { + return (GeoLocation) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/Host.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/Host.java new file mode 100644 index 00000000000..204a790622a --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/Host.java @@ -0,0 +1,211 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing information about the host. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class Host extends com.google.api.client.json.GenericJson { + + /** + * Output only. The cloud instance id of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudInstanceId; + + /** + * Output only. The cloud project id of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudProjectId; + + /** + * Output only. The cloud provider of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudProvider; + + /** + * Output only. The cloud region of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudRegion; + + /** + * Output only. The ids of cloud virtual networks of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List cloudVirtualNetworkIds; + + /** + * Output only. The cloud zone of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cloudZone; + + /** + * Output only. The operating system of the host. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String os; + + /** + * Output only. The cloud instance id of the host. + * @return value or {@code null} for none + */ + public java.lang.String getCloudInstanceId() { + return cloudInstanceId; + } + + /** + * Output only. The cloud instance id of the host. + * @param cloudInstanceId cloudInstanceId or {@code null} for none + */ + public Host setCloudInstanceId(java.lang.String cloudInstanceId) { + this.cloudInstanceId = cloudInstanceId; + return this; + } + + /** + * Output only. The cloud project id of the host. + * @return value or {@code null} for none + */ + public java.lang.String getCloudProjectId() { + return cloudProjectId; + } + + /** + * Output only. The cloud project id of the host. + * @param cloudProjectId cloudProjectId or {@code null} for none + */ + public Host setCloudProjectId(java.lang.String cloudProjectId) { + this.cloudProjectId = cloudProjectId; + return this; + } + + /** + * Output only. The cloud provider of the host. + * @return value or {@code null} for none + */ + public java.lang.String getCloudProvider() { + return cloudProvider; + } + + /** + * Output only. The cloud provider of the host. + * @param cloudProvider cloudProvider or {@code null} for none + */ + public Host setCloudProvider(java.lang.String cloudProvider) { + this.cloudProvider = cloudProvider; + return this; + } + + /** + * Output only. The cloud region of the host. + * @return value or {@code null} for none + */ + public java.lang.String getCloudRegion() { + return cloudRegion; + } + + /** + * Output only. The cloud region of the host. + * @param cloudRegion cloudRegion or {@code null} for none + */ + public Host setCloudRegion(java.lang.String cloudRegion) { + this.cloudRegion = cloudRegion; + return this; + } + + /** + * Output only. The ids of cloud virtual networks of the host. + * @return value or {@code null} for none + */ + public java.util.List getCloudVirtualNetworkIds() { + return cloudVirtualNetworkIds; + } + + /** + * Output only. The ids of cloud virtual networks of the host. + * @param cloudVirtualNetworkIds cloudVirtualNetworkIds or {@code null} for none + */ + public Host setCloudVirtualNetworkIds(java.util.List cloudVirtualNetworkIds) { + this.cloudVirtualNetworkIds = cloudVirtualNetworkIds; + return this; + } + + /** + * Output only. The cloud zone of the host. + * @return value or {@code null} for none + */ + public java.lang.String getCloudZone() { + return cloudZone; + } + + /** + * Output only. The cloud zone of the host. + * @param cloudZone cloudZone or {@code null} for none + */ + public Host setCloudZone(java.lang.String cloudZone) { + this.cloudZone = cloudZone; + return this; + } + + /** + * Output only. The operating system of the host. + * @return value or {@code null} for none + */ + public java.lang.String getOs() { + return os; + } + + /** + * Output only. The operating system of the host. + * @param os os or {@code null} for none + */ + public Host setOs(java.lang.String os) { + this.os = os; + return this; + } + + @Override + public Host set(String fieldName, Object value) { + return (Host) super.set(fieldName, value); + } + + @Override + public Host clone() { + return (Host) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/HttpBody.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/HttpBody.java new file mode 100644 index 00000000000..131379b0c6e --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/HttpBody.java @@ -0,0 +1,155 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message that represents an arbitrary HTTP body. It should only be used for payload formats that + * can't be represented as JSON, such as raw binary or an HTML page. This message can be used both + * in streaming and non-streaming API methods in the request as well as the response. It can be used + * as a top-level request field, which is convenient if one wants to extract parameters from either + * the URL or HTTP template into the request fields and also want access to the raw HTTP body. + * Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw + * HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { + * rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc + * UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming + * methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream + * google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream + * google.api.HttpBody); } Use of this type only changes how the request and response bodies are + * handled, all other features will continue to work unchanged. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class HttpBody extends com.google.api.client.json.GenericJson { + + /** + * The HTTP Content-Type header value specifying the content type of the body. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contentType; + + /** + * The HTTP request/response body as raw binary. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String data; + + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List> extensions; + + /** + * The HTTP Content-Type header value specifying the content type of the body. + * @return value or {@code null} for none + */ + public java.lang.String getContentType() { + return contentType; + } + + /** + * The HTTP Content-Type header value specifying the content type of the body. + * @param contentType contentType or {@code null} for none + */ + public HttpBody setContentType(java.lang.String contentType) { + this.contentType = contentType; + return this; + } + + /** + * The HTTP request/response body as raw binary. + * @see #decodeData() + * @return value or {@code null} for none + */ + public java.lang.String getData() { + return data; + } + + /** + * The HTTP request/response body as raw binary. + * @see #getData() + * @return Base64 decoded value or {@code null} for none + * + * @since 1.14 + */ + public byte[] decodeData() { + return com.google.api.client.util.Base64.decodeBase64(data); + } + + /** + * The HTTP request/response body as raw binary. + * @see #encodeData() + * @param data data or {@code null} for none + */ + public HttpBody setData(java.lang.String data) { + this.data = data; + return this; + } + + /** + * The HTTP request/response body as raw binary. + * @see #setData() + * + *

+ * The value is encoded Base64 or {@code null} for none. + *

+ * + * @since 1.14 + */ + public HttpBody encodeData(byte[] data) { + this.data = com.google.api.client.util.Base64.encodeBase64URLSafeString(data); + return this; + } + + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + * @return value or {@code null} for none + */ + public java.util.List> getExtensions() { + return extensions; + } + + /** + * Application specific response metadata. Must be set in the first response for streaming APIs. + * @param extensions extensions or {@code null} for none + */ + public HttpBody setExtensions(java.util.List> extensions) { + this.extensions = extensions; + return this; + } + + @Override + public HttpBody set(String fieldName, Object value) { + return (HttpBody) super.set(fieldName, value); + } + + @Override + public HttpBody clone() { + return (HttpBody) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListMonitoringPointsResponse.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListMonitoringPointsResponse.java new file mode 100644 index 00000000000..e57cca4b187 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListMonitoringPointsResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message for response to listing MonitoringPoints + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListMonitoringPointsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of MonitoringPoints. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List monitoringPoints; + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of MonitoringPoints. + * @return value or {@code null} for none + */ + public java.util.List getMonitoringPoints() { + return monitoringPoints; + } + + /** + * The list of MonitoringPoints. + * @param monitoringPoints monitoringPoints or {@code null} for none + */ + public ListMonitoringPointsResponse setMonitoringPoints(java.util.List monitoringPoints) { + this.monitoringPoints = monitoringPoints; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListMonitoringPointsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public ListMonitoringPointsResponse set(String fieldName, Object value) { + return (ListMonitoringPointsResponse) super.set(fieldName, value); + } + + @Override + public ListMonitoringPointsResponse clone() { + return (ListMonitoringPointsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListNetworkMonitoringProvidersResponse.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListNetworkMonitoringProvidersResponse.java new file mode 100644 index 00000000000..4e0bb55b01b --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListNetworkMonitoringProvidersResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message for response to listing NetworkMonitoringProviders + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListNetworkMonitoringProvidersResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of NetworkMonitoringProvider + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List networkMonitoringProviders; + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of NetworkMonitoringProvider + * @return value or {@code null} for none + */ + public java.util.List getNetworkMonitoringProviders() { + return networkMonitoringProviders; + } + + /** + * The list of NetworkMonitoringProvider + * @param networkMonitoringProviders networkMonitoringProviders or {@code null} for none + */ + public ListNetworkMonitoringProvidersResponse setNetworkMonitoringProviders(java.util.List networkMonitoringProviders) { + this.networkMonitoringProviders = networkMonitoringProviders; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListNetworkMonitoringProvidersResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public ListNetworkMonitoringProvidersResponse set(String fieldName, Object value) { + return (ListNetworkMonitoringProvidersResponse) super.set(fieldName, value); + } + + @Override + public ListNetworkMonitoringProvidersResponse clone() { + return (ListNetworkMonitoringProvidersResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListNetworkPathsResponse.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListNetworkPathsResponse.java new file mode 100644 index 00000000000..ef5e778e881 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListNetworkPathsResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message for response to listing NetworkPaths + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListNetworkPathsResponse extends com.google.api.client.json.GenericJson { + + /** + * The list of NetworkPath + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List networkPaths; + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of NetworkPath + * @return value or {@code null} for none + */ + public java.util.List getNetworkPaths() { + return networkPaths; + } + + /** + * The list of NetworkPath + * @param networkPaths networkPaths or {@code null} for none + */ + public ListNetworkPathsResponse setNetworkPaths(java.util.List networkPaths) { + this.networkPaths = networkPaths; + return this; + } + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListNetworkPathsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public ListNetworkPathsResponse set(String fieldName, Object value) { + return (ListNetworkPathsResponse) super.set(fieldName, value); + } + + @Override + public ListNetworkPathsResponse clone() { + return (ListNetworkPathsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListWebPathsResponse.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListWebPathsResponse.java new file mode 100644 index 00000000000..e231b47ad51 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ListWebPathsResponse.java @@ -0,0 +1,91 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message for response to listing WebPaths + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ListWebPathsResponse extends com.google.api.client.json.GenericJson { + + /** + * A token identifying a page of results the server should return. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of WebPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List webPaths; + + /** + * A token identifying a page of results the server should return. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token identifying a page of results the server should return. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public ListWebPathsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of WebPath. + * @return value or {@code null} for none + */ + public java.util.List getWebPaths() { + return webPaths; + } + + /** + * The list of WebPath. + * @param webPaths webPaths or {@code null} for none + */ + public ListWebPathsResponse setWebPaths(java.util.List webPaths) { + this.webPaths = webPaths; + return this; + } + + @Override + public ListWebPathsResponse set(String fieldName, Object value) { + return (ListWebPathsResponse) super.set(fieldName, value); + } + + @Override + public ListWebPathsResponse clone() { + return (ListWebPathsResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/MonitoringPoint.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/MonitoringPoint.java new file mode 100644 index 00000000000..3296cec98ea --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/MonitoringPoint.java @@ -0,0 +1,502 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing MonitoringPoint resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class MonitoringPoint extends com.google.api.client.json.GenericJson { + + /** + * Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean autoGeoLocationEnabled; + + /** + * Output only. Connection status of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String connectionStatus; + + /** + * Output only. The time the MonitoringPoint was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. The deployment type of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String deploymentType; + + /** + * Output only. Display name of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. The codes of errors detected in the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + /** + * Output only. The geographical location of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GeoLocation geoLocation; + + /** + * Output only. The GUID of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String guid; + + /** + * Output only. The host information of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Host host; + + /** + * Output only. The hostname of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String hostname; + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The network interfaces of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List networkInterfaces; + + /** + * Output only. IP address visible when MonitoringPoint connects to the provider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originatingIp; + + /** + * Output only. The provider tags of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List providerTags; + + /** + * Output only. Deployment type of the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * Output only. The time the MonitoringPoint was updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Indicates if an upgrade is available for the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean upgradeAvailable; + + /** + * Output only. The type of upgrade available for the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String upgradeType; + + /** + * Output only. Version of the software running on the MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String version; + + /** + * Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAutoGeoLocationEnabled() { + return autoGeoLocationEnabled; + } + + /** + * Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint. + * @param autoGeoLocationEnabled autoGeoLocationEnabled or {@code null} for none + */ + public MonitoringPoint setAutoGeoLocationEnabled(java.lang.Boolean autoGeoLocationEnabled) { + this.autoGeoLocationEnabled = autoGeoLocationEnabled; + return this; + } + + /** + * Output only. Connection status of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getConnectionStatus() { + return connectionStatus; + } + + /** + * Output only. Connection status of the MonitoringPoint. + * @param connectionStatus connectionStatus or {@code null} for none + */ + public MonitoringPoint setConnectionStatus(java.lang.String connectionStatus) { + this.connectionStatus = connectionStatus; + return this; + } + + /** + * Output only. The time the MonitoringPoint was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The time the MonitoringPoint was created. + * @param createTime createTime or {@code null} for none + */ + public MonitoringPoint setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. The deployment type of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getDeploymentType() { + return deploymentType; + } + + /** + * Output only. The deployment type of the MonitoringPoint. + * @param deploymentType deploymentType or {@code null} for none + */ + public MonitoringPoint setDeploymentType(java.lang.String deploymentType) { + this.deploymentType = deploymentType; + return this; + } + + /** + * Output only. Display name of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. Display name of the MonitoringPoint. + * @param displayName displayName or {@code null} for none + */ + public MonitoringPoint setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. The codes of errors detected in the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * Output only. The codes of errors detected in the MonitoringPoint. + * @param errors errors or {@code null} for none + */ + public MonitoringPoint setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + + /** + * Output only. The geographical location of the MonitoringPoint. + * @return value or {@code null} for none + */ + public GeoLocation getGeoLocation() { + return geoLocation; + } + + /** + * Output only. The geographical location of the MonitoringPoint. + * @param geoLocation geoLocation or {@code null} for none + */ + public MonitoringPoint setGeoLocation(GeoLocation geoLocation) { + this.geoLocation = geoLocation; + return this; + } + + /** + * Output only. The GUID of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getGuid() { + return guid; + } + + /** + * Output only. The GUID of the MonitoringPoint. + * @param guid guid or {@code null} for none + */ + public MonitoringPoint setGuid(java.lang.String guid) { + this.guid = guid; + return this; + } + + /** + * Output only. The host information of the MonitoringPoint. + * @return value or {@code null} for none + */ + public Host getHost() { + return host; + } + + /** + * Output only. The host information of the MonitoringPoint. + * @param host host or {@code null} for none + */ + public MonitoringPoint setHost(Host host) { + this.host = host; + return this; + } + + /** + * Output only. The hostname of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getHostname() { + return hostname; + } + + /** + * Output only. The hostname of the MonitoringPoint. + * @param hostname hostname or {@code null} for none + */ + public MonitoringPoint setHostname(java.lang.String hostname) { + this.hostname = hostname; + return this; + } + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}` + * @param name name or {@code null} for none + */ + public MonitoringPoint setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The network interfaces of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.util.List getNetworkInterfaces() { + return networkInterfaces; + } + + /** + * Output only. The network interfaces of the MonitoringPoint. + * @param networkInterfaces networkInterfaces or {@code null} for none + */ + public MonitoringPoint setNetworkInterfaces(java.util.List networkInterfaces) { + this.networkInterfaces = networkInterfaces; + return this; + } + + /** + * Output only. IP address visible when MonitoringPoint connects to the provider. + * @return value or {@code null} for none + */ + public java.lang.String getOriginatingIp() { + return originatingIp; + } + + /** + * Output only. IP address visible when MonitoringPoint connects to the provider. + * @param originatingIp originatingIp or {@code null} for none + */ + public MonitoringPoint setOriginatingIp(java.lang.String originatingIp) { + this.originatingIp = originatingIp; + return this; + } + + /** + * Output only. The provider tags of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.util.List getProviderTags() { + return providerTags; + } + + /** + * Output only. The provider tags of the MonitoringPoint. + * @param providerTags providerTags or {@code null} for none + */ + public MonitoringPoint setProviderTags(java.util.List providerTags) { + this.providerTags = providerTags; + return this; + } + + /** + * Output only. Deployment type of the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * Output only. Deployment type of the MonitoringPoint. + * @param type type or {@code null} for none + */ + public MonitoringPoint setType(java.lang.String type) { + this.type = type; + return this; + } + + /** + * Output only. The time the MonitoringPoint was updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The time the MonitoringPoint was updated. + * @param updateTime updateTime or {@code null} for none + */ + public MonitoringPoint setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Output only. Indicates if an upgrade is available for the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.Boolean getUpgradeAvailable() { + return upgradeAvailable; + } + + /** + * Output only. Indicates if an upgrade is available for the MonitoringPoint. + * @param upgradeAvailable upgradeAvailable or {@code null} for none + */ + public MonitoringPoint setUpgradeAvailable(java.lang.Boolean upgradeAvailable) { + this.upgradeAvailable = upgradeAvailable; + return this; + } + + /** + * Output only. The type of upgrade available for the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getUpgradeType() { + return upgradeType; + } + + /** + * Output only. The type of upgrade available for the MonitoringPoint. + * @param upgradeType upgradeType or {@code null} for none + */ + public MonitoringPoint setUpgradeType(java.lang.String upgradeType) { + this.upgradeType = upgradeType; + return this; + } + + /** + * Output only. Version of the software running on the MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getVersion() { + return version; + } + + /** + * Output only. Version of the software running on the MonitoringPoint. + * @param version version or {@code null} for none + */ + public MonitoringPoint setVersion(java.lang.String version) { + this.version = version; + return this; + } + + @Override + public MonitoringPoint set(String fieldName, Object value) { + return (MonitoringPoint) super.set(fieldName, value); + } + + @Override + public MonitoringPoint clone() { + return (MonitoringPoint) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkInterface.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkInterface.java new file mode 100644 index 00000000000..c6e2d508544 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkInterface.java @@ -0,0 +1,214 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing network interfaces. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class NetworkInterface extends com.google.api.client.json.GenericJson { + + /** + * Output only. The description of the interface. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String adapterDescription; + + /** + * Output only. The IP address of the interface and subnet mask in CIDR format. Examples: + * 192.168.1.0/24, 2001:db8::/32 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String cidr; + + /** + * Output only. The name of the network interface. Examples: eth0, eno1 + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String interfaceName; + + /** + * Output only. The IP address of the interface. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ipAddress; + + /** + * Output only. The MAC address of the interface. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String macAddress; + + /** + * Output only. Speed of the interface in millions of bits per second. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long speed; + + /** + * Output only. The id of the VLAN. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long vlanId; + + /** + * Output only. The description of the interface. + * @return value or {@code null} for none + */ + public java.lang.String getAdapterDescription() { + return adapterDescription; + } + + /** + * Output only. The description of the interface. + * @param adapterDescription adapterDescription or {@code null} for none + */ + public NetworkInterface setAdapterDescription(java.lang.String adapterDescription) { + this.adapterDescription = adapterDescription; + return this; + } + + /** + * Output only. The IP address of the interface and subnet mask in CIDR format. Examples: + * 192.168.1.0/24, 2001:db8::/32 + * @return value or {@code null} for none + */ + public java.lang.String getCidr() { + return cidr; + } + + /** + * Output only. The IP address of the interface and subnet mask in CIDR format. Examples: + * 192.168.1.0/24, 2001:db8::/32 + * @param cidr cidr or {@code null} for none + */ + public NetworkInterface setCidr(java.lang.String cidr) { + this.cidr = cidr; + return this; + } + + /** + * Output only. The name of the network interface. Examples: eth0, eno1 + * @return value or {@code null} for none + */ + public java.lang.String getInterfaceName() { + return interfaceName; + } + + /** + * Output only. The name of the network interface. Examples: eth0, eno1 + * @param interfaceName interfaceName or {@code null} for none + */ + public NetworkInterface setInterfaceName(java.lang.String interfaceName) { + this.interfaceName = interfaceName; + return this; + } + + /** + * Output only. The IP address of the interface. + * @return value or {@code null} for none + */ + public java.lang.String getIpAddress() { + return ipAddress; + } + + /** + * Output only. The IP address of the interface. + * @param ipAddress ipAddress or {@code null} for none + */ + public NetworkInterface setIpAddress(java.lang.String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * Output only. The MAC address of the interface. + * @return value or {@code null} for none + */ + public java.lang.String getMacAddress() { + return macAddress; + } + + /** + * Output only. The MAC address of the interface. + * @param macAddress macAddress or {@code null} for none + */ + public NetworkInterface setMacAddress(java.lang.String macAddress) { + this.macAddress = macAddress; + return this; + } + + /** + * Output only. Speed of the interface in millions of bits per second. + * @return value or {@code null} for none + */ + public java.lang.Long getSpeed() { + return speed; + } + + /** + * Output only. Speed of the interface in millions of bits per second. + * @param speed speed or {@code null} for none + */ + public NetworkInterface setSpeed(java.lang.Long speed) { + this.speed = speed; + return this; + } + + /** + * Output only. The id of the VLAN. + * @return value or {@code null} for none + */ + public java.lang.Long getVlanId() { + return vlanId; + } + + /** + * Output only. The id of the VLAN. + * @param vlanId vlanId or {@code null} for none + */ + public NetworkInterface setVlanId(java.lang.Long vlanId) { + this.vlanId = vlanId; + return this; + } + + @Override + public NetworkInterface set(String fieldName, Object value) { + return (NetworkInterface) super.set(fieldName, value); + } + + @Override + public NetworkInterface clone() { + return (NetworkInterface) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkMonitoringProvider.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkMonitoringProvider.java new file mode 100644 index 00000000000..64949969004 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkMonitoringProvider.java @@ -0,0 +1,214 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing NetworkMonitoringProvider resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class NetworkMonitoringProvider extends com.google.api.client.json.GenericJson { + + /** + * Output only. The time the NetworkMonitoringProvider was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. The list of error messages detected for the NetworkMonitoringProvider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List errors; + + /** + * Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location} + * /networkMonitoringProviders/{network_monitoring_provider}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. Type of the NetworkMonitoringProvider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String providerType; + + /** + * Output only. Link to the provider's UI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String providerUri; + + /** + * Output only. State of the NetworkMonitoringProvider. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The time the NetworkMonitoringProvider was updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The time the NetworkMonitoringProvider was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The time the NetworkMonitoringProvider was created. + * @param createTime createTime or {@code null} for none + */ + public NetworkMonitoringProvider setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. The list of error messages detected for the NetworkMonitoringProvider. + * @return value or {@code null} for none + */ + public java.util.List getErrors() { + return errors; + } + + /** + * Output only. The list of error messages detected for the NetworkMonitoringProvider. + * @param errors errors or {@code null} for none + */ + public NetworkMonitoringProvider setErrors(java.util.List errors) { + this.errors = errors; + return this; + } + + /** + * Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location} + * /networkMonitoringProviders/{network_monitoring_provider}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Output only. Identifier. Name of the resource. Format: `projects/{project}/locations/{location} + * /networkMonitoringProviders/{network_monitoring_provider}` + * @param name name or {@code null} for none + */ + public NetworkMonitoringProvider setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. Type of the NetworkMonitoringProvider. + * @return value or {@code null} for none + */ + public java.lang.String getProviderType() { + return providerType; + } + + /** + * Required. Type of the NetworkMonitoringProvider. + * @param providerType providerType or {@code null} for none + */ + public NetworkMonitoringProvider setProviderType(java.lang.String providerType) { + this.providerType = providerType; + return this; + } + + /** + * Output only. Link to the provider's UI. + * @return value or {@code null} for none + */ + public java.lang.String getProviderUri() { + return providerUri; + } + + /** + * Output only. Link to the provider's UI. + * @param providerUri providerUri or {@code null} for none + */ + public NetworkMonitoringProvider setProviderUri(java.lang.String providerUri) { + this.providerUri = providerUri; + return this; + } + + /** + * Output only. State of the NetworkMonitoringProvider. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. State of the NetworkMonitoringProvider. + * @param state state or {@code null} for none + */ + public NetworkMonitoringProvider setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Output only. The time the NetworkMonitoringProvider was updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The time the NetworkMonitoringProvider was updated. + * @param updateTime updateTime or {@code null} for none + */ + public NetworkMonitoringProvider setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public NetworkMonitoringProvider set(String fieldName, Object value) { + return (NetworkMonitoringProvider) super.set(fieldName, value); + } + + @Override + public NetworkMonitoringProvider clone() { + return (NetworkMonitoringProvider) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkPath.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkPath.java new file mode 100644 index 00000000000..0899f82544a --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/NetworkPath.java @@ -0,0 +1,445 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing NetworkPath resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class NetworkPath extends com.google.api.client.json.GenericJson { + + /** + * Output only. The time the NetworkPath was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. IP address or hostname of the network path destination. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destination; + + /** + * Output only. Geographical location of the destination MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GeoLocation destinationGeoLocation; + + /** + * Output only. Provider's UUID of the destination MonitoringPoint. This id may not point to a + * resource in the Google Cloud. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destinationMonitoringPointId; + + /** + * Output only. The display name of the network path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. Indicates if the network path is dual ended. When true, the network path is + * measured both: from both source to destination, and from destination to source. When false, the + * network path is measured from the source through the destination back to the source (round trip + * measurement). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean dualEnded; + + /** + * Output only. Is monitoring enabled for the network path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean monitoringEnabled; + + /** + * Output only. Display name of the monitoring policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String monitoringPolicyDisplayName; + + /** + * Output only. ID of monitoring policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String monitoringPolicyId; + + /** + * Output only. The monitoring status of the network path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String monitoringStatus; + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/networkPaths/{network_path}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The network protocol of the network path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String networkProtocol; + + /** + * Output only. The provider tags of the network path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List providerTags; + + /** + * Output only. Link to provider's UI; link shows the NetworkPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String providerUiUri; + + /** + * Output only. Provider's UUID of the source MonitoringPoint. This id may not point to a resource + * in the Google Cloud. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceMonitoringPointId; + + /** + * Output only. The time the NetworkPath was updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The time the NetworkPath was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The time the NetworkPath was created. + * @param createTime createTime or {@code null} for none + */ + public NetworkPath setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. IP address or hostname of the network path destination. + * @return value or {@code null} for none + */ + public java.lang.String getDestination() { + return destination; + } + + /** + * Output only. IP address or hostname of the network path destination. + * @param destination destination or {@code null} for none + */ + public NetworkPath setDestination(java.lang.String destination) { + this.destination = destination; + return this; + } + + /** + * Output only. Geographical location of the destination MonitoringPoint. + * @return value or {@code null} for none + */ + public GeoLocation getDestinationGeoLocation() { + return destinationGeoLocation; + } + + /** + * Output only. Geographical location of the destination MonitoringPoint. + * @param destinationGeoLocation destinationGeoLocation or {@code null} for none + */ + public NetworkPath setDestinationGeoLocation(GeoLocation destinationGeoLocation) { + this.destinationGeoLocation = destinationGeoLocation; + return this; + } + + /** + * Output only. Provider's UUID of the destination MonitoringPoint. This id may not point to a + * resource in the Google Cloud. + * @return value or {@code null} for none + */ + public java.lang.String getDestinationMonitoringPointId() { + return destinationMonitoringPointId; + } + + /** + * Output only. Provider's UUID of the destination MonitoringPoint. This id may not point to a + * resource in the Google Cloud. + * @param destinationMonitoringPointId destinationMonitoringPointId or {@code null} for none + */ + public NetworkPath setDestinationMonitoringPointId(java.lang.String destinationMonitoringPointId) { + this.destinationMonitoringPointId = destinationMonitoringPointId; + return this; + } + + /** + * Output only. The display name of the network path. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. The display name of the network path. + * @param displayName displayName or {@code null} for none + */ + public NetworkPath setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. Indicates if the network path is dual ended. When true, the network path is + * measured both: from both source to destination, and from destination to source. When false, the + * network path is measured from the source through the destination back to the source (round trip + * measurement). + * @return value or {@code null} for none + */ + public java.lang.Boolean getDualEnded() { + return dualEnded; + } + + /** + * Output only. Indicates if the network path is dual ended. When true, the network path is + * measured both: from both source to destination, and from destination to source. When false, the + * network path is measured from the source through the destination back to the source (round trip + * measurement). + * @param dualEnded dualEnded or {@code null} for none + */ + public NetworkPath setDualEnded(java.lang.Boolean dualEnded) { + this.dualEnded = dualEnded; + return this; + } + + /** + * Output only. Is monitoring enabled for the network path. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMonitoringEnabled() { + return monitoringEnabled; + } + + /** + * Output only. Is monitoring enabled for the network path. + * @param monitoringEnabled monitoringEnabled or {@code null} for none + */ + public NetworkPath setMonitoringEnabled(java.lang.Boolean monitoringEnabled) { + this.monitoringEnabled = monitoringEnabled; + return this; + } + + /** + * Output only. Display name of the monitoring policy. + * @return value or {@code null} for none + */ + public java.lang.String getMonitoringPolicyDisplayName() { + return monitoringPolicyDisplayName; + } + + /** + * Output only. Display name of the monitoring policy. + * @param monitoringPolicyDisplayName monitoringPolicyDisplayName or {@code null} for none + */ + public NetworkPath setMonitoringPolicyDisplayName(java.lang.String monitoringPolicyDisplayName) { + this.monitoringPolicyDisplayName = monitoringPolicyDisplayName; + return this; + } + + /** + * Output only. ID of monitoring policy. + * @return value or {@code null} for none + */ + public java.lang.String getMonitoringPolicyId() { + return monitoringPolicyId; + } + + /** + * Output only. ID of monitoring policy. + * @param monitoringPolicyId monitoringPolicyId or {@code null} for none + */ + public NetworkPath setMonitoringPolicyId(java.lang.String monitoringPolicyId) { + this.monitoringPolicyId = monitoringPolicyId; + return this; + } + + /** + * Output only. The monitoring status of the network path. + * @return value or {@code null} for none + */ + public java.lang.String getMonitoringStatus() { + return monitoringStatus; + } + + /** + * Output only. The monitoring status of the network path. + * @param monitoringStatus monitoringStatus or {@code null} for none + */ + public NetworkPath setMonitoringStatus(java.lang.String monitoringStatus) { + this.monitoringStatus = monitoringStatus; + return this; + } + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/networkPaths/{network_path}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/networkPaths/{network_path}` + * @param name name or {@code null} for none + */ + public NetworkPath setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The network protocol of the network path. + * @return value or {@code null} for none + */ + public java.lang.String getNetworkProtocol() { + return networkProtocol; + } + + /** + * Output only. The network protocol of the network path. + * @param networkProtocol networkProtocol or {@code null} for none + */ + public NetworkPath setNetworkProtocol(java.lang.String networkProtocol) { + this.networkProtocol = networkProtocol; + return this; + } + + /** + * Output only. The provider tags of the network path. + * @return value or {@code null} for none + */ + public java.util.List getProviderTags() { + return providerTags; + } + + /** + * Output only. The provider tags of the network path. + * @param providerTags providerTags or {@code null} for none + */ + public NetworkPath setProviderTags(java.util.List providerTags) { + this.providerTags = providerTags; + return this; + } + + /** + * Output only. Link to provider's UI; link shows the NetworkPath. + * @return value or {@code null} for none + */ + public java.lang.String getProviderUiUri() { + return providerUiUri; + } + + /** + * Output only. Link to provider's UI; link shows the NetworkPath. + * @param providerUiUri providerUiUri or {@code null} for none + */ + public NetworkPath setProviderUiUri(java.lang.String providerUiUri) { + this.providerUiUri = providerUiUri; + return this; + } + + /** + * Output only. Provider's UUID of the source MonitoringPoint. This id may not point to a resource + * in the Google Cloud. + * @return value or {@code null} for none + */ + public java.lang.String getSourceMonitoringPointId() { + return sourceMonitoringPointId; + } + + /** + * Output only. Provider's UUID of the source MonitoringPoint. This id may not point to a resource + * in the Google Cloud. + * @param sourceMonitoringPointId sourceMonitoringPointId or {@code null} for none + */ + public NetworkPath setSourceMonitoringPointId(java.lang.String sourceMonitoringPointId) { + this.sourceMonitoringPointId = sourceMonitoringPointId; + return this; + } + + /** + * Output only. The time the NetworkPath was updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The time the NetworkPath was updated. + * @param updateTime updateTime or {@code null} for none + */ + public NetworkPath setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public NetworkPath set(String fieldName, Object value) { + return (NetworkPath) super.set(fieldName, value); + } + + @Override + public NetworkPath clone() { + return (NetworkPath) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ProviderTag.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ProviderTag.java new file mode 100644 index 00000000000..858aa51c370 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/ProviderTag.java @@ -0,0 +1,115 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing the provider tag. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class ProviderTag extends com.google.api.client.json.GenericJson { + + /** + * Output only. The category of the provider tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String category; + + /** + * Output only. The resource type of the provider tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resourceType; + + /** + * Output only. The value of the provider tag. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String value; + + /** + * Output only. The category of the provider tag. + * @return value or {@code null} for none + */ + public java.lang.String getCategory() { + return category; + } + + /** + * Output only. The category of the provider tag. + * @param category category or {@code null} for none + */ + public ProviderTag setCategory(java.lang.String category) { + this.category = category; + return this; + } + + /** + * Output only. The resource type of the provider tag. + * @return value or {@code null} for none + */ + public java.lang.String getResourceType() { + return resourceType; + } + + /** + * Output only. The resource type of the provider tag. + * @param resourceType resourceType or {@code null} for none + */ + public ProviderTag setResourceType(java.lang.String resourceType) { + this.resourceType = resourceType; + return this; + } + + /** + * Output only. The value of the provider tag. + * @return value or {@code null} for none + */ + public java.lang.String getValue() { + return value; + } + + /** + * Output only. The value of the provider tag. + * @param value value or {@code null} for none + */ + public ProviderTag setValue(java.lang.String value) { + this.value = value; + return this; + } + + @Override + public ProviderTag set(String fieldName, Object value) { + return (ProviderTag) super.set(fieldName, value); + } + + @Override + public ProviderTag clone() { + return (ProviderTag) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/WebPath.java b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/WebPath.java new file mode 100644 index 00000000000..3bb635c5930 --- /dev/null +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/WebPath.java @@ -0,0 +1,436 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.networkmanagement.v1.model; + +/** + * Message describing WebPath resource. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Network Management API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class WebPath extends com.google.api.client.json.GenericJson { + + /** + * Output only. The time the WebPath was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. Web monitoring target. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String destination; + + /** + * Output only. Geographical location of the destination. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GeoLocation destinationGeoLocation; + + /** + * Output only. Display name of the WebPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Output only. Monitoring interval. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String interval; + + /** + * Output only. Is monitoring enabled for the WebPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean monitoringEnabled; + + /** + * Output only. Display name of the monitoring policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String monitoringPolicyDisplayName; + + /** + * Output only. ID of the monitoring policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String monitoringPolicyId; + + /** + * Output only. The monitoring status of the WebPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String monitoringStatus; + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/webPaths/{web_path}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The provider tags of the web path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List providerTags; + + static { + // hack to force ProGuard to consider ProviderTag used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(ProviderTag.class); + } + + /** + * Output only. Link to provider's UI; link shows the WebPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String providerUiUri; + + /** + * Output only. Provider's UUID of the related NetworkPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String relatedNetworkPathId; + + /** + * Output only. ID of the source MonitoringPoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String sourceMonitoringPointId; + + /** + * Output only. The time the WebPath was updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The workflow type of the WebPath. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String workflowType; + + /** + * Output only. The time the WebPath was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The time the WebPath was created. + * @param createTime createTime or {@code null} for none + */ + public WebPath setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. Web monitoring target. + * @return value or {@code null} for none + */ + public java.lang.String getDestination() { + return destination; + } + + /** + * Output only. Web monitoring target. + * @param destination destination or {@code null} for none + */ + public WebPath setDestination(java.lang.String destination) { + this.destination = destination; + return this; + } + + /** + * Output only. Geographical location of the destination. + * @return value or {@code null} for none + */ + public GeoLocation getDestinationGeoLocation() { + return destinationGeoLocation; + } + + /** + * Output only. Geographical location of the destination. + * @param destinationGeoLocation destinationGeoLocation or {@code null} for none + */ + public WebPath setDestinationGeoLocation(GeoLocation destinationGeoLocation) { + this.destinationGeoLocation = destinationGeoLocation; + return this; + } + + /** + * Output only. Display name of the WebPath. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Output only. Display name of the WebPath. + * @param displayName displayName or {@code null} for none + */ + public WebPath setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Output only. Monitoring interval. + * @return value or {@code null} for none + */ + public String getInterval() { + return interval; + } + + /** + * Output only. Monitoring interval. + * @param interval interval or {@code null} for none + */ + public WebPath setInterval(String interval) { + this.interval = interval; + return this; + } + + /** + * Output only. Is monitoring enabled for the WebPath. + * @return value or {@code null} for none + */ + public java.lang.Boolean getMonitoringEnabled() { + return monitoringEnabled; + } + + /** + * Output only. Is monitoring enabled for the WebPath. + * @param monitoringEnabled monitoringEnabled or {@code null} for none + */ + public WebPath setMonitoringEnabled(java.lang.Boolean monitoringEnabled) { + this.monitoringEnabled = monitoringEnabled; + return this; + } + + /** + * Output only. Display name of the monitoring policy. + * @return value or {@code null} for none + */ + public java.lang.String getMonitoringPolicyDisplayName() { + return monitoringPolicyDisplayName; + } + + /** + * Output only. Display name of the monitoring policy. + * @param monitoringPolicyDisplayName monitoringPolicyDisplayName or {@code null} for none + */ + public WebPath setMonitoringPolicyDisplayName(java.lang.String monitoringPolicyDisplayName) { + this.monitoringPolicyDisplayName = monitoringPolicyDisplayName; + return this; + } + + /** + * Output only. ID of the monitoring policy. + * @return value or {@code null} for none + */ + public java.lang.String getMonitoringPolicyId() { + return monitoringPolicyId; + } + + /** + * Output only. ID of the monitoring policy. + * @param monitoringPolicyId monitoringPolicyId or {@code null} for none + */ + public WebPath setMonitoringPolicyId(java.lang.String monitoringPolicyId) { + this.monitoringPolicyId = monitoringPolicyId; + return this; + } + + /** + * Output only. The monitoring status of the WebPath. + * @return value or {@code null} for none + */ + public java.lang.String getMonitoringStatus() { + return monitoringStatus; + } + + /** + * Output only. The monitoring status of the WebPath. + * @param monitoringStatus monitoringStatus or {@code null} for none + */ + public WebPath setMonitoringStatus(java.lang.String monitoringStatus) { + this.monitoringStatus = monitoringStatus; + return this; + } + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/webPaths/{web_path}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonit + * oringProviders/{network_monitoring_provider}/webPaths/{web_path}` + * @param name name or {@code null} for none + */ + public WebPath setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The provider tags of the web path. + * @return value or {@code null} for none + */ + public java.util.List getProviderTags() { + return providerTags; + } + + /** + * Output only. The provider tags of the web path. + * @param providerTags providerTags or {@code null} for none + */ + public WebPath setProviderTags(java.util.List providerTags) { + this.providerTags = providerTags; + return this; + } + + /** + * Output only. Link to provider's UI; link shows the WebPath. + * @return value or {@code null} for none + */ + public java.lang.String getProviderUiUri() { + return providerUiUri; + } + + /** + * Output only. Link to provider's UI; link shows the WebPath. + * @param providerUiUri providerUiUri or {@code null} for none + */ + public WebPath setProviderUiUri(java.lang.String providerUiUri) { + this.providerUiUri = providerUiUri; + return this; + } + + /** + * Output only. Provider's UUID of the related NetworkPath. + * @return value or {@code null} for none + */ + public java.lang.String getRelatedNetworkPathId() { + return relatedNetworkPathId; + } + + /** + * Output only. Provider's UUID of the related NetworkPath. + * @param relatedNetworkPathId relatedNetworkPathId or {@code null} for none + */ + public WebPath setRelatedNetworkPathId(java.lang.String relatedNetworkPathId) { + this.relatedNetworkPathId = relatedNetworkPathId; + return this; + } + + /** + * Output only. ID of the source MonitoringPoint. + * @return value or {@code null} for none + */ + public java.lang.String getSourceMonitoringPointId() { + return sourceMonitoringPointId; + } + + /** + * Output only. ID of the source MonitoringPoint. + * @param sourceMonitoringPointId sourceMonitoringPointId or {@code null} for none + */ + public WebPath setSourceMonitoringPointId(java.lang.String sourceMonitoringPointId) { + this.sourceMonitoringPointId = sourceMonitoringPointId; + return this; + } + + /** + * Output only. The time the WebPath was updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The time the WebPath was updated. + * @param updateTime updateTime or {@code null} for none + */ + public WebPath setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + /** + * Output only. The workflow type of the WebPath. + * @return value or {@code null} for none + */ + public java.lang.String getWorkflowType() { + return workflowType; + } + + /** + * Output only. The workflow type of the WebPath. + * @param workflowType workflowType or {@code null} for none + */ + public WebPath setWorkflowType(java.lang.String workflowType) { + this.workflowType = workflowType; + return this; + } + + @Override + public WebPath set(String fieldName, Object value) { + return (WebPath) super.set(fieldName, value); + } + + @Override + public WebPath clone() { + return (WebPath) super.clone(); + } + +} diff --git a/clients/google-api-services-networkmanagement/v1/2.0.0/pom.xml b/clients/google-api-services-networkmanagement/v1/2.0.0/pom.xml index 1ee779cc47a..fbc31dc01f0 100644 --- a/clients/google-api-services-networkmanagement/v1/2.0.0/pom.xml +++ b/clients/google-api-services-networkmanagement/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-networkmanagement - v1-rev20260506-2.0.0 - Network Management API v1-rev20260506-2.0.0 + v1-rev20260513-2.0.0 + Network Management API v1-rev20260513-2.0.0 jar 2011 diff --git a/clients/google-api-services-networkmanagement/v1/README.md b/clients/google-api-services-networkmanagement/v1/README.md index b3dc807fa36..0231a5e899a 100644 --- a/clients/google-api-services-networkmanagement/v1/README.md +++ b/clients/google-api-services-networkmanagement/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-networkmanagement - v1-rev20260506-2.0.0 + v1-rev20260513-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-networkmanagement:v1-rev20260506-2.0.0' + implementation 'com.google.apis:google-api-services-networkmanagement:v1-rev20260513-2.0.0' } ``` diff --git a/clients/google-api-services-networkmanagement/v1beta1/2.0.0/README.md b/clients/google-api-services-networkmanagement/v1beta1/2.0.0/README.md index 6812458d13e..efbad7eadb5 100644 --- a/clients/google-api-services-networkmanagement/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-networkmanagement/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-networkmanagement - v1beta1-rev20260506-2.0.0 + v1beta1-rev20260513-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-networkmanagement:v1beta1-rev20260506-2.0.0' + implementation 'com.google.apis:google-api-services-networkmanagement:v1beta1-rev20260513-2.0.0' } ``` diff --git a/clients/google-api-services-networkmanagement/v1beta1/2.0.0/pom.xml b/clients/google-api-services-networkmanagement/v1beta1/2.0.0/pom.xml index 2e4aee8466f..de2d211831e 100644 --- a/clients/google-api-services-networkmanagement/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-networkmanagement/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-networkmanagement - v1beta1-rev20260506-2.0.0 - Network Management API v1beta1-rev20260506-2.0.0 + v1beta1-rev20260513-2.0.0 + Network Management API v1beta1-rev20260513-2.0.0 jar 2011 diff --git a/clients/google-api-services-networkmanagement/v1beta1/README.md b/clients/google-api-services-networkmanagement/v1beta1/README.md index 6812458d13e..efbad7eadb5 100644 --- a/clients/google-api-services-networkmanagement/v1beta1/README.md +++ b/clients/google-api-services-networkmanagement/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-networkmanagement - v1beta1-rev20260506-2.0.0 + v1beta1-rev20260513-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-networkmanagement:v1beta1-rev20260506-2.0.0' + implementation 'com.google.apis:google-api-services-networkmanagement:v1beta1-rev20260513-2.0.0' } ```