Skip to content

Commit

Permalink
Changes for release v14. (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
jradcliff authored Jun 9, 2023
1 parent cd7142d commit 1546413
Show file tree
Hide file tree
Showing 9,351 changed files with 2,371,428 additions and 50,772 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -170,23 +170,33 @@ dependencies {
implementation 'com.google.protobuf:protobuf-java-util'
api 'io.grpc:grpc-stub'
api 'io.grpc:grpc-protobuf'
api 'com.google.auth:google-auth-library-oauth2-http:1.14.0'
api 'com.google.auth:google-auth-library-credentials:1.14.0'
api platform('com.google.cloud:google-cloud-shared-dependencies:3.1.2')
implementation 'com.google.guava:guava:31.1-android'
api 'com.google.auth:google-auth-library-oauth2-http'
api 'com.google.auth:google-auth-library-credentials'
api platform('com.google.cloud:google-cloud-shared-dependencies:3.11.0')
implementation 'com.google.guava:guava'
implementation 'com.google.auto.service:auto-service:1.0.1'
implementation 'javax.annotation:javax.annotation-api'
annotationProcessor 'com.google.auto.service:auto-service:1.0.1'
testImplementation 'junit:junit:4.13.1'
}

// Disables a task unless we're publishing something.
def disableUnlessPublishing(toDisable) {
toDisable.enabled = false
// Disables a task unless we're publishing something and we're not doing
// a fast build.
def disableUnlessPublishing(taskToDisable) {
// Disables the task.
taskToDisable.enabled = false

// Leaves the task disabled if the 'fastbuild' property was set.
if (project.properties.containsKey('fastbuild')) {
logger.warn('Skipping {} because "fastbuild" property is set', taskToDisable)
return
}
// Once the task graph is ready, checks if it contains publishing tasks. If it
// does, rolls back the change above and re-enables `taskToDisable`.
gradle.taskGraph.whenReady {
gradle.taskGraph.allTasks
.findAll { it.group == "publishing" }
.any { toDisable.enabled = true }
.any { taskToDisable.enabled = true }
}
}
disableUnlessPublishing(tasks.javadocJar)
Expand Down
2 changes: 1 addition & 1 deletion google-ads-codegen/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
api project(":google-ads-stubs-lib")
implementation 'org.slf4j:slf4j-api:1.7.25'
implementation 'com.squareup:javapoet:1.11.1'
testImplementation 'com.google.api:gax-grpc:2.22.0:testlib'
testImplementation 'com.google.api:gax-grpc::testlib'
testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0'
testImplementation 'org.mockito:mockito-all:1.9.5'
// Finds all the stubs modules and adds these as dependencies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.lib.utils.FieldMasks;
import com.google.ads.googleads.v13.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.MerchantCenterLink;
import com.google.ads.googleads.v13.services.ListMerchantCenterLinksRequest;
import com.google.ads.googleads.v13.services.ListMerchantCenterLinksResponse;
import com.google.ads.googleads.v13.services.MerchantCenterLinkOperation;
import com.google.ads.googleads.v13.services.MerchantCenterLinkServiceClient;
import com.google.ads.googleads.v13.services.MutateMerchantCenterLinkResponse;
import com.google.ads.googleads.v13.services.MutateMerchantCenterLinkResult;
import com.google.ads.googleads.v14.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.MerchantCenterLink;
import com.google.ads.googleads.v14.services.ListMerchantCenterLinksRequest;
import com.google.ads.googleads.v14.services.ListMerchantCenterLinksResponse;
import com.google.ads.googleads.v14.services.MerchantCenterLinkOperation;
import com.google.ads.googleads.v14.services.MerchantCenterLinkServiceClient;
import com.google.ads.googleads.v14.services.MutateMerchantCenterLinkResponse;
import com.google.ads.googleads.v14.services.MutateMerchantCenterLinkResult;
import java.io.FileNotFoundException;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.Customer;
import com.google.ads.googleads.v13.services.CreateCustomerClientResponse;
import com.google.ads.googleads.v13.services.CustomerServiceClient;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.Customer;
import com.google.ads.googleads.v14.services.CreateCustomerClientResponse;
import com.google.ads.googleads.v14.services.CustomerServiceClient;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.time.ZonedDateTime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.CustomerClient;
import com.google.ads.googleads.v13.resources.CustomerName;
import com.google.ads.googleads.v13.services.CustomerServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v13.services.ListAccessibleCustomersRequest;
import com.google.ads.googleads.v13.services.ListAccessibleCustomersResponse;
import com.google.ads.googleads.v13.services.SearchGoogleAdsRequest;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.CustomerClient;
import com.google.ads.googleads.v14.resources.CustomerName;
import com.google.ads.googleads.v14.services.CustomerServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.services.ListAccessibleCustomersRequest;
import com.google.ads.googleads.v14.services.ListAccessibleCustomersResponse;
import com.google.ads.googleads.v14.services.SearchGoogleAdsRequest;
import com.google.common.base.Strings;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Multimap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.Customer;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.Customer;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import java.io.FileNotFoundException;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.lib.utils.FieldMasks;
import com.google.ads.googleads.v13.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType;
import com.google.ads.googleads.v13.enums.ResourceChangeOperationEnum.ResourceChangeOperation;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.ChangeEvent;
import com.google.ads.googleads.v13.resources.ChangeEvent.ChangedResource;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType;
import com.google.ads.googleads.v14.enums.ResourceChangeOperationEnum.ResourceChangeOperation;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.ChangeEvent;
import com.google.ads.googleads.v14.resources.ChangeEvent.ChangedResource;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.protobuf.Message;
import java.io.FileNotFoundException;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.ChangeStatus;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.ChangeStatus;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import java.io.FileNotFoundException;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.CustomerUserAccessInvitation;
import com.google.ads.googleads.v13.services.CustomerUserAccessInvitationOperation;
import com.google.ads.googleads.v13.services.CustomerUserAccessInvitationServiceClient;
import com.google.ads.googleads.v13.services.MutateCustomerUserAccessInvitationResponse;
import com.google.ads.googleads.v14.enums.AccessRoleEnum.AccessRole;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.CustomerUserAccessInvitation;
import com.google.ads.googleads.v14.services.CustomerUserAccessInvitationOperation;
import com.google.ads.googleads.v14.services.CustomerUserAccessInvitationServiceClient;
import com.google.ads.googleads.v14.services.MutateCustomerUserAccessInvitationResponse;
import java.io.FileNotFoundException;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.lib.utils.FieldMasks;
import com.google.ads.googleads.v13.enums.ManagerLinkStatusEnum.ManagerLinkStatus;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.services.CustomerClientLinkOperation;
import com.google.ads.googleads.v13.services.CustomerClientLinkServiceClient;
import com.google.ads.googleads.v13.services.CustomerManagerLinkOperation;
import com.google.ads.googleads.v13.services.CustomerManagerLinkServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v13.services.MutateCustomerClientLinkResponse;
import com.google.ads.googleads.v13.services.MutateCustomerManagerLinkResponse;
import com.google.ads.googleads.v13.utils.ResourceNames;
import com.google.ads.googleads.v14.enums.ManagerLinkStatusEnum.ManagerLinkStatus;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.services.CustomerClientLinkOperation;
import com.google.ads.googleads.v14.services.CustomerClientLinkServiceClient;
import com.google.ads.googleads.v14.services.CustomerManagerLinkOperation;
import com.google.ads.googleads.v14.services.CustomerManagerLinkServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.services.MutateCustomerClientLinkResponse;
import com.google.ads.googleads.v14.services.MutateCustomerManagerLinkResponse;
import com.google.ads.googleads.v14.utils.ResourceNames;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
package com.google.ads.googleads.examples.accountmanagement;

import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.services.CustomerServiceClient;
import com.google.ads.googleads.v13.services.ListAccessibleCustomersRequest;
import com.google.ads.googleads.v13.services.ListAccessibleCustomersResponse;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.services.CustomerServiceClient;
import com.google.ads.googleads.v14.services.ListAccessibleCustomersRequest;
import com.google.ads.googleads.v14.services.ListAccessibleCustomersResponse;
import java.io.FileNotFoundException;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.MerchantCenterLink;
import com.google.ads.googleads.v13.services.ListMerchantCenterLinksRequest;
import com.google.ads.googleads.v13.services.ListMerchantCenterLinksResponse;
import com.google.ads.googleads.v13.services.MerchantCenterLinkOperation;
import com.google.ads.googleads.v13.services.MerchantCenterLinkServiceClient;
import com.google.ads.googleads.v13.services.MutateMerchantCenterLinkResponse;
import com.google.ads.googleads.v13.services.MutateMerchantCenterLinkResult;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.MerchantCenterLink;
import com.google.ads.googleads.v14.services.ListMerchantCenterLinksRequest;
import com.google.ads.googleads.v14.services.ListMerchantCenterLinksResponse;
import com.google.ads.googleads.v14.services.MerchantCenterLinkOperation;
import com.google.ads.googleads.v14.services.MerchantCenterLinkServiceClient;
import com.google.ads.googleads.v14.services.MutateMerchantCenterLinkResponse;
import com.google.ads.googleads.v14.services.MutateMerchantCenterLinkResult;
import java.io.FileNotFoundException;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import com.google.ads.googleads.lib.utils.FieldMasks;
import com.google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole;
import com.google.ads.googleads.v13.errors.GoogleAdsError;
import com.google.ads.googleads.v13.errors.GoogleAdsException;
import com.google.ads.googleads.v13.resources.CustomerUserAccess;
import com.google.ads.googleads.v13.services.CustomerUserAccessOperation;
import com.google.ads.googleads.v13.services.CustomerUserAccessServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsRow;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v13.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v13.services.MutateCustomerUserAccessResponse;
import com.google.ads.googleads.v13.utils.ResourceNames;
import com.google.ads.googleads.v14.enums.AccessRoleEnum.AccessRole;
import com.google.ads.googleads.v14.errors.GoogleAdsError;
import com.google.ads.googleads.v14.errors.GoogleAdsException;
import com.google.ads.googleads.v14.resources.CustomerUserAccess;
import com.google.ads.googleads.v14.services.CustomerUserAccessOperation;
import com.google.ads.googleads.v14.services.CustomerUserAccessServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsRow;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient;
import com.google.ads.googleads.v14.services.GoogleAdsServiceClient.SearchPagedResponse;
import com.google.ads.googleads.v14.services.MutateCustomerUserAccessResponse;
import com.google.ads.googleads.v14.utils.ResourceNames;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Iterator;
Expand Down
Loading

0 comments on commit 1546413

Please sign in to comment.