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-marketingplatformadmin</artifactId>
<version>v1alpha-rev20260303-2.0.0</version>
<version>v1alpha-rev20260916-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-marketingplatformadmin:v1alpha-rev20260303-2.0.0'
implementation 'com.google.apis:google-api-services-marketingplatformadmin:v1alpha-rev20260916-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
/*
* 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.marketingplatformadmin.v1alpha.model;

/**
* A resource message representing a binding to a set of roles.
*
* <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 Google Marketing Platform Admin 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 AdminAccessBinding extends com.google.api.client.json.GenericJson {

/**
* Identifier. The resource name of this AdminAccessBinding. Format:
* organizations/{org_id}/adminAccessBindings/{admin_access_binding_id} Example:
* "organizations/123abc/adminAccessBindings/456def"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Optional. A list of roles granted to the parent organization. USER_ADMIN_ROLE and
* BILLING_ADMIN_ROLE will be automatically added if ORG_ADMIN_ROLE is assigned. No roles will be
* assigned if no roles are specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> organizationRoles;

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

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

/**
* Identifier. The resource name of this AdminAccessBinding. Format:
* organizations/{org_id}/adminAccessBindings/{admin_access_binding_id} Example:
* "organizations/123abc/adminAccessBindings/456def"
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. The resource name of this AdminAccessBinding. Format:
* organizations/{org_id}/adminAccessBindings/{admin_access_binding_id} Example:
* "organizations/123abc/adminAccessBindings/456def"
* @param name name or {@code null} for none
*/
public AdminAccessBinding setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Optional. A list of roles granted to the parent organization. USER_ADMIN_ROLE and
* BILLING_ADMIN_ROLE will be automatically added if ORG_ADMIN_ROLE is assigned. No roles will be
* assigned if no roles are specified.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getOrganizationRoles() {
return organizationRoles;
}

/**
* Optional. A list of roles granted to the parent organization. USER_ADMIN_ROLE and
* BILLING_ADMIN_ROLE will be automatically added if ORG_ADMIN_ROLE is assigned. No roles will be
* assigned if no roles are specified.
* @param organizationRoles organizationRoles or {@code null} for none
*/
public AdminAccessBinding setOrganizationRoles(java.util.List<java.lang.String> organizationRoles) {
this.organizationRoles = organizationRoles;
return this;
}

/**
* Email address of the user.
* @return value or {@code null} for none
*/
public java.lang.String getUserEmail() {
return userEmail;
}

/**
* Email address of the user.
* @param userEmail userEmail or {@code null} for none
*/
public AdminAccessBinding setUserEmail(java.lang.String userEmail) {
this.userEmail = userEmail;
return this;
}

/**
* Resource name of the user group.
* @return value or {@code null} for none
*/
public java.lang.String getUserGroup() {
return userGroup;
}

/**
* Resource name of the user group.
* @param userGroup userGroup or {@code null} for none
*/
public AdminAccessBinding setUserGroup(java.lang.String userGroup) {
this.userGroup = userGroup;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*
* 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.marketingplatformadmin.v1alpha.model;

/**
* Response message for ListAdminAccessBindings RPC.
*
* <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 Google Marketing Platform Admin 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 ListAdminAccessBindingsResponse extends com.google.api.client.json.GenericJson {

/**
* Admin Access Bindings in the organization.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<AdminAccessBinding> adminAccessBindings;

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

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* Admin Access Bindings in the organization.
* @return value or {@code null} for none
*/
public java.util.List<AdminAccessBinding> getAdminAccessBindings() {
return adminAccessBindings;
}

/**
* Admin Access Bindings in the organization.
* @param adminAccessBindings adminAccessBindings or {@code null} for none
*/
public ListAdminAccessBindingsResponse setAdminAccessBindings(java.util.List<AdminAccessBinding> adminAccessBindings) {
this.adminAccessBindings = adminAccessBindings;
return this;
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListAdminAccessBindingsResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* 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.marketingplatformadmin.v1alpha.model;

/**
* Response message for ListUserGroupMembers RPC.
*
* <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 Google Marketing Platform Admin 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 ListUserGroupMembersResponse extends com.google.api.client.json.GenericJson {

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* User group members in the user group.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<UserGroupMember> userGroupMembers;

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListUserGroupMembersResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

/**
* User group members in the user group.
* @return value or {@code null} for none
*/
public java.util.List<UserGroupMember> getUserGroupMembers() {
return userGroupMembers;
}

/**
* User group members in the user group.
* @param userGroupMembers userGroupMembers or {@code null} for none
*/
public ListUserGroupMembersResponse setUserGroupMembers(java.util.List<UserGroupMember> userGroupMembers) {
this.userGroupMembers = userGroupMembers;
return this;
}

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

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

}
Loading
Loading