Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-monitoring/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-monitoring</artifactId>
<version>v1-rev20260604-2.0.0</version>
<version>v1-rev20260611-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260604-2.0.0'
implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260611-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* 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.monitoring.v1.model;

/**
* Span attribute key and list of values to be used for filtering.
*
* <p> 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 Cloud Monitoring API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class SpanAttributeFilter extends com.google.api.client.json.GenericJson {

/**
* Key of the attribute
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String key;

/**
* List of attribute values for given key. Multiple values will be OR'd together.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> value;

/**
* Key of the attribute
* @return value or {@code null} for none
*/
public java.lang.String getKey() {
return key;
}

/**
* Key of the attribute
* @param key key or {@code null} for none
*/
public SpanAttributeFilter setKey(java.lang.String key) {
this.key = key;
return this;
}

/**
* List of attribute values for given key. Multiple values will be OR'd together.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getValue() {
return value;
}

/**
* List of attribute values for given key. Multiple values will be OR'd together.
* @param value value or {@code null} for none
*/
public SpanAttributeFilter setValue(java.util.List<java.lang.String> value) {
this.value = value;
return this;
}

@Override
public SpanAttributeFilter set(String fieldName, Object value) {
return (SpanAttributeFilter) super.set(fieldName, value);
}

@Override
public SpanAttributeFilter clone() {
return (SpanAttributeFilter) super.clone();
}

}
Loading
Loading