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
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-threatintelligence</artifactId>
<version>v1beta-rev20261025-2.9.2</version>
<version>v1beta-rev20261102-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20261025-2.9.2'
implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20261102-2.9.2'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.threatintelligence.v1beta.model;

/**
* Brand information for the customer profile.
*
* <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 Threat Intelligence 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 CustomerProfileBrand extends com.google.api.client.json.GenericJson {

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

/**
* Optional. The citation ids for the brand.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> citationIds;

/**
* Optional. The unique identifier for the brand.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;

/**
* Required. The name of the brand.
* @return value or {@code null} for none
*/
public java.lang.String getBrand() {
return brand;
}

/**
* Required. The name of the brand.
* @param brand brand or {@code null} for none
*/
public CustomerProfileBrand setBrand(java.lang.String brand) {
this.brand = brand;
return this;
}

/**
* Optional. The citation ids for the brand.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getCitationIds() {
return citationIds;
}

/**
* Optional. The citation ids for the brand.
* @param citationIds citationIds or {@code null} for none
*/
public CustomerProfileBrand setCitationIds(java.util.List<java.lang.String> citationIds) {
this.citationIds = citationIds;
return this;
}

/**
* Optional. The unique identifier for the brand.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}

/**
* Optional. The unique identifier for the brand.
* @param id id or {@code null} for none
*/
public CustomerProfileBrand setId(java.lang.String id) {
this.id = id;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@
@SuppressWarnings("javadoc")
public final class CustomerProfileConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. Brands associated with the organization.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<CustomerProfileBrand> brands;

static {
// hack to force ProGuard to consider CustomerProfileBrand 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(CustomerProfileBrand.class);
}

/**
* Optional. Citations for the organization profile.
* The value may be {@code null}.
Expand Down Expand Up @@ -140,6 +153,23 @@ public final class CustomerProfileConfig extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private java.util.List<CustomerProfileWebPresence> webPresences;

/**
* Optional. Brands associated with the organization.
* @return value or {@code null} for none
*/
public java.util.List<CustomerProfileBrand> getBrands() {
return brands;
}

/**
* Optional. Brands associated with the organization.
* @param brands brands or {@code null} for none
*/
public CustomerProfileConfig setBrands(java.util.List<CustomerProfileBrand> brands) {
this.brands = brands;
return this;
}

/**
* Optional. Citations for the organization profile.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-threatintelligence</artifactId>
<version>v1beta-rev20261025-2.9.2</version>
<name>Threat Intelligence API v1beta-rev20261025-2.9.2</name>
<version>v1beta-rev20261102-2.9.2</version>
<name>Threat Intelligence API v1beta-rev20261102-2.9.2</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
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-threatintelligence</artifactId>
<version>v1beta-rev20261025-2.9.2</version>
<version>v1beta-rev20261102-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20261025-2.9.2'
implementation 'com.google.apis:google-api-services-threatintelligence:v1beta-rev20261102-2.9.2'
}
```

Expand Down
Loading