Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions GoogleAPIClientForREST.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,11 @@ Pod::Spec.new do |s|
sp.source_files = 'Sources/GeneratedServices/SecretManager/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'SecureSourceManager' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/SecureSourceManager/**/*.{h,m}'
sp.public_header_files = 'Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/*.h'
end
s.subspec 'SecurityCommandCenter' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Sources/GeneratedServices/SecurityCommandCenter/**/*.{h,m}'
Expand Down
10 changes: 10 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,10 @@ let package = Package(
name: "GoogleAPIClientForREST_SecretManager",
targets: ["GoogleAPIClientForREST_SecretManager"]
),
.library(
name: "GoogleAPIClientForREST_SecureSourceManager",
targets: ["GoogleAPIClientForREST_SecureSourceManager"]
),
.library(
name: "GoogleAPIClientForREST_SecurityCommandCenter",
targets: ["GoogleAPIClientForREST_SecurityCommandCenter"]
Expand Down Expand Up @@ -2771,6 +2775,12 @@ let package = Package(
path: "Sources/GeneratedServices/SecretManager",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_SecureSourceManager",
dependencies: ["GoogleAPIClientForRESTCore"],
path: "Sources/GeneratedServices/SecureSourceManager",
publicHeadersPath: "Public"
),
.target(
name: "GoogleAPIClientForREST_SecurityCommandCenter",
dependencies: ["GoogleAPIClientForRESTCore"],
Expand Down
11 changes: 11 additions & 0 deletions Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,17 @@ @implementation GTLRAPIManagement_EnableObservationJobRequest
@end


// ----------------------------------------------------------------------------
//
// GTLRAPIManagement_Entitlement
//

@implementation GTLRAPIManagement_Entitlement
@dynamic apiObservationEntitled, billingProjectNumber, createTime, name,
updateTime;
@end


// ----------------------------------------------------------------------------
//
// GTLRAPIManagement_GclbObservationSource
Expand Down
19 changes: 19 additions & 0 deletions Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,25 @@ + (instancetype)queryWithName:(NSString *)name {

@end

@implementation GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement

@dynamic name;

+ (instancetype)queryWithName:(NSString *)name {
NSArray *pathParams = @[ @"name" ];
NSString *pathURITemplate = @"v1alpha/{+name}";
GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement *query =
[[self alloc] initWithPathURITemplate:pathURITemplate
HTTPMethod:nil
pathParameterNames:pathParams];
query.name = name;
query.expectedObjectClass = [GTLRAPIManagement_Entitlement class];
query.loggingName = @"apim.projects.locations.getEntitlement";
return query;
}

@end

@implementation GTLRAPIManagementQuery_ProjectsLocationsList

@dynamic extraLocationTypes, filter, name, pageSize, pageToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIManagement_TagAction_Action_Remove;
@end


/**
* Entitlement stores data related to API Observation entitlement for a given
* project
*/
@interface GTLRAPIManagement_Entitlement : GTLRObject

/**
* Whether API Observation is entitled.
*
* Uses NSNumber of boolValue.
*/
@property(nonatomic, strong, nullable) NSNumber *apiObservationEntitled;

/**
* Project number of associated billing project that has Apigee and Advanced
* API Security entitled.
*
* Uses NSNumber of longLongValue.
*/
@property(nonatomic, strong, nullable) NSNumber *billingProjectNumber;

/** Output only. The time of the entitlement creation. */
@property(nonatomic, strong, nullable) GTLRDateTime *createTime;

/**
* Identifier. The entitlement resource name
* `projects/{project}/locations/{location}/entitlement`
*/
@property(nonatomic, copy, nullable) NSString *name;

/** Output only. The time of the entitlement update. */
@property(nonatomic, strong, nullable) GTLRDateTime *updateTime;

@end


/**
* The GCLB observation source.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,36 @@ NS_ASSUME_NONNULL_BEGIN

@end

/**
* GetEntitlement returns the entitlement for the provided project.
*
* Method: apim.projects.locations.getEntitlement
*
* Authorization scope(s):
* @c kGTLRAuthScopeAPIManagementCloudPlatform
*/
@interface GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement : GTLRAPIManagementQuery

/**
* Required. The entitlement resource name Format:
* projects/{project}/locations/{location}/entitlement
*/
@property(nonatomic, copy, nullable) NSString *name;

/**
* Fetches a @c GTLRAPIManagement_Entitlement.
*
* GetEntitlement returns the entitlement for the provided project.
*
* @param name Required. The entitlement resource name Format:
* projects/{project}/locations/{location}/entitlement
*
* @return GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement
*/
+ (instancetype)queryWithName:(NSString *)name;

@end

/**
* Lists information about the supported locations for this service.
*
Expand All @@ -71,8 +101,8 @@ NS_ASSUME_NONNULL_BEGIN
@interface GTLRAPIManagementQuery_ProjectsLocationsList : GTLRAPIManagementQuery

/**
* Optional. A list of extra location types that should be used as conditions
* for controlling the visibility of the locations.
* Optional. Do not use this field. It is unsupported and is ignored unless
* explicitly documented otherwise. This is primarily for internal usage.
*/
@property(nonatomic, strong, nullable) NSArray<NSString *> *extraLocationTypes;

Expand Down
Loading