Skip to content

Commit

Permalink
Generate current service sources from discovery.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Jun 3, 2024
1 parent d46fb27 commit 1f725bd
Show file tree
Hide file tree
Showing 210 changed files with 22,246 additions and 3,654 deletions.
5 changes: 5 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/DeploymentManager/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/DeploymentManager/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'DeveloperConnect' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/DeveloperConnect/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Dfareporting' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Dfareporting/**/*.{h,m}'
Expand Down
10 changes: 10 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,10 @@ let package = Package(
name: "GoogleAPIClientForREST_DeploymentManager",
targets: ["GoogleAPIClientForREST_DeploymentManager"]
),
.library(
name: "GoogleAPIClientForREST_DeveloperConnect",
targets: ["GoogleAPIClientForREST_DeveloperConnect"]
),
.library(
name: "GoogleAPIClientForREST_Dfareporting",
targets: ["GoogleAPIClientForREST_Dfareporting"]
Expand Down Expand Up @@ -1909,6 +1913,12 @@ let package = Package(
path: "Sources/GeneratedServices/DeploymentManager",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_DeveloperConnect",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/DeveloperConnect",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Dfareporting",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdMob_ReportWarning_Type_TypeUnspecified


/**
* Request to generate an AdMob mediation report.
* Request to generate an AdMob Mediation report.
*/
@interface GTLRAdMob_GenerateMediationReportRequest : GTLRObject

Expand All @@ -1329,7 +1329,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdMob_ReportWarning_Type_TypeUnspecified


/**
* The streaming response for the AdMob mediation report where the first
* The streaming response for the AdMob Mediation report where the first
* response contains the report header, then a stream of row responses, and
* finally a footer as the last response message. For example: [{ "header": {
* "date_range": { "start_date": {"year": 2018, "month": 9, "day": 1},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ NS_ASSUME_NONNULL_BEGIN
@end

/**
* Generates an AdMob mediation report based on the provided report
* Generates an AdMob Mediation report based on the provided report
* specification. Returns result of a server-side streaming RPC. The result is
* returned in a sequence of responses.
*
Expand All @@ -223,7 +223,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Fetches a @c GTLRAdMob_GenerateMediationReportResponse.
*
* Generates an AdMob mediation report based on the provided report
* Generates an AdMob Mediation report based on the provided report
* specification. Returns result of a server-side streaming RPC. The result is
* returned in a sequence of responses.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon
@end

/**
* Lists all the policy issues for the specified account.
* Lists all the policy issues where the specified account is involved, both
* directly and through any AFP child accounts.
*
* Method: adsense.accounts.policyIssues.list
*
Expand Down Expand Up @@ -1704,7 +1705,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon
/**
* Fetches a @c GTLRAdsense_ListPolicyIssuesResponse.
*
* Lists all the policy issues for the specified account.
* Lists all the policy issues where the specified account is involved, both
* directly and through any AFP child accounts.
*
* @param parent Required. The account for which policy issues are being
* retrieved. Format: accounts/{account}
Expand Down
406 changes: 299 additions & 107 deletions Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m
Original file line number Diff line number Diff line change
Expand Up @@ -7559,6 +7559,33 @@ + (instancetype)queryWithParent:(NSString *)parent {

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesPatch

@dynamic name, updateMask;

+ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate *)object
name:(NSString *)name {
if (object == nil) {
#if defined(DEBUG) && DEBUG
NSAssert(object != nil, @"Got a nil object");
#endif
return nil;
}
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1/{+name}";
GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesPatch *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"PATCH"
pathParameterNames:pathParams];
query.bodyObject = object;
query.name = name;
query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplate class];
query.loggingName = @"aiplatform.projects.locations.notebookRuntimeTemplates.patch";
return query;
}

@end

@implementation GTLRAiplatformQuery_ProjectsLocationsNotebookRuntimeTemplatesSetIamPolicy

@dynamic resource;
Expand Down
Loading

0 comments on commit 1f725bd

Please sign in to comment.