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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIGatewayViewFull;
@interface GTLRAPIGatewayQuery_ProjectsLocationsList : GTLRAPIGatewayQuery

/**
* Optional. Do not use this field. It is unsupported and is ignored unless
* explicitly documented otherwise. This is primarily for internal usage.
* Optional. Unless explicitly documented otherwise, don't use this unsupported
* field which is primarily intended for internal usage.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *extraLocationTypes;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,12 @@ + (NSString *)collectionItemsKey {
//

@implementation GTLRAPIManagement_ListOperationsResponse
@dynamic nextPageToken, operations;
@dynamic nextPageToken, operations, unreachable;

+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
NSDictionary<NSString *, Class> *map = @{
@"operations" : [GTLRAPIManagement_Operation class]
@"operations" : [GTLRAPIManagement_Operation class],
@"unreachable" : [NSString class]
};
return map;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ + (instancetype)queryWithName:(NSString *)name {

@implementation GTLRAPIManagementQuery_ProjectsLocationsOperationsList

@dynamic filter, name, pageSize, pageToken;
@dynamic filter, name, pageSize, pageToken, returnPartialSuccess;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIManagement_TagAction_Action_Remove;
*/
@property(nonatomic, strong, nullable) NSArray<GTLRAPIManagement_Operation *> *operations;

/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across collections
* e.g. when attempting to list all resources across all supported locations.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *unreachable;

@end


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface GTLRAPIManagementQuery_ProjectsLocationsList : GTLRAPIManagementQuery

/**
* Optional. Do not use this field. It is unsupported and is ignored unless
* explicitly documented otherwise. This is primarily for internal usage.
* Optional. Unless explicitly documented otherwise, don't use this unsupported
* field which is primarily intended for internal usage.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *extraLocationTypes;

Expand Down Expand Up @@ -933,6 +933,17 @@ NS_ASSUME_NONNULL_BEGIN
/** The standard list page token. */
@property(nonatomic, copy, nullable) NSString *pageToken;

/**
* When set to `true`, operations that are reachable are returned as normal,
* and those that are unreachable are returned in the
* [ListOperationsResponse.unreachable] field. This can only be `true` when
* reading across collections e.g. when `parent` is set to
* `"projects/example/locations/-"`. This field is not by default supported and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
*/
@property(nonatomic, assign) BOOL returnPartialSuccess;

/**
* Fetches a @c GTLRAPIManagement_ListOperationsResponse.
*
Expand Down
31 changes: 31 additions & 0 deletions Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,18 @@
NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateSuccess = @"LINT_STATE_SUCCESS";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateUnspecified = @"LINT_STATE_UNSPECIFIED";

// GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.action
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_ActionUnspecified = @"ACTION_UNSPECIFIED";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_Delete = @"DELETE";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_Upload = @"UPLOAD";

// GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.dataType
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_EnvironmentManifest = @"ENVIRONMENT_MANIFEST";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_ProxyBundle = @"PROXY_BUNDLE";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_ProxyDeploymentManifest = @"PROXY_DEPLOYMENT_MANIFEST";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_SharedFlowBundle = @"SHARED_FLOW_BUNDLE";

// GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails.format
NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_FormatUnspecified = @"FORMAT_UNSPECIFIED";
NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec20 = @"OPEN_API_SPEC_2_0";
Expand Down Expand Up @@ -1550,6 +1562,25 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResp
@end


// ----------------------------------------------------------------------------
//
// GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
//

@implementation GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest
@dynamic action, data, dataType, relativePath;
@end


// ----------------------------------------------------------------------------
//
// GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
//

@implementation GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse
@end


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

@end

@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesManageSourceData

@dynamic name;

+ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest *)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}:manageSourceData";
GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesManageSourceData *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:@"POST"
pathParameterNames:pathParams];
query.bodyObject = object;
query.name = name;
query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse class];
query.loggingName = @"apihub.projects.locations.plugins.instances.manageSourceData";
return query;
}

@end

@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch

@dynamic name, updateMask;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,62 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_S
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateUnspecified;

// ----------------------------------------------------------------------------
// GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.action

/**
* Default unspecified action.
*
* Value: "ACTION_UNSPECIFIED"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_ActionUnspecified;
/**
* Delete data.
*
* Value: "DELETE"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_Delete;
/**
* Upload or upsert data.
*
* Value: "UPLOAD"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_Upload;

// ----------------------------------------------------------------------------
// GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest.dataType

/**
* Default unspecified type.
*
* Value: "DATA_TYPE_UNSPECIFIED"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_DataTypeUnspecified;
/**
* Environment manifest.
*
* Value: "ENVIRONMENT_MANIFEST"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_EnvironmentManifest;
/**
* Proxy bundle.
*
* Value: "PROXY_BUNDLE"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_ProxyBundle;
/**
* Proxy deployment manifest.
*
* Value: "PROXY_DEPLOYMENT_MANIFEST"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_ProxyDeploymentManifest;
/**
* Shared flow bundle.
*
* Value: "SHARED_FLOW_BUNDLE"
*/
FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_SharedFlowBundle;

// ----------------------------------------------------------------------------
// GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails.format

Expand Down Expand Up @@ -4136,6 +4192,64 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
@end


/**
* The ManagePluginInstanceSourceData method's request.
*/
@interface GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest : GTLRObject

/**
* Required. Action to be performed.
*
* Likely values:
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_ActionUnspecified
* Default unspecified action. (Value: "ACTION_UNSPECIFIED")
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_Delete
* Delete data. (Value: "DELETE")
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_Action_Upload
* Upload or upsert data. (Value: "UPLOAD")
*/
@property(nonatomic, copy, nullable) NSString *action;

/**
* Required. Data to be managed.
*
* Contains encoded binary data; GTLRBase64 can encode/decode (probably
* web-safe format).
*/
@property(nonatomic, copy, nullable) NSString *data;

/**
* Required. Type of data to be managed.
*
* Likely values:
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_DataTypeUnspecified
* Default unspecified type. (Value: "DATA_TYPE_UNSPECIFIED")
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_EnvironmentManifest
* Environment manifest. (Value: "ENVIRONMENT_MANIFEST")
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_ProxyBundle
* Proxy bundle. (Value: "PROXY_BUNDLE")
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_ProxyDeploymentManifest
* Proxy deployment manifest. (Value: "PROXY_DEPLOYMENT_MANIFEST")
* @arg @c kGTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest_DataType_SharedFlowBundle
* Shared flow bundle. (Value: "SHARED_FLOW_BUNDLE")
*/
@property(nonatomic, copy, nullable) NSString *dataType;

/**
* Required. Relative path of data being managed for a given plugin instance.
*/
@property(nonatomic, copy, nullable) NSString *relativePath;

@end


/**
* The ManagePluginInstanceSourceData method's response.
*/
@interface GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse : GTLRObject
@end


/**
* MatchResult represents the result of matching a discovered API operation
* with a catalog API operation.
Expand Down Expand Up @@ -4390,7 +4504,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S
*/
@interface GTLRAPIhub_GoogleCloudApihubV1Plugin : GTLRObject

/** Required. The configuration of actions supported by the plugin. */
/**
* Optional. The configuration of actions supported by the plugin.
* **REQUIRED**: This field must be provided when creating or updating a
* Plugin. The server will reject requests if this field is missing.
*/
@property(nonatomic, strong, nullable) NSArray<GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig *> *actionsConfig;

/** Optional. The configuration template for the plugin. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ NS_ASSUME_NONNULL_BEGIN
@end

/**
* Deletes the API hub instance.
* Deletes the API hub instance. Deleting the API hub instance will also result
* in the removal of all associated runtime project attachments and the host
* project registration.
*
* Method: apihub.projects.locations.apiHubInstances.delete
*
Expand All @@ -91,7 +93,9 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Fetches a @c GTLRAPIhub_GoogleLongrunningOperation.
*
* Deletes the API hub instance.
* Deletes the API hub instance. Deleting the API hub instance will also result
* in the removal of all associated runtime project attachments and the host
* project registration.
*
* @param name Required. The name of the Api Hub instance to delete. Format:
* `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`.
Expand Down Expand Up @@ -3026,8 +3030,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface GTLRAPIhubQuery_ProjectsLocationsList : GTLRAPIhubQuery

/**
* Optional. Do not use this field. It is unsupported and is ignored unless
* explicitly documented otherwise. This is primarily for internal usage.
* Optional. Unless explicitly documented otherwise, don't use this unsupported
* field which is primarily intended for internal usage.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *extraLocationTypes;

Expand Down Expand Up @@ -3743,6 +3747,43 @@ NS_ASSUME_NONNULL_BEGIN

@end

/**
* Manages data for a given plugin instance.
*
* Method: apihub.projects.locations.plugins.instances.manageSourceData
*
* Authorization scope(s):
* @c kGTLRAuthScopeAPIhubCloudPlatform
*/
@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesManageSourceData : GTLRAPIhubQuery

/**
* Required. The name of the plugin instance for which data needs to be
* managed. Format:
* `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
*/
@property(nonatomic, copy, nullable) NSString *name;

/**
* Fetches a @c
* GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataResponse.
*
* Manages data for a given plugin instance.
*
* @param object The @c
* GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest to
* include in the query.
* @param name Required. The name of the plugin instance for which data needs
* to be managed. Format:
* `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
*
* @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesManageSourceData
*/
+ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest *)object
name:(NSString *)name;

@end

/**
* Updates a plugin instance in the API hub. The following fields in the
* plugin_instance can be updated currently: * display_name *
Expand Down
Loading