Skip to content

Commit

Permalink
Generate current service sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Nov 20, 2023
1 parent e41f525 commit 8abe69c
Show file tree
Hide file tree
Showing 247 changed files with 43,109 additions and 6,628 deletions.
10 changes: 10 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/BigQueryConnectionService/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/BigQueryConnectionService/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'BigQueryDataPolicyService' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/BigQueryDataPolicyService/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/BigQueryDataPolicyService/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'BigQueryDataTransfer' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/BigQueryDataTransfer/**/*.{h,m}'
Expand Down Expand Up @@ -924,6 +929,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/Logging/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'Looker' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/Looker/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'ManagedServiceforMicrosoftActiveDirectoryConsumerAPI' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/**/*.{h,m}'
Expand Down
20 changes: 20 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ let package = Package(
name: "GoogleAPIClientForREST_BigQueryConnectionService",
targets: ["GoogleAPIClientForREST_BigQueryConnectionService"]
),
.library(
name: "GoogleAPIClientForREST_BigQueryDataPolicyService",
targets: ["GoogleAPIClientForREST_BigQueryDataPolicyService"]
),
.library(
name: "GoogleAPIClientForREST_BigQueryDataTransfer",
targets: ["GoogleAPIClientForREST_BigQueryDataTransfer"]
Expand Down Expand Up @@ -717,6 +721,10 @@ let package = Package(
name: "GoogleAPIClientForREST_Logging",
targets: ["GoogleAPIClientForREST_Logging"]
),
.library(
name: "GoogleAPIClientForREST_Looker",
targets: ["GoogleAPIClientForREST_Looker"]
),
.library(
name: "GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI",
targets: ["GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI"]
Expand Down Expand Up @@ -1350,6 +1358,12 @@ let package = Package(
path: "Sources/GeneratedServices/BigQueryConnectionService",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_BigQueryDataPolicyService",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/BigQueryDataPolicyService",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_BigQueryDataTransfer",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down Expand Up @@ -2172,6 +2186,12 @@ let package = Package(
path: "Sources/GeneratedServices/Logging",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_Looker",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/Looker",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_ManagedServiceforMicrosoftActiveDirectoryConsumerAPI",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,24 @@ @implementation GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse
@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_Config
//

@implementation GTLRAIPlatformNotebooks_Config
@dynamic availableImages, defaultValues, supportedValues;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"availableImages" : [GTLRAIPlatformNotebooks_ImageRelease class]
};
return map;
}

@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_ContainerImage
Expand All @@ -171,6 +189,16 @@ @implementation GTLRAIPlatformNotebooks_DataDisk
@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_DefaultValues
//

@implementation GTLRAIPlatformNotebooks_DefaultValues
@dynamic machineType;
@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_DiagnoseInstanceRequest
Expand Down Expand Up @@ -289,6 +317,16 @@ @implementation GTLRAIPlatformNotebooks_GPUDriverConfig
@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_ImageRelease
//

@implementation GTLRAIPlatformNotebooks_ImageRelease
@dynamic imageName, releaseName;
@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_Instance
Expand Down Expand Up @@ -645,6 +683,25 @@ @implementation GTLRAIPlatformNotebooks_StopInstanceRequest
@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_SupportedValues
//

@implementation GTLRAIPlatformNotebooks_SupportedValues
@dynamic acceleratorTypes, machineTypes;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"acceleratorTypes" : [NSString class],
@"machineTypes" : [NSString class]
};
return map;
}

@end


// ----------------------------------------------------------------------------
//
// GTLRAIPlatformNotebooks_TestIamPermissionsRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,25 @@ + (instancetype)queryWithName:(NSString *)name {

@end

@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig

@dynamic name;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v2/{+name}/instances:getConfig";
GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:nil
pathParameterNames:pathParams];
query.name = name;
query.expectedObjectClass = [GTLRAIPlatformNotebooks_Config class];
query.loggingName = @"notebooks.projects.locations.instances.getConfig";
return query;
}

@end

@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetIamPolicy

@dynamic optionsRequestedPolicyVersion, resource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
@class GTLRAIPlatformNotebooks_BootDisk;
@class GTLRAIPlatformNotebooks_ContainerImage;
@class GTLRAIPlatformNotebooks_DataDisk;
@class GTLRAIPlatformNotebooks_DefaultValues;
@class GTLRAIPlatformNotebooks_DiagnosticConfig;
@class GTLRAIPlatformNotebooks_Event;
@class GTLRAIPlatformNotebooks_Event_Details;
@class GTLRAIPlatformNotebooks_Expr;
@class GTLRAIPlatformNotebooks_GceSetup;
@class GTLRAIPlatformNotebooks_GceSetup_Metadata;
@class GTLRAIPlatformNotebooks_GPUDriverConfig;
@class GTLRAIPlatformNotebooks_ImageRelease;
@class GTLRAIPlatformNotebooks_Instance;
@class GTLRAIPlatformNotebooks_Instance_HealthInfo;
@class GTLRAIPlatformNotebooks_Instance_Labels;
Expand All @@ -41,6 +43,7 @@
@class GTLRAIPlatformNotebooks_ShieldedInstanceConfig;
@class GTLRAIPlatformNotebooks_Status;
@class GTLRAIPlatformNotebooks_Status_Details_Item;
@class GTLRAIPlatformNotebooks_SupportedValues;
@class GTLRAIPlatformNotebooks_UpgradeHistoryEntry;
@class GTLRAIPlatformNotebooks_VmImage;

Expand Down Expand Up @@ -674,6 +677,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
@end


/**
* Response for getting WbI configurations in a location
*/
@interface GTLRAIPlatformNotebooks_Config : GTLRObject

/** Output only. The list of available images to create a WbI. */
@property(nonatomic, strong, nullable) NSArray<GTLRAIPlatformNotebooks_ImageRelease *> *availableImages;

/** Output only. The default values for configuration. */
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_DefaultValues *defaultValues;

/** Output only. The supported values for configuration. */
@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_SupportedValues *supportedValues;

@end


/**
* Definition of a container image for starting a notebook instance with the
* environment installed in a container.
Expand Down Expand Up @@ -751,6 +771,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
@end


/**
* DefaultValues represents the default configuration values.
*/
@interface GTLRAIPlatformNotebooks_DefaultValues : GTLRObject

/**
* Output only. The default machine type used by the backend if not provided by
* the user.
*/
@property(nonatomic, copy, nullable) NSString *machineType;

@end


/**
* Request for creating a notebook instance diagnostic file.
*/
Expand Down Expand Up @@ -1047,6 +1081,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
@end


/**
* ConfigImage represents an image release available to create a WbI
*/
@interface GTLRAIPlatformNotebooks_ImageRelease : GTLRObject

/**
* Output only. The name of the image of the form
* workbench-instances-vYYYYmmdd--
*/
@property(nonatomic, copy, nullable) NSString *imageName;

/** Output only. The release of the image of the form m123 */
@property(nonatomic, copy, nullable) NSString *releaseName;

@end


/**
* The definition of a notebook instance.
*/
Expand Down Expand Up @@ -1756,6 +1807,20 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_
@end


/**
* SupportedValues represents the values supported by the configuration.
*/
@interface GTLRAIPlatformNotebooks_SupportedValues : GTLRObject

/** Output only. The accelerator types supported by WbI. */
@property(nonatomic, strong, nullable) NSArray<NSString *> *acceleratorTypes;

/** Output only. The machine types supported by WbI. */
@property(nonatomic, strong, nullable) NSArray<NSString *> *machineTypes;

@end


/**
* Request message for `TestIamPermissions` method.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,38 @@ NS_ASSUME_NONNULL_BEGIN

@end

/**
* Gets general backend configurations that might also affect the frontend.
* Location is required by CCFE. Although we could bypass it to send location-
* less request directly to the backend job, we would need CPE (go/cloud-cpe).
* Having the location might also be useful depending on the query.
*
* Method: notebooks.projects.locations.instances.getConfig
*
* Authorization scope(s):
* @c kGTLRAuthScopeAIPlatformNotebooksCloudPlatform
*/
@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig : GTLRAIPlatformNotebooksQuery

/** Required. Format: `projects/{project_id}/locations/{location}` */
@property(nonatomic, copy, nullable) NSString *name;

/**
* Fetches a @c GTLRAIPlatformNotebooks_Config.
*
* Gets general backend configurations that might also affect the frontend.
* Location is required by CCFE. Although we could bypass it to send location-
* less request directly to the backend job, we would need CPE (go/cloud-cpe).
* Having the location might also be useful depending on the query.
*
* @param name Required. Format: `projects/{project_id}/locations/{location}`
*
* @return GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGetConfig
*/
+ (instancetype)queryWithName:(NSString *)name;

@end

/**
* Gets the access control policy for a resource. Returns an empty policy if
* the resource exists and does not have a policy set.
Expand Down
Loading

0 comments on commit 8abe69c

Please sign in to comment.