diff --git a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h index 99b436e1e..6c915c1fe 100644 --- a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h +++ b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h @@ -100,6 +100,7 @@ GTLR_EXTERN NSString * const kGTLRAlertCenter_CloudPubsubTopic_PayloadFormat_Pay * This is only available for: * * Suspicious login * * Suspicious login (less secure app) + * * Suspicious programmatic login * * User suspended (suspicious activity) */ @property(nonatomic, strong, nullable) GTLRAlertCenter_LoginDetails *loginDetails; diff --git a/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.h b/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.h index 79e890281..453583e90 100644 --- a/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.h +++ b/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.h @@ -478,7 +478,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) NSArray *autoInstallConstraint; -/** The auto install mode. If unset defaults to AVAILABLE. */ +/** The auto install mode. If unset defaults to "doNotAutoInstall". */ @property(nonatomic, copy, nullable) NSString *autoInstallMode; /** @@ -2245,7 +2245,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *displayMode; /** - * A list of icons representing this website. Must have at least one element. + * A list of icons representing this website. If absent, a default icon (for + * create) or the current icon (for update) will be used. */ @property(nonatomic, strong, nullable) NSArray *icons; diff --git a/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.h b/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.h index 479fe9b8e..fa33bf765 100644 --- a/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.h +++ b/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.h @@ -535,34 +535,6 @@ GTLR_EXTERN NSString * const kGTLRAndroidEnterpriseRequestModeWaitForNotificatio @end -/** - * Deprecated and unused. - * - * Method: androidenterprise.enterprises.getAndroidDevicePolicyConfig - * - * Authorization scope(s): - * @c kGTLRAuthScopeAndroidEnterprise - */ -@interface GTLRAndroidEnterpriseQuery_EnterprisesGetAndroidDevicePolicyConfig : GTLRAndroidEnterpriseQuery -// Previous library name was -// +[GTLQueryAndroidEnterprise queryForEnterprisesGetAndroidDevicePolicyConfigWithenterpriseId:] - -/** The ID of the enterprise. */ -@property(nonatomic, copy, nullable) NSString *enterpriseId; - -/** - * Fetches a @c GTLRAndroidEnterprise_AndroidDevicePolicyConfig. - * - * Deprecated and unused. - * - * @param enterpriseId The ID of the enterprise. - * - * @return GTLRAndroidEnterpriseQuery_EnterprisesGetAndroidDevicePolicyConfig - */ -+ (instancetype)queryWithEnterpriseId:(NSString *)enterpriseId; - -@end - /** * Returns a service account and credentials. The service account can be bound * to the enterprise by calling setAccount. The service account is unique to diff --git a/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m b/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m index ab87b571c..a83fd957e 100644 --- a/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m +++ b/Source/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseQuery.m @@ -317,25 +317,6 @@ + (instancetype)queryWithEnterpriseId:(NSString *)enterpriseId { @end -@implementation GTLRAndroidEnterpriseQuery_EnterprisesGetAndroidDevicePolicyConfig - -@dynamic enterpriseId; - -+ (instancetype)queryWithEnterpriseId:(NSString *)enterpriseId { - NSArray *pathParams = @[ @"enterpriseId" ]; - NSString *pathURITemplate = @"enterprises/{enterpriseId}/androidDevicePolicyConfig"; - GTLRAndroidEnterpriseQuery_EnterprisesGetAndroidDevicePolicyConfig *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.enterpriseId = enterpriseId; - query.expectedObjectClass = [GTLRAndroidEnterprise_AndroidDevicePolicyConfig class]; - query.loggingName = @"androidenterprise.enterprises.getAndroidDevicePolicyConfig"; - return query; -} - -@end - @implementation GTLRAndroidEnterpriseQuery_EnterprisesGetServiceAccount @dynamic enterpriseId, keyType; diff --git a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h index 2a7cabe83..8afdbd2c4 100644 --- a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h +++ b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h @@ -823,6 +823,7 @@ NS_ASSUME_NONNULL_BEGIN * values are: * - Test (i.e. purchased from a license testing account) * - Promo (i.e. purchased using a promo code) + * - Rewarded (i.e. from watching a video ad instead of paying) * * Uses NSNumber of intValue. */ diff --git a/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.h b/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.h index d8557f8c4..4350eeb67 100644 --- a/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.h +++ b/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.h @@ -935,6 +935,15 @@ NS_ASSUME_NONNULL_BEGIN /** [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS. */ @property(nonatomic, strong, nullable) GTLRBigquery_GoogleSheetsOptions *googleSheetsOptions; +/** + * [Optional, Experimental] If hive partitioning is enabled, which mode to use. + * Two modes are supported: - AUTO: automatically infer partition key name(s) + * and type(s). - STRINGS: automatic infer partition key name(s). All types are + * strings. Not all storage formats support hive partitioning -- requesting + * hive partitioning on an unsupported format will lead to an error. + */ +@property(nonatomic, copy, nullable) NSString *hivePartitioningMode; + /** * [Optional] Indicates if BigQuery should allow extra values that are not * represented in the table schema. If true, the extra values are ignored. If @@ -1442,6 +1451,15 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *fieldDelimiter; +/** + * [Optional, Experimental] If hive partitioning is enabled, which mode to use. + * Two modes are supported: - AUTO: automatically infer partition key name(s) + * and type(s). - STRINGS: automatic infer partition key name(s). All types are + * strings. Not all storage formats support hive partitioning -- requesting + * hive partitioning on an unsupported format will lead to an error. + */ +@property(nonatomic, copy, nullable) NSString *hivePartitioningMode; + /** * [Optional] Indicates if BigQuery should allow extra values that are not * represented in the table schema. If true, the extra values are ignored. If diff --git a/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index c7a993802..2deaee271 100644 --- a/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Source/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -298,8 +298,8 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRBigquery_ExternalDataConfiguration @dynamic autodetect, bigtableOptions, compression, csvOptions, - googleSheetsOptions, ignoreUnknownValues, maxBadRecords, schema, - sourceFormat, sourceUris; + googleSheetsOptions, hivePartitioningMode, ignoreUnknownValues, + maxBadRecords, schema, sourceFormat, sourceUris; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -455,10 +455,10 @@ @implementation GTLRBigquery_JobConfigurationLoad @dynamic allowJaggedRows, allowQuotedNewlines, autodetect, clustering, createDisposition, destinationEncryptionConfiguration, destinationTable, destinationTableProperties, encoding, fieldDelimiter, - ignoreUnknownValues, maxBadRecords, nullMarker, projectionFields, - quote, rangePartitioning, schema, schemaInline, schemaInlineFormat, - schemaUpdateOptions, skipLeadingRows, sourceFormat, sourceUris, - timePartitioning, useAvroLogicalTypes, writeDisposition; + hivePartitioningMode, ignoreUnknownValues, maxBadRecords, nullMarker, + projectionFields, quote, rangePartitioning, schema, schemaInline, + schemaInlineFormat, schemaUpdateOptions, skipLeadingRows, sourceFormat, + sourceUris, timePartitioning, useAvroLogicalTypes, writeDisposition; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h b/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h index 78e98b4a3..36c825b10 100644 --- a/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h +++ b/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h @@ -1283,8 +1283,8 @@ GTLR_EXTERN NSString * const kGTLRCloudBuild_Hash_Type_Sha256; /** * Output only. Hash(es) of the build source, which can be used to verify that - * the originalsource integrity was maintained in the build. Note that - * `FileHashes` willonly be populated if `BuildOptions` has requested a + * the original source integrity was maintained in the build. Note that + * `FileHashes` will only be populated if `BuildOptions` has requested a * `SourceProvenanceHash`. * The keys to this map are file paths used as build source and the values * contain the hash values for those files. @@ -1310,8 +1310,8 @@ GTLR_EXTERN NSString * const kGTLRCloudBuild_Hash_Type_Sha256; /** * Output only. Hash(es) of the build source, which can be used to verify that - * the originalsource integrity was maintained in the build. Note that - * `FileHashes` willonly be populated if `BuildOptions` has requested a + * the original source integrity was maintained in the build. Note that + * `FileHashes` will only be populated if `BuildOptions` has requested a * `SourceProvenanceHash`. * The keys to this map are file paths used as build source and the values * contain the hash values for those files. diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestore.h b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestore.h index 7ae82e6d7..99760c920 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestore.h +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestore.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.h b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.h index 6b7424385..85d1e26b6 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.h +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. @@ -19,13 +19,9 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif -@class GTLRCloudFilestore_FileShareConfig; -@class GTLRCloudFilestore_Instance; -@class GTLRCloudFilestore_Instance_Labels; @class GTLRCloudFilestore_Location; @class GTLRCloudFilestore_Location_Labels; @class GTLRCloudFilestore_Location_Metadata; -@class GTLRCloudFilestore_NetworkConfig; @class GTLRCloudFilestore_Operation; @class GTLRCloudFilestore_Operation_Metadata; @class GTLRCloudFilestore_Operation_Response; @@ -39,82 +35,6 @@ NS_ASSUME_NONNULL_BEGIN -// ---------------------------------------------------------------------------- -// Constants - For some of the classes' properties below. - -// ---------------------------------------------------------------------------- -// GTLRCloudFilestore_Instance.state - -/** - * The instance is being created. - * - * Value: "CREATING" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_State_Creating; -/** - * The instance is shutting down. - * - * Value: "DELETING" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_State_Deleting; -/** - * The instance is experiencing an issue and might be unusable. You can get - * further details from the `statusMessage` field of the `Instance` - * resource. - * - * Value: "ERROR" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_State_Error; -/** - * The instance is available for use. - * - * Value: "READY" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_State_Ready; -/** - * Work is being done on the instance. You can get further details from the - * `statusMessage` field of the `Instance` resource. - * - * Value: "REPAIRING" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_State_Repairing; -/** - * State not set. - * - * Value: "STATE_UNSPECIFIED" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_State_StateUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFilestore_Instance.tier - -/** - * PREMIUM tier. - * - * Value: "PREMIUM" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_Tier_Premium; -/** - * STANDARD tier. - * - * Value: "STANDARD" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_Tier_Standard; -/** - * Not set. - * - * Value: "TIER_UNSPECIFIED" - */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_Instance_Tier_TierUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRCloudFilestore_NetworkConfig.modes - -/** Value: "ADDRESS_MODE_UNSPECIFIED" */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_AddressModeUnspecified; -/** Value: "MODE_IPV4" */ -GTLR_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_ModeIpv4; - /** * The request message for Operations.CancelOperation. */ @@ -135,162 +55,6 @@ GTLR_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_ModeIpv4; @end -/** - * File share configuration for the instance. - */ -@interface GTLRCloudFilestore_FileShareConfig : GTLRObject - -/** - * File share capacity in gigabytes (GB). - * Cloud Filestore defines 1 GB as 1024^3 bytes. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *capacityGb; - -/** The name of the file share (must be 16 characters or less). */ -@property(nonatomic, copy, nullable) NSString *name; - -@end - - -/** - * A Cloud Filestore instance. - */ -@interface GTLRCloudFilestore_Instance : GTLRObject - -/** - * Output only. - * The time when the instance was created. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; - -/** - * Optional. A description of the instance (2048 characters or less). - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. - */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; - -/** - * Server-specified ETag for the instance resource to prevent simultaneous - * updates from overwriting each other. - */ -@property(nonatomic, copy, nullable) NSString *ETag; - -/** - * File system shares on the instance. - * For this version, only a single file share is supported. - */ -@property(nonatomic, strong, nullable) NSArray *fileShares; - -/** Resource labels to represent user provided metadata. */ -@property(nonatomic, strong, nullable) GTLRCloudFilestore_Instance_Labels *labels; - -/** - * Output only. - * The resource name of the instance, in the format - * projects/{project_id}/locations/{location_id}/instances/{instance_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * VPC networks to which the instance is connected. - * For this version, only a single network is supported. - */ -@property(nonatomic, strong, nullable) NSArray *networks; - -/** - * Output only. - * The instance state. - * - * Likely values: - * @arg @c kGTLRCloudFilestore_Instance_State_Creating The instance is being - * created. (Value: "CREATING") - * @arg @c kGTLRCloudFilestore_Instance_State_Deleting The instance is - * shutting down. (Value: "DELETING") - * @arg @c kGTLRCloudFilestore_Instance_State_Error The instance is - * experiencing an issue and might be unusable. You can get - * further details from the `statusMessage` field of the `Instance` - * resource. (Value: "ERROR") - * @arg @c kGTLRCloudFilestore_Instance_State_Ready The instance is available - * for use. (Value: "READY") - * @arg @c kGTLRCloudFilestore_Instance_State_Repairing Work is being done on - * the instance. You can get further details from the - * `statusMessage` field of the `Instance` resource. (Value: "REPAIRING") - * @arg @c kGTLRCloudFilestore_Instance_State_StateUnspecified State not set. - * (Value: "STATE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** - * Output only. - * Additional information about the instance state, if available. - */ -@property(nonatomic, copy, nullable) NSString *statusMessage; - -/** - * The service tier of the instance. - * - * Likely values: - * @arg @c kGTLRCloudFilestore_Instance_Tier_Premium PREMIUM tier. (Value: - * "PREMIUM") - * @arg @c kGTLRCloudFilestore_Instance_Tier_Standard STANDARD tier. (Value: - * "STANDARD") - * @arg @c kGTLRCloudFilestore_Instance_Tier_TierUnspecified Not set. (Value: - * "TIER_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *tier; - -@end - - -/** - * Resource labels to represent user provided metadata. - * - * @note This class is documented as having more properties of NSString. Use @c - * -additionalJSONKeys and @c -additionalPropertyForName: to get the list - * of properties and then fetch them; or @c -additionalProperties to - * fetch them all at once. - */ -@interface GTLRCloudFilestore_Instance_Labels : GTLRObject -@end - - -/** - * ListInstancesResponse is the result of ListInstancesRequest. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "instances" property. If returned as the result of a query, it - * should support automatic pagination (when @c shouldFetchNextPages is - * enabled). - */ -@interface GTLRCloudFilestore_ListInstancesResponse : GTLRCollectionObject - -/** - * A list of instances in the project for the specified location. - * If the {location} value in the request is "-", the response contains a list - * of instances from all locations. If any location is unreachable, the - * response will only return instances in reachable locations and the - * "unreachable" field will be populated with a list of unreachable locations. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *instances; - -/** - * The token you can use to retrieve the next page of results. Not returned - * if there are no more results in the list. - */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** Locations that could not be reached. */ -@property(nonatomic, strong, nullable) NSArray *unreachable; - -@end - - /** * The response message for Locations.ListLocations. * @@ -400,47 +164,6 @@ GTLR_EXTERN NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_ModeIpv4; @end -/** - * Network configuration for the instance. - */ -@interface GTLRCloudFilestore_NetworkConfig : GTLRObject - -/** - * Output only. - * IPv4 addresses in the format - * {octet 1}.{octet 2}.{octet 3}.{octet 4} or IPv6 addresses in the format - * {block 1}:{block 2}:{block 3}:{block 4}:{block 5}:{block 6}:{block 7}:{block - * 8}. - */ -@property(nonatomic, strong, nullable) NSArray *ipAddresses; - -/** - * Internet protocol versions for which the instance has IP addresses - * assigned. For this version, only MODE_IPV4 is supported. - */ -@property(nonatomic, strong, nullable) NSArray *modes; - -/** - * The name of the Google Compute Engine - * [VPC network](/compute/docs/networks-and-firewalls#networks) to which the - * instance is connected. - */ -@property(nonatomic, copy, nullable) NSString *network; - -/** - * A /29 CIDR block in one of the - * [internal IP address - * ranges](https://www.arin.net/knowledge/address_filters.html) - * that identifies the range of IP addresses reserved for this - * instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify - * can't overlap with either existing subnets or assigned IP address ranges - * for other Cloud Filestore instances in the selected VPC network. - */ -@property(nonatomic, copy, nullable) NSString *reservedIpRange; - -@end - - /** * This resource represents a long-running operation that is the result of a * network API call. diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 258e777c0..a370c8e36 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. @@ -11,26 +11,6 @@ #import "GTLRCloudFilestoreObjects.h" -// ---------------------------------------------------------------------------- -// Constants - -// GTLRCloudFilestore_Instance.state -NSString * const kGTLRCloudFilestore_Instance_State_Creating = @"CREATING"; -NSString * const kGTLRCloudFilestore_Instance_State_Deleting = @"DELETING"; -NSString * const kGTLRCloudFilestore_Instance_State_Error = @"ERROR"; -NSString * const kGTLRCloudFilestore_Instance_State_Ready = @"READY"; -NSString * const kGTLRCloudFilestore_Instance_State_Repairing = @"REPAIRING"; -NSString * const kGTLRCloudFilestore_Instance_State_StateUnspecified = @"STATE_UNSPECIFIED"; - -// GTLRCloudFilestore_Instance.tier -NSString * const kGTLRCloudFilestore_Instance_Tier_Premium = @"PREMIUM"; -NSString * const kGTLRCloudFilestore_Instance_Tier_Standard = @"STANDARD"; -NSString * const kGTLRCloudFilestore_Instance_Tier_TierUnspecified = @"TIER_UNSPECIFIED"; - -// GTLRCloudFilestore_NetworkConfig.modes -NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_AddressModeUnspecified = @"ADDRESS_MODE_UNSPECIFIED"; -NSString * const kGTLRCloudFilestore_NetworkConfig_Modes_ModeIpv4 = @"MODE_IPV4"; - // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_CancelOperationRequest @@ -49,81 +29,6 @@ @implementation GTLRCloudFilestore_Empty @end -// ---------------------------------------------------------------------------- -// -// GTLRCloudFilestore_FileShareConfig -// - -@implementation GTLRCloudFilestore_FileShareConfig -@dynamic capacityGb, name; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFilestore_Instance -// - -@implementation GTLRCloudFilestore_Instance -@dynamic createTime, descriptionProperty, ETag, fileShares, labels, name, - networks, state, statusMessage, tier; - -+ (NSDictionary *)propertyToJSONKeyMap { - NSDictionary *map = @{ - @"descriptionProperty" : @"description", - @"ETag" : @"etag" - }; - return map; -} - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"fileShares" : [GTLRCloudFilestore_FileShareConfig class], - @"networks" : [GTLRCloudFilestore_NetworkConfig class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFilestore_Instance_Labels -// - -@implementation GTLRCloudFilestore_Instance_Labels - -+ (Class)classForAdditionalProperties { - return [NSString class]; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudFilestore_ListInstancesResponse -// - -@implementation GTLRCloudFilestore_ListInstancesResponse -@dynamic instances, nextPageToken, unreachable; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"instances" : [GTLRCloudFilestore_Instance class], - @"unreachable" : [NSString class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"instances"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_ListLocationsResponse @@ -206,25 +111,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRCloudFilestore_NetworkConfig -// - -@implementation GTLRCloudFilestore_NetworkConfig -@dynamic ipAddresses, modes, network, reservedIpRange; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"ipAddresses" : [NSString class], - @"modes" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudFilestore_Operation diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.h b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.h index ae2c4504a..954229733 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.h +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. @@ -20,7 +20,6 @@ #endif @class GTLRCloudFilestore_CancelOperationRequest; -@class GTLRCloudFilestore_Instance; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -67,221 +66,6 @@ NS_ASSUME_NONNULL_BEGIN @end -/** - * Creates an instance. - * - * Method: file.projects.locations.instances.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudFilestoreCloudPlatform - */ -@interface GTLRCloudFilestoreQuery_ProjectsLocationsInstancesCreate : GTLRCloudFilestoreQuery -// Previous library name was -// +[GTLQueryCloudFilestore queryForProjectsLocationsInstancesCreateWithObject:parent:] - -/** - * The name of the instance to create. - * The name must be unique for the specified project and location. - */ -@property(nonatomic, copy, nullable) NSString *instanceId; - -/** - * The instance's project and location, in the format - * projects/{project_id}/locations/{location}. In Cloud Filestore, - * locations map to GCP zones, for example **us-west1-b**. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRCloudFilestore_Operation. - * - * Creates an instance. - * - * @param object The @c GTLRCloudFilestore_Instance to include in the query. - * @param parent The instance's project and location, in the format - * projects/{project_id}/locations/{location}. In Cloud Filestore, - * locations map to GCP zones, for example **us-west1-b**. - * - * @return GTLRCloudFilestoreQuery_ProjectsLocationsInstancesCreate - */ -+ (instancetype)queryWithObject:(GTLRCloudFilestore_Instance *)object - parent:(NSString *)parent; - -@end - -/** - * Deletes an instance. - * - * Method: file.projects.locations.instances.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudFilestoreCloudPlatform - */ -@interface GTLRCloudFilestoreQuery_ProjectsLocationsInstancesDelete : GTLRCloudFilestoreQuery -// Previous library name was -// +[GTLQueryCloudFilestore queryForProjectsLocationsInstancesDeleteWithname:] - -/** - * The instance resource name, in the format - * projects/{project_id}/locations/{location}/instances/{instance_id} - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRCloudFilestore_Operation. - * - * Deletes an instance. - * - * @param name The instance resource name, in the format - * projects/{project_id}/locations/{location}/instances/{instance_id} - * - * @return GTLRCloudFilestoreQuery_ProjectsLocationsInstancesDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Gets the details of a specific instance. - * - * Method: file.projects.locations.instances.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudFilestoreCloudPlatform - */ -@interface GTLRCloudFilestoreQuery_ProjectsLocationsInstancesGet : GTLRCloudFilestoreQuery -// Previous library name was -// +[GTLQueryCloudFilestore queryForProjectsLocationsInstancesGetWithname:] - -/** - * The instance resource name, in the format - * projects/{project_id}/locations/{location}/instances/{instance_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRCloudFilestore_Instance. - * - * Gets the details of a specific instance. - * - * @param name The instance resource name, in the format - * projects/{project_id}/locations/{location}/instances/{instance_id}. - * - * @return GTLRCloudFilestoreQuery_ProjectsLocationsInstancesGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Lists all instances in a project for either a specified location - * or for all locations. - * - * Method: file.projects.locations.instances.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudFilestoreCloudPlatform - */ -@interface GTLRCloudFilestoreQuery_ProjectsLocationsInstancesList : GTLRCloudFilestoreQuery -// Previous library name was -// +[GTLQueryCloudFilestore queryForProjectsLocationsInstancesListWithparent:] - -/** List filter. */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Sort results. Supported values are "name", "name desc" or "" (unsorted). - */ -@property(nonatomic, copy, nullable) NSString *orderBy; - -/** The maximum number of items to return. */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * The next_page_token value to use if there are additional - * results to retrieve for this list request. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * The project and location for which to retrieve instance information, - * in the format projects/{project_id}/locations/{location}. In Cloud - * Filestore, locations map to GCP zones, for example **us-west1-b**. To - * retrieve instance information for all locations, use "-" for the {location} - * value. - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRCloudFilestore_ListInstancesResponse. - * - * Lists all instances in a project for either a specified location - * or for all locations. - * - * @param parent The project and location for which to retrieve instance - * information, - * in the format projects/{project_id}/locations/{location}. In Cloud - * Filestore, locations map to GCP zones, for example **us-west1-b**. To - * retrieve instance information for all locations, use "-" for the - * {location} - * value. - * - * @return GTLRCloudFilestoreQuery_ProjectsLocationsInstancesList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)queryWithParent:(NSString *)parent; - -@end - -/** - * Updates the settings of a specific instance. - * - * Method: file.projects.locations.instances.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudFilestoreCloudPlatform - */ -@interface GTLRCloudFilestoreQuery_ProjectsLocationsInstancesPatch : GTLRCloudFilestoreQuery -// Previous library name was -// +[GTLQueryCloudFilestore queryForProjectsLocationsInstancesPatchWithObject:name:] - -/** - * Output only. - * The resource name of the instance, in the format - * projects/{project_id}/locations/{location_id}/instances/{instance_id}. - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Mask of fields to update. At least one path must be supplied in this - * field. The elements of the repeated paths field may only include these - * fields: - * "description" - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRCloudFilestore_Operation. - * - * Updates the settings of a specific instance. - * - * @param object The @c GTLRCloudFilestore_Instance to include in the query. - * @param name Output only. - * The resource name of the instance, in the format - * projects/{project_id}/locations/{location_id}/instances/{instance_id}. - * - * @return GTLRCloudFilestoreQuery_ProjectsLocationsInstancesPatch - */ -+ (instancetype)queryWithObject:(GTLRCloudFilestore_Instance *)object - name:(NSString *)name; - -@end - /** * Lists information about the supported locations for this service. * diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m index 2e61c48cc..566699bb1 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. @@ -25,7 +25,7 @@ @implementation GTLRCloudFilestoreQuery_ProjectsLocationsGet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}"; + NSString *pathURITemplate = @"v1/{+name}"; GTLRCloudFilestoreQuery_ProjectsLocationsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -38,120 +38,13 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRCloudFilestoreQuery_ProjectsLocationsInstancesCreate - -@dynamic instanceId, parent; - -+ (instancetype)queryWithObject:(GTLRCloudFilestore_Instance *)object - parent:(NSString *)parent { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1beta1/{+parent}/instances"; - GTLRCloudFilestoreQuery_ProjectsLocationsInstancesCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.parent = parent; - query.expectedObjectClass = [GTLRCloudFilestore_Operation class]; - query.loggingName = @"file.projects.locations.instances.create"; - return query; -} - -@end - -@implementation GTLRCloudFilestoreQuery_ProjectsLocationsInstancesDelete - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}"; - GTLRCloudFilestoreQuery_ProjectsLocationsInstancesDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRCloudFilestore_Operation class]; - query.loggingName = @"file.projects.locations.instances.delete"; - return query; -} - -@end - -@implementation GTLRCloudFilestoreQuery_ProjectsLocationsInstancesGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}"; - GTLRCloudFilestoreQuery_ProjectsLocationsInstancesGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRCloudFilestore_Instance class]; - query.loggingName = @"file.projects.locations.instances.get"; - return query; -} - -@end - -@implementation GTLRCloudFilestoreQuery_ProjectsLocationsInstancesList - -@dynamic filter, orderBy, pageSize, pageToken, parent; - -+ (instancetype)queryWithParent:(NSString *)parent { - NSArray *pathParams = @[ @"parent" ]; - NSString *pathURITemplate = @"v1beta1/{+parent}/instances"; - GTLRCloudFilestoreQuery_ProjectsLocationsInstancesList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.parent = parent; - query.expectedObjectClass = [GTLRCloudFilestore_ListInstancesResponse class]; - query.loggingName = @"file.projects.locations.instances.list"; - return query; -} - -@end - -@implementation GTLRCloudFilestoreQuery_ProjectsLocationsInstancesPatch - -@dynamic name, updateMask; - -+ (instancetype)queryWithObject:(GTLRCloudFilestore_Instance *)object - name:(NSString *)name { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}"; - GTLRCloudFilestoreQuery_ProjectsLocationsInstancesPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRCloudFilestore_Operation class]; - query.loggingName = @"file.projects.locations.instances.patch"; - return query; -} - -@end - @implementation GTLRCloudFilestoreQuery_ProjectsLocationsList @dynamic filter, name, pageSize, pageToken; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}/locations"; + NSString *pathURITemplate = @"v1/{+name}/locations"; GTLRCloudFilestoreQuery_ProjectsLocationsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -175,7 +68,7 @@ + (instancetype)queryWithObject:(GTLRCloudFilestore_CancelOperationRequest *)obj return nil; } NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}:cancel"; + NSString *pathURITemplate = @"v1/{+name}:cancel"; GTLRCloudFilestoreQuery_ProjectsLocationsOperationsCancel *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" @@ -195,7 +88,7 @@ @implementation GTLRCloudFilestoreQuery_ProjectsLocationsOperationsDelete + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}"; + NSString *pathURITemplate = @"v1/{+name}"; GTLRCloudFilestoreQuery_ProjectsLocationsOperationsDelete *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"DELETE" @@ -214,7 +107,7 @@ @implementation GTLRCloudFilestoreQuery_ProjectsLocationsOperationsGet + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}"; + NSString *pathURITemplate = @"v1/{+name}"; GTLRCloudFilestoreQuery_ProjectsLocationsOperationsGet *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil @@ -233,7 +126,7 @@ @implementation GTLRCloudFilestoreQuery_ProjectsLocationsOperationsList + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1beta1/{+name}/operations"; + NSString *pathURITemplate = @"v1/{+name}/operations"; GTLRCloudFilestoreQuery_ProjectsLocationsOperationsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.h b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.h index a00523bad..78c343d08 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.h +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. diff --git a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.m b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.m index aa784ad7e..d66e0d8b9 100644 --- a/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.m +++ b/Source/GeneratedServices/CloudFilestore/GTLRCloudFilestoreService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// Cloud Filestore API (file/v1beta1) +// Cloud Filestore API (file/v1) // Description: // The Cloud Filestore API is used for creating and managing cloud file // servers. diff --git a/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.h b/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.h index 7211174c1..4fc4689a3 100644 --- a/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.h +++ b/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.h @@ -45,14 +45,14 @@ NS_ASSUME_NONNULL_BEGIN * More information about managing access via IAP can be found at: * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api * - * Method: iap.projects.iap_tunnel.getIamPolicy + * Method: iap.getIamPolicy * * Authorization scope(s): * @c kGTLRAuthScopeCloudIAPCloudPlatform */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelGetIamPolicy : GTLRCloudIAPQuery +@interface GTLRCloudIAPQuery_V1GetIamPolicy : GTLRCloudIAPQuery // Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelGetIamPolicyWithObject:resource:] +// +[GTLQueryCloudIAP queryForGetIamPolicyWithObject:resource:] /** * REQUIRED: The resource for which the policy is being requested. @@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN * requested. * See the operation documentation for the appropriate value for this field. * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelGetIamPolicy + * @return GTLRCloudIAPQuery_V1GetIamPolicy */ + (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object resource:(NSString *)resource; @@ -87,14 +87,14 @@ NS_ASSUME_NONNULL_BEGIN * More information about managing access via IAP can be found at: * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api * - * Method: iap.projects.iap_tunnel.setIamPolicy + * Method: iap.setIamPolicy * * Authorization scope(s): * @c kGTLRAuthScopeCloudIAPCloudPlatform */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelSetIamPolicy : GTLRCloudIAPQuery +@interface GTLRCloudIAPQuery_V1SetIamPolicy : GTLRCloudIAPQuery // Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelSetIamPolicyWithObject:resource:] +// +[GTLQueryCloudIAP queryForSetIamPolicyWithObject:resource:] /** * REQUIRED: The resource for which the policy is being specified. @@ -116,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN * specified. * See the operation documentation for the appropriate value for this field. * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelSetIamPolicy + * @return GTLRCloudIAPQuery_V1SetIamPolicy */ + (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object resource:(NSString *)resource; @@ -129,14 +129,14 @@ NS_ASSUME_NONNULL_BEGIN * More information about managing access via IAP can be found at: * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api * - * Method: iap.projects.iap_tunnel.testIamPermissions + * Method: iap.testIamPermissions * * Authorization scope(s): * @c kGTLRAuthScopeCloudIAPCloudPlatform */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelTestIamPermissions : GTLRCloudIAPQuery +@interface GTLRCloudIAPQuery_V1TestIamPermissions : GTLRCloudIAPQuery // Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelTestIamPermissionsWithObject:resource:] +// +[GTLQueryCloudIAP queryForTestIamPermissionsWithObject:resource:] /** * REQUIRED: The resource for which the policy detail is being requested. @@ -158,637 +158,7 @@ NS_ASSUME_NONNULL_BEGIN * requested. * See the operation documentation for the appropriate value for this field. * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_tunnel.zones.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelZonesGetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelZonesGetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_GetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelZonesGetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_tunnel.zones.instances.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesGetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelZonesInstancesGetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_GetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesGetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_tunnel.zones.instances.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesSetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelZonesInstancesSetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being specified. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_SetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_tunnel.zones.instances.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesTestIamPermissions : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelZonesInstancesTestIamPermissionsWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy detail is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_TestIamPermissionsRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy detail is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_tunnel.zones.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelZonesSetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelZonesSetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being specified. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_SetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelZonesSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_tunnel.zones.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapTunnelZonesTestIamPermissions : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapTunnelZonesTestIamPermissionsWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy detail is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_TestIamPermissionsRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy detail is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapTunnelZonesTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebGetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebGetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_GetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebGetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.services.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebServicesGetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebServicesGetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_GetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebServicesGetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.services.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebServicesSetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebServicesSetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being specified. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_SetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebServicesSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.services.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebServicesTestIamPermissions : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebServicesTestIamPermissionsWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy detail is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_TestIamPermissionsRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy detail is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebServicesTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.services.versions.getIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsGetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebServicesVersionsGetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Gets the access control policy for an Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_GetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsGetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.services.versions.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsSetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebServicesVersionsSetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being specified. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_SetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.services.versions.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsTestIamPermissions : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebServicesVersionsTestIamPermissionsWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy detail is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_TestIamPermissionsRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy detail is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.setIamPolicy - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebSetIamPolicy : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebSetIamPolicyWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy is being specified. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_Policy. - * - * Sets the access control policy for an Identity-Aware Proxy protected - * resource. Replaces any existing policy. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_SetIamPolicyRequest to include in the - * query. - * @param resource REQUIRED: The resource for which the policy is being - * specified. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebSetIamPolicy - */ -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * Method: iap.projects.iap_web.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeCloudIAPCloudPlatform - */ -@interface GTLRCloudIAPQuery_ProjectsIapWebTestIamPermissions : GTLRCloudIAPQuery -// Previous library name was -// +[GTLQueryCloudIAP queryForProjectsIapWebTestIamPermissionsWithObject:resource:] - -/** - * REQUIRED: The resource for which the policy detail is being requested. - * See the operation documentation for the appropriate value for this field. - */ -@property(nonatomic, copy, nullable) NSString *resource; - -/** - * Fetches a @c GTLRCloudIAP_TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the Identity-Aware Proxy protected - * resource. - * More information about managing access via IAP can be found at: - * https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api - * - * @param object The @c GTLRCloudIAP_TestIamPermissionsRequest to include in - * the query. - * @param resource REQUIRED: The resource for which the policy detail is being - * requested. - * See the operation documentation for the appropriate value for this field. - * - * @return GTLRCloudIAPQuery_ProjectsIapWebTestIamPermissions + * @return GTLRCloudIAPQuery_V1TestIamPermissions */ + (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object resource:(NSString *)resource; diff --git a/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.m b/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.m index a88d57011..50934fca0 100644 --- a/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.m +++ b/Source/GeneratedServices/CloudIAP/GTLRCloudIAPQuery.m @@ -18,7 +18,7 @@ @implementation GTLRCloudIAPQuery @end -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelGetIamPolicy +@implementation GTLRCloudIAPQuery_V1GetIamPolicy @dynamic resource; @@ -30,20 +30,20 @@ + (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object } NSArray *pathParams = @[ @"resource" ]; NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapTunnelGetIamPolicy *query = + GTLRCloudIAPQuery_V1GetIamPolicy *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.resource = resource; query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_tunnel.getIamPolicy"; + query.loggingName = @"iap.getIamPolicy"; return query; } @end -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelSetIamPolicy +@implementation GTLRCloudIAPQuery_V1SetIamPolicy @dynamic resource; @@ -55,20 +55,20 @@ + (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object } NSArray *pathParams = @[ @"resource" ]; NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapTunnelSetIamPolicy *query = + GTLRCloudIAPQuery_V1SetIamPolicy *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.resource = resource; query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_tunnel.setIamPolicy"; + query.loggingName = @"iap.setIamPolicy"; return query; } @end -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelTestIamPermissions +@implementation GTLRCloudIAPQuery_V1TestIamPermissions @dynamic resource; @@ -80,389 +80,14 @@ + (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object } NSArray *pathParams = @[ @"resource" ]; NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRCloudIAPQuery_ProjectsIapTunnelTestIamPermissions *query = + GTLRCloudIAPQuery_V1TestIamPermissions *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:@"POST" pathParameterNames:pathParams]; query.bodyObject = object; query.resource = resource; query.expectedObjectClass = [GTLRCloudIAP_TestIamPermissionsResponse class]; - query.loggingName = @"iap.projects.iap_tunnel.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelZonesGetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapTunnelZonesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_tunnel.zones.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesGetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_tunnel.zones.instances.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_tunnel.zones.instances.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRCloudIAPQuery_ProjectsIapTunnelZonesInstancesTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_TestIamPermissionsResponse class]; - query.loggingName = @"iap.projects.iap_tunnel.zones.instances.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelZonesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapTunnelZonesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_tunnel.zones.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapTunnelZonesTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRCloudIAPQuery_ProjectsIapTunnelZonesTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_TestIamPermissionsResponse class]; - query.loggingName = @"iap.projects.iap_tunnel.zones.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebGetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapWebGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_web.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebServicesGetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapWebServicesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_web.services.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebServicesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapWebServicesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_web.services.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebServicesTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRCloudIAPQuery_ProjectsIapWebServicesTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_TestIamPermissionsResponse class]; - query.loggingName = @"iap.projects.iap_web.services.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsGetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_GetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_web.services.versions.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_web.services.versions.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRCloudIAPQuery_ProjectsIapWebServicesVersionsTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_TestIamPermissionsResponse class]; - query.loggingName = @"iap.projects.iap_web.services.versions.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_SetIamPolicyRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:setIamPolicy"; - GTLRCloudIAPQuery_ProjectsIapWebSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_Policy class]; - query.loggingName = @"iap.projects.iap_web.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRCloudIAPQuery_ProjectsIapWebTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRCloudIAP_TestIamPermissionsRequest *)object - resource:(NSString *)resource { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:testIamPermissions"; - GTLRCloudIAPQuery_ProjectsIapWebTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRCloudIAP_TestIamPermissionsResponse class]; - query.loggingName = @"iap.projects.iap_web.testIamPermissions"; + query.loggingName = @"iap.testIamPermissions"; return query; } diff --git a/Source/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.h b/Source/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.h index 28f985bed..9b865609f 100644 --- a/Source/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.h +++ b/Source/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.h @@ -153,9 +153,9 @@ GTLR_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; // +[GTLQueryCloudIdentity queryForGroupsList] /** - * Maximum number of Groups to return. + * Maximum number of groups to return. * View | Default | Maximum - * -----|---------|-------- + * ----- | ------- | ------- * BASIC | 200 | 1000 * FULL | 50 | 500 */ @@ -355,7 +355,7 @@ GTLR_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; * Maximum number of Memberships to return. * View | Default | Maximum * -----|---------|-------- - * BASIC | 200 | 1000 + * BASIC| 200 | 1000 * FULL | 50 | 500 */ @property(nonatomic, assign) NSInteger pageSize; @@ -510,9 +510,9 @@ GTLR_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; // +[GTLQueryCloudIdentity queryForGroupsSearch] /** - * Maximum number of Groups to return. + * Maximum number of groups to return. * View | Default | Maximum - * -----|---------|-------- + * ----- | ------- | ------- * BASIC | 200 | 1000 * FULL | 50 | 500 */ diff --git a/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h b/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h index 2b24f3219..c32912680 100644 --- a/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h +++ b/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h @@ -135,7 +135,8 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capa // GTLRCloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec.algorithm /** - * The default algorithm used by hyperparameter tuning service. + * The default algorithm used by the hyperparameter tuning service. This is + * a Bayesian optimization algorithm. * * Value: "ALGORITHM_UNSPECIFIED" */ @@ -494,7 +495,7 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Trai // GTLRCloudMachineLearningEngine_GoogleCloudMlV1Version.framework /** - * Unspecified framework. Defaults to TensorFlow. + * Unspecified framework. Assigns a value based on the file suffix. * * Value: "FRAMEWORK_UNSPECIFIED" */ @@ -622,11 +623,13 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog */ @interface GTLRCloudMachineLearningEngine_GoogleApiHttpBody : GTLRObject -/** The HTTP Content-Type string representing the content type of the body. */ +/** + * The HTTP Content-Type header value specifying the content type of the body. + */ @property(nonatomic, copy, nullable) NSString *contentType; /** - * HTTP body binary data. + * The HTTP request/response body as raw binary. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -878,8 +881,9 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog * * Likely values: * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec_Algorithm_AlgorithmUnspecified - * The default algorithm used by hyperparameter tuning service. (Value: - * "ALGORITHM_UNSPECIFIED") + * The default algorithm used by the hyperparameter tuning service. This + * is + * a Bayesian optimization algorithm. (Value: "ALGORITHM_UNSPECIFIED") * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1HyperparameterSpec_Algorithm_GridSearch * Simple grid search within the feasible space. To use grid search, * all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`. @@ -1468,7 +1472,7 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog /** - * Represents input parameters for a prediction job. Next field: 20 + * Represents input parameters for a prediction job. */ @interface GTLRCloudMachineLearningEngine_GoogleCloudMlV1PredictionInput : GTLRObject @@ -1740,26 +1744,22 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog *
standard_v100
*
* A machine equivalent to standard that - * also includes a single NVIDIA Tesla V100 GPU. The availability of these - * GPUs is in the Beta launch stage. + * also includes a single NVIDIA Tesla V100 GPU. *
*
large_model_v100
*
* A machine equivalent to large_model that - * also includes a single NVIDIA Tesla V100 GPU. The availability of these - * GPUs is in the Beta launch stage. + * also includes a single NVIDIA Tesla V100 GPU. *
*
complex_model_m_v100
*
* A machine equivalent to complex_model_m that - * also includes four NVIDIA Tesla V100 GPUs. The availability of these - * GPUs is in the Beta launch stage. + * also includes four NVIDIA Tesla V100 GPUs. *
*
complex_model_l_v100
*
* A machine equivalent to complex_model_l that - * also includes eight NVIDIA Tesla V100 GPUs. The availability of these - * GPUs is in the Beta launch stage. + * also includes eight NVIDIA Tesla V100 GPUs. *
*
cloud_tpu
*
@@ -1785,6 +1785,7 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog * `parameter_server_type`. * This value can only be used when `scale_tier` is set to `CUSTOM`.If you * set this value, you must also set `parameter_server_type`. + * The default value is zero. * * Uses NSNumber of longLongValue. */ @@ -1880,6 +1881,7 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog * replica in the cluster will be of the type specified in `worker_type`. * This value can only be used when `scale_tier` is set to `CUSTOM`. If you * set this value, you must also set `worker_type`. + * The default value is zero. * * Uses NSNumber of longLongValue. */ @@ -2003,8 +2005,8 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog * * Likely values: * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Version_Framework_FrameworkUnspecified - * Unspecified framework. Defaults to TensorFlow. (Value: - * "FRAMEWORK_UNSPECIFIED") + * Unspecified framework. Assigns a value based on the file suffix. + * (Value: "FRAMEWORK_UNSPECIFIED") * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Version_Framework_ScikitLearn * Scikit-learn framework. (Value: "SCIKIT_LEARN") * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Version_Framework_Tensorflow diff --git a/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.h b/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.h index fdca0f091..b646cb6c8 100644 --- a/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.h +++ b/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.h @@ -1552,12 +1552,30 @@ GTLR_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelli /** * Information corresponding to all frames where this object track appears. + * Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame + * messages in frames. + * Streaming mode: it can only be one ObjectTrackingFrame message in frames. */ @property(nonatomic, strong, nullable) NSArray *frames; -/** Each object track corresponds to one video segment where it appears. */ +/** + * Non-streaming batch mode ONLY. + * Each object track corresponds to one video segment where it appears. + */ @property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoSegment *segment; +/** + * Streaming mode ONLY. + * In streaming mode, we do not know the end time of a tracked object + * before it is completed. Hence, there is no VideoSegment info returned. + * Instead, we provide a unique identifiable integer track_id so that + * the customers can correlate the results of the ongoing + * ObjectTrackAnnotation of the same track_id over time. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *trackId; + @end diff --git a/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m b/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m index d782fe73e..1789724f3 100644 --- a/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m +++ b/Source/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m @@ -797,7 +797,7 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1 // @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation -@dynamic confidence, entity, frames, segment; +@dynamic confidence, entity, frames, segment, trackId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/Compute/GTLRComputeObjects.h b/Source/GeneratedServices/Compute/GTLRComputeObjects.h index bbb0b6692..8fb5eae2a 100644 --- a/Source/GeneratedServices/Compute/GTLRComputeObjects.h +++ b/Source/GeneratedServices/Compute/GTLRComputeObjects.h @@ -120,6 +120,7 @@ @class GTLRCompute_FirewallList_Warning; @class GTLRCompute_FirewallList_Warning_Data_Item; @class GTLRCompute_FirewallLogConfig; +@class GTLRCompute_FixedOrPercent; @class GTLRCompute_ForwardingRule; @class GTLRCompute_ForwardingRuleAggregatedList_Items; @class GTLRCompute_ForwardingRuleAggregatedList_Warning; @@ -172,6 +173,9 @@ @class GTLRCompute_InstanceGroupManagersScopedList; @class GTLRCompute_InstanceGroupManagersScopedList_Warning; @class GTLRCompute_InstanceGroupManagersScopedList_Warning_Data_Item; +@class GTLRCompute_InstanceGroupManagerStatus; +@class GTLRCompute_InstanceGroupManagerUpdatePolicy; +@class GTLRCompute_InstanceGroupManagerVersion; @class GTLRCompute_InstanceGroupsListInstances_Warning; @class GTLRCompute_InstanceGroupsListInstances_Warning_Data_Item; @class GTLRCompute_InstanceGroupsScopedList; @@ -2733,6 +2737,22 @@ GTLR_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warnin /** Value: "UNREACHABLE" */ GTLR_EXTERN NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_InstanceGroupManagerUpdatePolicy.minimalAction + +/** Value: "REPLACE" */ +GTLR_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_MinimalAction_Replace; +/** Value: "RESTART" */ +GTLR_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_MinimalAction_Restart; + +// ---------------------------------------------------------------------------- +// GTLRCompute_InstanceGroupManagerUpdatePolicy.type + +/** Value: "OPPORTUNISTIC" */ +GTLR_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_Type_Opportunistic; +/** Value: "PROACTIVE" */ +GTLR_EXTERN NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_Type_Proactive; + // ---------------------------------------------------------------------------- // GTLRCompute_InstanceGroupsListInstances_Warning.code @@ -4672,6 +4692,8 @@ GTLR_EXTERN NSString * const kGTLRCompute_Quota_Metric_InternalAddresses; GTLR_EXTERN NSString * const kGTLRCompute_Quota_Metric_InUseAddresses; /** Value: "IN_USE_BACKUP_SCHEDULES" */ GTLR_EXTERN NSString * const kGTLRCompute_Quota_Metric_InUseBackupSchedules; +/** Value: "IN_USE_SNAPSHOT_SCHEDULES" */ +GTLR_EXTERN NSString * const kGTLRCompute_Quota_Metric_InUseSnapshotSchedules; /** Value: "LOCAL_SSD_TOTAL_GB" */ GTLR_EXTERN NSString * const kGTLRCompute_Quota_Metric_LocalSsdTotalGb; /** Value: "NETWORKS" */ @@ -12638,6 +12660,43 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; @end +/** + * Encapsulates numeric value that can be either absolute or relative. + */ +@interface GTLRCompute_FixedOrPercent : GTLRObject + +/** + * [Output Only] Absolute value of VM instances calculated based on the + * specific mode. + * - If the value is fixed, then the caculated value is equal to the fixed + * value. + * - If the value is a percent, then the calculated value is percent/100 * + * targetSize. For example, the calculated value of a 80% of a managed instance + * group with 150 instances would be (80/100 * 150) = 120 VM instances. If + * there is a remainder, the number is rounded up. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *calculated; + +/** + * Specifies a fixed number of VM instances. This must be a positive integer. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fixed; + +/** + * Specifies a percentage of instances between 0 to 100%, inclusive. For + * example, specify 80 for 80%. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percent; + +@end + + /** * A ForwardingRule resource. A ForwardingRule resource specifies which pool of * target virtual machines to forward a packet to if it matches the given @@ -12836,6 +12895,26 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; /** [Output Only] Server-defined URL for the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; +/** + * An optional prefix to the service name for this Forwarding Rule. If + * specified, will be the first label of the fully qualified service name. + * The label must be 1-63 characters long, and comply with RFC1035. + * Specifically, the label must be 1-63 characters long and match the regular + * expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must + * be a lowercase letter, and all following characters must be a dash, + * lowercase letter, or digit, except the last character, which cannot be a + * dash. + * This field is only used for internal load balancing. + */ +@property(nonatomic, copy, nullable) NSString *serviceLabel; + +/** + * [Output Only] The internal fully qualified service name for this Forwarding + * Rule. + * This field is only used for internal load balancing. + */ +@property(nonatomic, copy, nullable) NSString *serviceName; + /** * This field is only used for INTERNAL load balancing. * For internal load balancing, this field identifies the subnetwork that the @@ -15511,6 +15590,9 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; */ @property(nonatomic, copy, nullable) NSString *selfLink; +/** [Output Only] The status of this managed instance group. */ +@property(nonatomic, strong, nullable) GTLRCompute_InstanceGroupManagerStatus *status; + /** * The URLs for all TargetPool resources to which instances in the * instanceGroup field are added. The target pools automatically apply to all @@ -15527,6 +15609,21 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; */ @property(nonatomic, strong, nullable) NSNumber *targetSize; +/** The update policy for this managed instance group. */ +@property(nonatomic, strong, nullable) GTLRCompute_InstanceGroupManagerUpdatePolicy *updatePolicy; + +/** + * Specifies the instance templates used by this managed instance group to + * create instances. + * Each version is defined by an instanceTemplate. Every template can appear at + * most once per instance group. This field overrides the top-level + * instanceTemplate field. Read more about the relationships between these + * fields. Exactly one version must leave the targetSize field unset. That + * version will be applied to all remaining instances. For more information, + * read about canary updates. + */ +@property(nonatomic, strong, nullable) NSArray *versions; + /** * [Output Only] The URL of the zone where the managed instance group is * located (for zonal resources). @@ -16151,6 +16248,119 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; @end +/** + * GTLRCompute_InstanceGroupManagerStatus + */ +@interface GTLRCompute_InstanceGroupManagerStatus : GTLRObject + +/** + * [Output Only] A bit indicating whether the managed instance group is in a + * stable state. A stable state means that: none of the instances in the + * managed instance group is currently undergoing any type of change (for + * example, creation, restart, or deletion); no future changes are scheduled + * for instances in the managed instance group; and the managed instance group + * itself is not being modified. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isStable; + +@end + + +/** + * GTLRCompute_InstanceGroupManagerUpdatePolicy + */ +@interface GTLRCompute_InstanceGroupManagerUpdatePolicy : GTLRObject + +/** + * The maximum number of instances that can be created above the specified + * targetSize during the update process. By default, a fixed value of 1 is + * used. This value can be either a fixed number or a percentage if the + * instance group has 10 or more instances. If you set a percentage, the number + * of instances will be rounded up if necessary. + * At least one of either maxSurge or maxUnavailable must be greater than 0. + * Learn more about maxSurge. + */ +@property(nonatomic, strong, nullable) GTLRCompute_FixedOrPercent *maxSurge; + +/** + * The maximum number of instances that can be unavailable during the update + * process. An instance is considered available if all of the following + * conditions are satisfied: + * - The instance's status is RUNNING. + * - If there is a health check on the instance group, the instance's liveness + * health check result must be HEALTHY at least once. If there is no health + * check on the group, then the instance only needs to have a status of RUNNING + * to be considered available. By default, a fixed value of 1 is used. This + * value can be either a fixed number or a percentage if the instance group has + * 10 or more instances. If you set a percentage, the number of instances will + * be rounded up if necessary. + * At least one of either maxSurge or maxUnavailable must be greater than 0. + * Learn more about maxUnavailable. + */ +@property(nonatomic, strong, nullable) GTLRCompute_FixedOrPercent *maxUnavailable; + +/** + * Minimal action to be taken on an instance. You can specify either RESTART to + * restart existing instances or REPLACE to delete and create new instances + * from the target template. If you specify a RESTART, the Updater will attempt + * to perform that action only. However, if the Updater determines that the + * minimal action you specify is not enough to perform the update, it might + * perform a more disruptive action. + * + * Likely values: + * @arg @c kGTLRCompute_InstanceGroupManagerUpdatePolicy_MinimalAction_Replace + * Value "REPLACE" + * @arg @c kGTLRCompute_InstanceGroupManagerUpdatePolicy_MinimalAction_Restart + * Value "RESTART" + */ +@property(nonatomic, copy, nullable) NSString *minimalAction; + +/** + * type + * + * Likely values: + * @arg @c kGTLRCompute_InstanceGroupManagerUpdatePolicy_Type_Opportunistic + * Value "OPPORTUNISTIC" + * @arg @c kGTLRCompute_InstanceGroupManagerUpdatePolicy_Type_Proactive Value + * "PROACTIVE" + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * GTLRCompute_InstanceGroupManagerVersion + */ +@interface GTLRCompute_InstanceGroupManagerVersion : GTLRObject + +@property(nonatomic, copy, nullable) NSString *instanceTemplate; + +/** + * Name of the version. Unique among all versions in the scope of this managed + * instance group. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Specifies the intended number of instances to be created from the + * instanceTemplate. The final number of instances created from the template + * will be equal to: + * - If expressed as a fixed number, the minimum of either targetSize.fixed or + * instanceGroupManager.targetSize is used. + * - if expressed as a percent, the targetSize would be (targetSize.percent/100 + * * InstanceGroupManager.targetSize) If there is a remainder, the number is + * rounded up. If unset, this version will update any remaining instances not + * updated by another version. Read Starting a canary update for more + * information. + */ +@property(nonatomic, strong, nullable) GTLRCompute_FixedOrPercent *targetSize; + +@end + + /** * GTLRCompute_InstanceGroupsAddInstancesRequest */ @@ -22859,12 +23069,14 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; * - * https://www.googleapis.com/compute/v1/projects/project/global/backendServices/backendService * - compute/v1/projects/project/global/backendServices/backendService - * - global/backendServices/backendService - * Use defaultService instead of defaultRouteAction when simple routing to a - * backend service is desired and other advanced capabilities like traffic - * splitting and URL rewrites are not required. - * Only one of defaultService, defaultRouteAction or defaultUrlRedirect must be - * set. + * - global/backendServices/backendService If defaultRouteAction is + * additionally specified, advanced routing actions like URL Rewrites, etc. + * take effect prior to sending the request to the backend. However, if + * defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if defaultRouteAction specifies any + * weightedBackendServices, defaultService must not be specified. + * Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. * Authorization requires one or more of the following Google IAM permissions * on the specified resource default_service: * - compute.backendBuckets.use @@ -22912,11 +23124,15 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; @property(nonatomic, strong, nullable) NSArray *paths; /** - * The URL of the backend service resource if this rule is matched. - * Use service instead of routeAction when simple routing to a backend service - * is desired and other advanced capabilities like traffic splitting and - * rewrites are not required. - * Only one of service, routeAction or urlRedirect should must be set. + * The full or partial URL of the backend service resource to which traffic is + * directed if this rule is matched. If routeAction is additionally specified, + * advanced routing actions like URL Rewrites, etc. take effect prior to + * sending the request to the backend. However, if service is specified, + * routeAction cannot contain any weightedBackendService s. Conversely, if + * routeAction specifies any weightedBackendServices, service must not be + * specified. + * Only one of urlRedirect, service or routeAction.weightedBackendService must + * be set. */ @property(nonatomic, copy, nullable) NSString *service; @@ -23226,6 +23442,8 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; * @arg @c kGTLRCompute_Quota_Metric_InUseAddresses Value "IN_USE_ADDRESSES" * @arg @c kGTLRCompute_Quota_Metric_InUseBackupSchedules Value * "IN_USE_BACKUP_SCHEDULES" + * @arg @c kGTLRCompute_Quota_Metric_InUseSnapshotSchedules Value + * "IN_USE_SNAPSHOT_SCHEDULES" * @arg @c kGTLRCompute_Quota_Metric_LocalSsdTotalGb Value * "LOCAL_SSD_TOTAL_GB" * @arg @c kGTLRCompute_Quota_Metric_Networks Value "NETWORKS" @@ -30477,12 +30695,15 @@ GTLR_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachable; @property(nonatomic, copy, nullable) NSString *creationTimestamp; /** - * The URL of the backendService resource if none of the hostRules match. - * Use defaultService instead of defaultRouteAction when simple routing to a - * backendService is desired and other advanced capabilities like traffic - * splitting and rewrites are not required. - * Only one of defaultService, defaultRouteAction or defaultUrlRedirect should - * must be set. + * The full or partial URL of the defaultService resource to which traffic is + * directed if none of the hostRules match. If defaultRouteAction is + * additionally specified, advanced routing actions like URL Rewrites, etc. + * take effect prior to sending the request to the backend. However, if + * defaultService is specified, defaultRouteAction cannot contain any + * weightedBackendServices. Conversely, if routeAction specifies any + * weightedBackendServices, service must not be specified. + * Only one of defaultService, defaultUrlRedirect or + * defaultRouteAction.weightedBackendService must be set. */ @property(nonatomic, copy, nullable) NSString *defaultService; diff --git a/Source/GeneratedServices/Compute/GTLRComputeObjects.m b/Source/GeneratedServices/Compute/GTLRComputeObjects.m index 61ee05a5e..93afbc510 100644 --- a/Source/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Source/GeneratedServices/Compute/GTLRComputeObjects.m @@ -1152,6 +1152,14 @@ NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_InstanceGroupManagersScopedList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_InstanceGroupManagerUpdatePolicy.minimalAction +NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_MinimalAction_Replace = @"REPLACE"; +NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_MinimalAction_Restart = @"RESTART"; + +// GTLRCompute_InstanceGroupManagerUpdatePolicy.type +NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_Type_Opportunistic = @"OPPORTUNISTIC"; +NSString * const kGTLRCompute_InstanceGroupManagerUpdatePolicy_Type_Proactive = @"PROACTIVE"; + // GTLRCompute_InstanceGroupsListInstances_Warning.code NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; NSString * const kGTLRCompute_InstanceGroupsListInstances_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; @@ -2121,6 +2129,7 @@ NSString * const kGTLRCompute_Quota_Metric_InternalAddresses = @"INTERNAL_ADDRESSES"; NSString * const kGTLRCompute_Quota_Metric_InUseAddresses = @"IN_USE_ADDRESSES"; NSString * const kGTLRCompute_Quota_Metric_InUseBackupSchedules = @"IN_USE_BACKUP_SCHEDULES"; +NSString * const kGTLRCompute_Quota_Metric_InUseSnapshotSchedules = @"IN_USE_SNAPSHOT_SCHEDULES"; NSString * const kGTLRCompute_Quota_Metric_LocalSsdTotalGb = @"LOCAL_SSD_TOTAL_GB"; NSString * const kGTLRCompute_Quota_Metric_Networks = @"NETWORKS"; NSString * const kGTLRCompute_Quota_Metric_NvidiaK80Gpus = @"NVIDIA_K80_GPUS"; @@ -5266,6 +5275,16 @@ @implementation GTLRCompute_FirewallLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_FixedOrPercent +// + +@implementation GTLRCompute_FixedOrPercent +@dynamic calculated, fixed, percent; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ForwardingRule @@ -5274,8 +5293,8 @@ @implementation GTLRCompute_FirewallLogConfig @implementation GTLRCompute_ForwardingRule @dynamic backendService, creationTimestamp, descriptionProperty, identifier, IPAddress, IPProtocol, ipVersion, kind, loadBalancingScheme, name, - network, networkTier, portRange, ports, region, selfLink, subnetwork, - target; + network, networkTier, portRange, ports, region, selfLink, serviceLabel, + serviceName, subnetwork, target; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -6137,7 +6156,8 @@ @implementation GTLRCompute_InstanceGroupManager @dynamic autoHealingPolicies, baseInstanceName, creationTimestamp, currentActions, descriptionProperty, distributionPolicy, fingerprint, identifier, instanceGroup, instanceTemplate, kind, name, namedPorts, - region, selfLink, targetPools, targetSize, zoneProperty; + region, selfLink, status, targetPools, targetSize, updatePolicy, + versions, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -6152,7 +6172,8 @@ @implementation GTLRCompute_InstanceGroupManager NSDictionary *map = @{ @"autoHealingPolicies" : [GTLRCompute_InstanceGroupManagerAutoHealingPolicy class], @"namedPorts" : [GTLRCompute_NamedPort class], - @"targetPools" : [NSString class] + @"targetPools" : [NSString class], + @"versions" : [GTLRCompute_InstanceGroupManagerVersion class] }; return map; } @@ -6434,6 +6455,36 @@ @implementation GTLRCompute_InstanceGroupManagersSetTargetPoolsRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagerStatus +// + +@implementation GTLRCompute_InstanceGroupManagerStatus +@dynamic isStable; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagerUpdatePolicy +// + +@implementation GTLRCompute_InstanceGroupManagerUpdatePolicy +@dynamic maxSurge, maxUnavailable, minimalAction, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InstanceGroupManagerVersion +// + +@implementation GTLRCompute_InstanceGroupManagerVersion +@dynamic instanceTemplate, name, targetSize; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_InstanceGroupsAddInstancesRequest diff --git a/Source/GeneratedServices/Compute/GTLRComputeQuery.h b/Source/GeneratedServices/Compute/GTLRComputeQuery.h index b9a9dc100..398eb6128 100644 --- a/Source/GeneratedServices/Compute/GTLRComputeQuery.h +++ b/Source/GeneratedServices/Compute/GTLRComputeQuery.h @@ -8407,8 +8407,8 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Performs a reset on the instance. For more information, see Resetting an - * instance. + * Performs a reset on the instance. This is a hard reset; the VM does not do a + * graceful shutdown. For more information, see Resetting an instance. * * Method: compute.instances.reset * @@ -8450,8 +8450,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCompute_Operation. * - * Performs a reset on the instance. For more information, see Resetting an - * instance. + * Performs a reset on the instance. This is a hard reset; the VM does not do a + * graceful shutdown. For more information, see Resetting an instance. * * @param project Project ID for this request. * @param zoneProperty The name of the zone for this request. diff --git a/Source/GeneratedServices/Dialogflow/GTLRDialogflowObjects.h b/Source/GeneratedServices/Dialogflow/GTLRDialogflowObjects.h index b904eab58..93b55b5d3 100644 --- a/Source/GeneratedServices/Dialogflow/GTLRDialogflowObjects.h +++ b/Source/GeneratedServices/Dialogflow/GTLRDialogflowObjects.h @@ -393,6 +393,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2beta1IntentT /** * Templates are not annotated with entity types, but they can contain * \@-prefixed entity type names as substrings. + * Template mode has been deprecated. Example mode is the only supported + * way to create new training phrases. If you have existing training + * phrases that you've created in template mode, those will continue to + * work. * * Value: "TEMPLATE" */ @@ -748,6 +752,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2IntentTraini /** * Templates are not annotated with entity types, but they can contain * \@-prefixed entity type names as substrings. + * Template mode has been deprecated. Example mode is the only supported + * way to create new training phrases. If you have existing training + * phrases that you've created in template mode, those will continue to + * work. * * Value: "TEMPLATE" */ @@ -1202,10 +1210,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, copy, nullable) NSString *kind; /** - * Required for all methods except `create` (`create` populates the name - * automatically. - * The unique identifier of the entity type. Format: - * `projects//agent/entityTypes/`. + * The unique identifier of the entity type. + * Required for EntityTypes.UpdateEntityType and + * EntityTypes.BatchUpdateEntityTypes methods. + * Format: `projects//agent/entityTypes/`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1402,9 +1410,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, strong, nullable) NSNumber *mlEnabled; /** - * Required for all methods except `create` (`create` populates the name - * automatically. * The unique identifier of this intent. + * Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + * methods. * Format: `projects//agent/intents/`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1458,7 +1466,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, copy, nullable) NSString *rootFollowupIntentName; /** - * Optional. The collection of examples/templates that the agent is + * Optional. The collection of examples that the agent is * trained on. */ @property(nonatomic, strong, nullable) NSArray *trainingPhrases; @@ -2097,7 +2105,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit /** - * Represents an example or template that the agent is trained on. + * Represents an example that the agent is trained on. */ @interface GTLRDialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase : GTLRObject @@ -2112,7 +2120,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, strong, nullable) NSArray *parts; /** - * Optional. Indicates how many times this example or template was added to + * Optional. Indicates how many times this example was added to * the intent. Each time a developer adds an existing sample by editing an * intent or training, this counter is increased. * @@ -2130,7 +2138,11 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit * can be annotated with entity types. (Value: "EXAMPLE") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase_Type_Template * Templates are not annotated with entity types, but they can contain - * \@-prefixed entity type names as substrings. (Value: "TEMPLATE") + * \@-prefixed entity type names as substrings. + * Template mode has been deprecated. Example mode is the only supported + * way to create new training phrases. If you have existing training + * phrases that you've created in template mode, those will continue to + * work. (Value: "TEMPLATE") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2beta1IntentTrainingPhrase_Type_TypeUnspecified * Not specified. This value should never be used. (Value: * "TYPE_UNSPECIFIED") @@ -2159,7 +2171,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, copy, nullable) NSString *entityType; /** - * Required. The text corresponding to the example or template, + * Required. The text corresponding to the example, * if there are no annotations. For * annotated examples, it is the text for one of the example's parts. */ @@ -2360,7 +2372,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit /** The collection of rich messages to present to the user. */ @property(nonatomic, strong, nullable) NSArray *fulfillmentMessages; -/** The text to be pronounced to the user or shown on the screen. */ +/** + * The text to be pronounced to the user or shown on the screen. + * Note: This is a legacy field, `fulfillment_messages` should be preferred. + */ @property(nonatomic, copy, nullable) NSString *fulfillmentText; /** @@ -2817,10 +2832,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, copy, nullable) NSString *kind; /** - * Required for all methods except `create` (`create` populates the name - * automatically. - * The unique identifier of the entity type. Format: - * `projects//agent/entityTypes/`. + * The unique identifier of the entity type. + * Required for EntityTypes.UpdateEntityType and + * EntityTypes.BatchUpdateEntityTypes methods. + * Format: `projects//agent/entityTypes/`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3142,9 +3157,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, strong, nullable) NSNumber *mlDisabled; /** - * Required for all methods except `create` (`create` populates the name - * automatically. * The unique identifier of this intent. + * Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + * methods. * Format: `projects//agent/intents/`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3198,7 +3213,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, copy, nullable) NSString *rootFollowupIntentName; /** - * Optional. The collection of examples/templates that the agent is + * Optional. The collection of examples that the agent is * trained on. */ @property(nonatomic, strong, nullable) NSArray *trainingPhrases; @@ -3776,7 +3791,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit /** - * Represents an example or template that the agent is trained on. + * Represents an example that the agent is trained on. */ @interface GTLRDialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase : GTLRObject @@ -3791,7 +3806,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, strong, nullable) NSArray *parts; /** - * Optional. Indicates how many times this example or template was added to + * Optional. Indicates how many times this example was added to * the intent. Each time a developer adds an existing sample by editing an * intent or training, this counter is increased. * @@ -3809,7 +3824,11 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit * can be annotated with entity types. (Value: "EXAMPLE") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase_Type_Template * Templates are not annotated with entity types, but they can contain - * \@-prefixed entity type names as substrings. (Value: "TEMPLATE") + * \@-prefixed entity type names as substrings. + * Template mode has been deprecated. Example mode is the only supported + * way to create new training phrases. If you have existing training + * phrases that you've created in template mode, those will continue to + * work. (Value: "TEMPLATE") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase_Type_TypeUnspecified * Not specified. This value should never be used. (Value: * "TYPE_UNSPECIFIED") @@ -3838,7 +3857,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit @property(nonatomic, copy, nullable) NSString *entityType; /** - * Required. The text corresponding to the example or template, + * Required. The text corresponding to the example, * if there are no annotations. For * annotated examples, it is the text for one of the example's parts. */ @@ -4136,7 +4155,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV2SessionEntit /** The collection of rich messages to present to the user. */ @property(nonatomic, strong, nullable) NSArray *fulfillmentMessages; -/** The text to be pronounced to the user or shown on the screen. */ +/** + * The text to be pronounced to the user or shown on the screen. + * Note: This is a legacy field, `fulfillment_messages` should be preferred. + */ @property(nonatomic, copy, nullable) NSString *fulfillmentText; /** diff --git a/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h b/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h index b6bcd0ed3..6500511f7 100644 --- a/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h +++ b/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h @@ -70,9 +70,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Deletes entity types in the specified agent. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.entityTypes.batchDelete * @@ -94,9 +92,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleLongrunningOperation. * * Deletes entity types in the specified agent. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest to @@ -114,9 +110,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Updates/Creates multiple entity types in the specified agent. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.entityTypes.batchUpdate * @@ -138,9 +132,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleLongrunningOperation. * * Updates/Creates multiple entity types in the specified agent. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2BatchUpdateEntityTypesRequest to @@ -276,9 +268,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Deletes entities in the specified entity type. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.entityTypes.entities.batchDelete * @@ -300,9 +290,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleLongrunningOperation. * * Deletes entities in the specified entity type. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2BatchDeleteEntitiesRequest to @@ -322,9 +310,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Updates or creates multiple entities in the specified entity type. This * method does not affect entities in the entity type that aren't explicitly * specified in the request. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.entityTypes.entities.batchUpdate * @@ -348,9 +334,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Updates or creates multiple entities in the specified entity type. This * method does not affect entities in the entity type that aren't explicitly * specified in the request. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2BatchUpdateEntitiesRequest to @@ -488,10 +472,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; @property(nonatomic, copy, nullable) NSString *languageCode; /** - * Required for all methods except `create` (`create` populates the name - * automatically. - * The unique identifier of the entity type. Format: - * `projects//agent/entityTypes/`. + * The unique identifier of the entity type. + * Required for EntityTypes.UpdateEntityType and + * EntityTypes.BatchUpdateEntityTypes methods. + * Format: `projects//agent/entityTypes/`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -509,11 +493,10 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * * @param object The @c GTLRDialogflow_GoogleCloudDialogflowV2EntityType to * include in the query. - * @param name Required for all methods except `create` (`create` populates the - * name - * automatically. - * The unique identifier of the entity type. Format: - * `projects//agent/entityTypes/`. + * @param name The unique identifier of the entity type. + * Required for EntityTypes.UpdateEntityType and + * EntityTypes.BatchUpdateEntityTypes methods. + * Format: `projects//agent/entityTypes/`. * * @return GTLRDialogflowQuery_ProjectsAgentEntityTypesPatch */ @@ -524,9 +507,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Exports the specified agent to a ZIP file. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.export * @@ -548,9 +529,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleLongrunningOperation. * * Exports the specified agent to a ZIP file. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2ExportAgentRequest to include in the @@ -571,9 +550,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Uploads new intents and entity types without deleting the existing ones. * Intents and entity types with the same name are replaced with the new * versions from ImportAgentRequest. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.import * @@ -598,9 +575,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Uploads new intents and entity types without deleting the existing ones. * Intents and entity types with the same name are replaced with the new * versions from ImportAgentRequest. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2ImportAgentRequest to include in the @@ -939,9 +914,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; @property(nonatomic, copy, nullable) NSString *languageCode; /** - * Required for all methods except `create` (`create` populates the name - * automatically. * The unique identifier of this intent. + * Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + * methods. * Format: `projects//agent/intents/`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -960,10 +935,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * * @param object The @c GTLRDialogflow_GoogleCloudDialogflowV2Intent to include * in the query. - * @param name Required for all methods except `create` (`create` populates the - * name - * automatically. - * The unique identifier of this intent. + * @param name The unique identifier of this intent. + * Required for Intents.UpdateIntent and Intents.BatchUpdateIntents + * methods. * Format: `projects//agent/intents/`. * * @return GTLRDialogflowQuery_ProjectsAgentIntentsPatch @@ -977,9 +951,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Restores the specified agent from a ZIP file. * Replaces the current agent version with a new one. All the intents and * entity types in the older version are deleted. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.restore * @@ -1003,9 +975,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Restores the specified agent from a ZIP file. * Replaces the current agent version with a new one. All the intents and * entity types in the older version are deleted. - * Operation - * + * Operation * * @param object The @c * GTLRDialogflow_GoogleCloudDialogflowV2RestoreAgentRequest to include in @@ -1581,9 +1551,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Trains the specified agent. - * Operation - * + * Operation * * Method: dialogflow.projects.agent.train * @@ -1605,9 +1573,7 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleLongrunningOperation. * * Trains the specified agent. - * Operation - * + * Operation * * @param object The @c GTLRDialogflow_GoogleCloudDialogflowV2TrainAgentRequest * to include in the query. diff --git a/Source/GeneratedServices/Fitness/GTLRFitnessObjects.h b/Source/GeneratedServices/Fitness/GTLRFitnessObjects.h index 363cbc05d..34597cdf7 100644 --- a/Source/GeneratedServices/Fitness/GTLRFitnessObjects.h +++ b/Source/GeneratedServices/Fitness/GTLRFitnessObjects.h @@ -291,9 +291,9 @@ GTLR_EXTERN NSString * const kGTLRFitness_Device_Type_Watch; @property(nonatomic, strong, nullable) NSNumber *endTimeMillis; /** - * A list of acceptable data quality standards. Only data points which conform - * to at least one of the specified data quality standards will be returned. If - * the list is empty, all data points are returned. + * DO NOT POPULATE THIS FIELD. As data quality standards are deprecated, + * filling it in will result in no data sources being returned. It will be + * removed in a future version entirely. */ @property(nonatomic, strong, nullable) NSArray *filteredDataQualityStandard; @@ -533,7 +533,7 @@ GTLR_EXTERN NSString * const kGTLRFitness_Device_Type_Watch; /** * The largest end time of all data points in this possibly partial * representation of the dataset. Time is in nanoseconds from epoch. This - * should also match the first part of the dataset identifier. + * should also match the second part of the dataset identifier. * * Uses NSNumber of longLongValue. */ @@ -593,8 +593,9 @@ GTLR_EXTERN NSString * const kGTLRFitness_Device_Type_Watch; @property(nonatomic, strong, nullable) GTLRFitness_Application *application; /** - * DO NOT USE THIS FIELD. It is never populated in responses from the platform, - * and is ignored in queries. + * DO NOT POPULATE THIS FIELD. It is never populated in responses from the + * platform, and is ignored in queries. It will be removed in a future version + * entirely. */ @property(nonatomic, strong, nullable) NSArray *dataQualityStandard; diff --git a/Source/GeneratedServices/Gmail/GTLRGmailObjects.h b/Source/GeneratedServices/Gmail/GTLRGmailObjects.h index ab5e795c5..20c935759 100644 --- a/Source/GeneratedServices/Gmail/GTLRGmailObjects.h +++ b/Source/GeneratedServices/Gmail/GTLRGmailObjects.h @@ -813,7 +813,9 @@ GTLR_EXTERN NSString * const kGTLRGmail_WatchRequest_LabelFilterAction_Include; @interface GTLRGmail_ListMessagesResponse : GTLRCollectionObject /** - * List of messages. + * List of messages. Note that each message resource contains only an id and a + * threadId. Additional message details can be fetched using the messages.get + * method. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -876,7 +878,9 @@ GTLR_EXTERN NSString * const kGTLRGmail_WatchRequest_LabelFilterAction_Include; @property(nonatomic, strong, nullable) NSNumber *resultSizeEstimate; /** - * List of threads. + * List of threads. Note that each thread resource does not contain a list of + * messages. The list of messages for a given thread can be fetched using the + * threads.get method. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. diff --git a/Source/GeneratedServices/Iam/GTLRIamObjects.h b/Source/GeneratedServices/Iam/GTLRIamObjects.h index 5651ed2e2..398057240 100644 --- a/Source/GeneratedServices/Iam/GTLRIamObjects.h +++ b/Source/GeneratedServices/Iam/GTLRIamObjects.h @@ -996,6 +996,23 @@ GTLR_EXTERN NSString * const kGTLRIam_ServiceAccountKey_PrivateKeyType_TypeUnspe @end +/** + * The patch service account request. + */ +@interface GTLRIam_PatchServiceAccountRequest : GTLRObject + +@property(nonatomic, strong, nullable) GTLRIam_ServiceAccount *serviceAccount; + +/** + * updateMask + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * A permission which can be included by a role. */ diff --git a/Source/GeneratedServices/Iam/GTLRIamObjects.m b/Source/GeneratedServices/Iam/GTLRIamObjects.m index 535b4172a..56f75020e 100644 --- a/Source/GeneratedServices/Iam/GTLRIamObjects.m +++ b/Source/GeneratedServices/Iam/GTLRIamObjects.m @@ -336,6 +336,16 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRIam_PatchServiceAccountRequest +// + +@implementation GTLRIam_PatchServiceAccountRequest +@dynamic serviceAccount, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRIam_Permission diff --git a/Source/GeneratedServices/Iam/GTLRIamQuery.h b/Source/GeneratedServices/Iam/GTLRIamQuery.h index 78648e207..ce18a1eaf 100644 --- a/Source/GeneratedServices/Iam/GTLRIamQuery.h +++ b/Source/GeneratedServices/Iam/GTLRIamQuery.h @@ -24,6 +24,7 @@ @class GTLRIam_CreateServiceAccountKeyRequest; @class GTLRIam_CreateServiceAccountRequest; @class GTLRIam_LintPolicyRequest; +@class GTLRIam_PatchServiceAccountRequest; @class GTLRIam_QueryAuditableServicesRequest; @class GTLRIam_QueryGrantableRolesRequest; @class GTLRIam_QueryTestablePermissionsRequest; @@ -1128,6 +1129,62 @@ GTLR_EXTERN NSString * const kGTLRIamViewFull; @end +/** + * Patches a ServiceAccount. + * Currently, only the following fields are updatable: + * `display_name` and `description`. + * Only fields specified in the request are garaunteed to be returned in + * the response. Other fields in the response may be empty. + * Note: The field mask is required. + * + * Method: iam.projects.serviceAccounts.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeIamCloudPlatform + */ +@interface GTLRIamQuery_ProjectsServiceAccountsPatch : GTLRIamQuery +// Previous library name was +// +[GTLQueryIam queryForProjectsServiceAccountsPatchWithObject:name:] + +/** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Requests using `-` as a wildcard for the `PROJECT_ID` will infer the + * project from the `account` and the `ACCOUNT` value can be the `email` + * address or the `unique_id` of the service account. + * In responses the resource name will always be in the format + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRIam_ServiceAccount. + * + * Patches a ServiceAccount. + * Currently, only the following fields are updatable: + * `display_name` and `description`. + * Only fields specified in the request are garaunteed to be returned in + * the response. Other fields in the response may be empty. + * Note: The field mask is required. + * + * @param object The @c GTLRIam_PatchServiceAccountRequest to include in the + * query. + * @param name The resource name of the service account in the following + * format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Requests using `-` as a wildcard for the `PROJECT_ID` will infer the + * project from the `account` and the `ACCOUNT` value can be the `email` + * address or the `unique_id` of the service account. + * In responses the resource name will always be in the format + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * + * @return GTLRIamQuery_ProjectsServiceAccountsPatch + */ ++ (instancetype)queryWithObject:(GTLRIam_PatchServiceAccountRequest *)object + name:(NSString *)name; + +@end + /** * Sets the IAM access control policy for a * ServiceAccount. diff --git a/Source/GeneratedServices/Iam/GTLRIamQuery.m b/Source/GeneratedServices/Iam/GTLRIamQuery.m index 846cb2e94..8be567a23 100644 --- a/Source/GeneratedServices/Iam/GTLRIamQuery.m +++ b/Source/GeneratedServices/Iam/GTLRIamQuery.m @@ -563,6 +563,31 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRIamQuery_ProjectsServiceAccountsPatch + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRIam_PatchServiceAccountRequest *)object + name:(NSString *)name { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRIamQuery_ProjectsServiceAccountsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRIam_ServiceAccount class]; + query.loggingName = @"iam.projects.serviceAccounts.patch"; + return query; +} + +@end + @implementation GTLRIamQuery_ProjectsServiceAccountsSetIamPolicy @dynamic resource; diff --git a/Source/GeneratedServices/Logging/GTLRLoggingObjects.h b/Source/GeneratedServices/Logging/GTLRLoggingObjects.h index 201e13340..434c71427 100644 --- a/Source/GeneratedServices/Logging/GTLRLoggingObjects.h +++ b/Source/GeneratedServices/Logging/GTLRLoggingObjects.h @@ -931,7 +931,7 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L @property(nonatomic, copy, nullable) NSString *logName; /** - * Output only. Additional metadata about the monitored resource. Only + * Output only. Additional metadata about the monitored resource.Only * k8s_container, k8s_pod, and k8s_node MonitoredResources have this field * populated. */ @@ -953,10 +953,10 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L @property(nonatomic, strong, nullable) GTLRDateTime *receiveTimestamp; /** - * Required. The primary monitored resource associated with this log entry. - * Example: a log entry that reports a database error would be associated with - * the monitored resource designating the particular database that reported the - * error. + * Required. The primary monitored resource associated with this log + * entry.Example: a log entry that reports a database error would be associated + * with the monitored resource designating the particular database that + * reported the error. */ @property(nonatomic, strong, nullable) GTLRLogging_MonitoredResource *resource; @@ -994,7 +994,7 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L @property(nonatomic, strong, nullable) GTLRLogging_LogEntrySourceLocation *sourceLocation; /** - * Optional. The span ID within the trace associated with the log entry. For + * Optional. The span ID within the trace associated with the log entry.For * Trace spans, this is the same format that the Trace API v2 uses: a * 16-character hexadecimal encoding of an 8-byte array, such as * "000000000000004a". @@ -1027,10 +1027,10 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L @property(nonatomic, copy, nullable) NSString *trace; /** - * Optional. The sampling decision of the trace associated with the log entry. - * True means that the trace resource name in the trace field was sampled for - * storage in a trace backend. False means that the trace was not sampled for - * storage when this log entry was written, or the sampling decision was + * Optional. The sampling decision of the trace associated with the log + * entry.True means that the trace resource name in the trace field was sampled + * for storage in a trace backend. False means that the trace was not sampled + * for storage when this log entry was written, or the sampling decision was * unknown at the time. A non-sampled trace value is still useful as a request * correlation identifier. The default is False. * @@ -1159,6 +1159,12 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L */ @interface GTLRLogging_LogExclusion : GTLRObject +/** + * Output only. The creation timestamp of the exclusion.This field may not be + * present for older exclusions. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + /** * Optional. A description of this exclusion. * @@ -1168,7 +1174,7 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L /** * Optional. If set to True, then this exclusion is disabled and it does not - * exclude any log entries. You can use exclusions.patch to change the value of + * exclude any log entries. You can update an exclusion to change the value of * this field. * * Uses NSNumber of boolValue. @@ -1192,6 +1198,12 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The last update timestamp of the exclusion.This field may not + * be present for older exclusions. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end @@ -1255,6 +1267,12 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L */ @property(nonatomic, strong, nullable) GTLRLogging_BucketOptions *bucketOptions; +/** + * Output only. The creation timestamp of the metric.This field may not be + * present for older metrics. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + /** * Optional. A description of this metric, which is used in documentation. The * maximum length of the description is 8000 characters. @@ -1318,6 +1336,12 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The last update timestamp of the metric.This field may not be + * present for older metrics. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + /** * Optional. A value_extractor is required when using a distribution logs-based * metric to extract the values to record from a log entry. Two functions are @@ -1380,6 +1404,12 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L */ @interface GTLRLogging_LogSink : GTLRObject +/** + * Output only. The creation timestamp of the sink.This field may not be + * present for older sinks. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + /** * Required. The export destination: * "storage.googleapis.com/[GCS_BUCKET]" @@ -1387,7 +1417,7 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" * The sink's writer_identity, set when the sink is created, must have * permission to write to the destination or else the log entries are not - * exported. For more information, see Exporting Logs With Sinks. + * exported. For more information, see Exporting Logs with Sinks. */ @property(nonatomic, copy, nullable) NSString *destination; @@ -1440,13 +1470,19 @@ GTLR_EXTERN NSString * const kGTLRLogging_MetricDescriptorMetadata_LaunchStage_L */ @property(nonatomic, copy, nullable) NSString *outputVersionFormat; +/** + * Output only. The last update timestamp of the sink.This field may not be + * present for older sinks. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + /** * Output only. An IAM identity—a service account or group—under * which Logging writes the exported log entries to the sink's destination. - * This field is set by sinks.create and sinks.update, based on the setting of + * This field is set by sinks.create and sinks.update based on the value of * unique_writer_identity in those methods.Until you grant this identity * write-access to the destination, log entry exports from this sink will fail. - * For more information, see Granting access for a resource. Consult the + * For more information, see Granting Access for a Resource. Consult the * destination service's documentation to determine the appropriate IAM roles * to assign to the identity. */ diff --git a/Source/GeneratedServices/Logging/GTLRLoggingObjects.m b/Source/GeneratedServices/Logging/GTLRLoggingObjects.m index f6c90fd02..aad33bc2f 100644 --- a/Source/GeneratedServices/Logging/GTLRLoggingObjects.m +++ b/Source/GeneratedServices/Logging/GTLRLoggingObjects.m @@ -388,7 +388,7 @@ @implementation GTLRLogging_LogEntrySourceLocation // @implementation GTLRLogging_LogExclusion -@dynamic descriptionProperty, disabled, filter, name; +@dynamic createTime, descriptionProperty, disabled, filter, name, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -413,8 +413,9 @@ @implementation GTLRLogging_LogLine // @implementation GTLRLogging_LogMetric -@dynamic bucketOptions, descriptionProperty, filter, labelExtractors, - metricDescriptor, name, valueExtractor, version; +@dynamic bucketOptions, createTime, descriptionProperty, filter, + labelExtractors, metricDescriptor, name, updateTime, valueExtractor, + version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -443,8 +444,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRLogging_LogSink -@dynamic destination, filter, includeChildren, name, outputVersionFormat, - writerIdentity; +@dynamic createTime, destination, filter, includeChildren, name, + outputVersionFormat, updateTime, writerIdentity; @end diff --git a/Source/GeneratedServices/Logging/GTLRLoggingQuery.h b/Source/GeneratedServices/Logging/GTLRLoggingQuery.h index 8ec651eca..78eb704a1 100644 --- a/Source/GeneratedServices/Logging/GTLRLoggingQuery.h +++ b/Source/GeneratedServices/Logging/GTLRLoggingQuery.h @@ -610,9 +610,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.billingAccounts.sinks.patch * @@ -667,9 +666,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -689,9 +687,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.billingAccounts.sinks.update * @@ -746,9 +743,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -1652,9 +1648,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.folders.sinks.patch * @@ -1709,9 +1704,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -1731,9 +1725,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.folders.sinks.update * @@ -1788,9 +1781,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -2531,9 +2523,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.organizations.sinks.patch * @@ -2588,9 +2579,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -2610,9 +2600,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.organizations.sinks.update * @@ -2667,9 +2656,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -3460,9 +3448,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.projects.sinks.patch * @@ -3517,9 +3504,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -3539,9 +3525,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.projects.sinks.update * @@ -3596,9 +3581,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, @@ -3828,9 +3812,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * Method: logging.sinks.update * @@ -3885,9 +3868,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRLogging_LogSink. * * Updates a sink. This method replaces the following fields in the existing - * sink with values from the new sink: destination, and filter. The updated - * sink might also have a new writer_identity; see the unique_writer_identity - * field. + * sink with values from the new sink: destination, and filter.The updated sink + * might also have a new writer_identity; see the unique_writer_identity field. * * @param object The @c GTLRLogging_LogSink to include in the query. * @param sinkName Required. The full resource name of the sink to update, diff --git a/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.h b/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.h index 28e4cbce8..e69b4d258 100644 --- a/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.h +++ b/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.h @@ -60,7 +60,7 @@ @class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteexecutionV1testOutputFile; @class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteexecutionV1testToolDetails; @class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2Blob; -@class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Statistics_Item; +@class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Metadata_Item; @class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs; @class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskInputsEnvironmentVariable; @class GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs; @@ -106,10 +106,10 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecution */ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2CacheCapabilities_SymlinkAbsolutePathStrategy_Allowed; /** - * Server will return an INVALID_ARGUMENT on input symlinks with absolute + * Server will return an `INVALID_ARGUMENT` on input symlinks with absolute * targets. * If an action tries to create an output symlink with an absolute target, a - * FAILED_PRECONDITION will be returned. + * `FAILED_PRECONDITION` will be returned. * * Value: "DISALLOWED" */ @@ -150,13 +150,29 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecution // ---------------------------------------------------------------------------- // GTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities.digestFunction -/** Value: "MD5" */ +/** + * The MD5 digest function. + * + * Value: "MD5" + */ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Md5; -/** Value: "SHA1" */ +/** + * The Sha-1 digest function. + * + * Value: "SHA1" + */ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Sha1; -/** Value: "SHA256" */ +/** + * The Sha-256 digest function. + * + * Value: "SHA256" + */ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Sha256; -/** Value: "UNKNOWN" */ +/** + * It is an error for the server to return this value. + * + * Value: "UNKNOWN" + */ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Unknown; // ---------------------------------------------------------------------------- @@ -701,11 +717,12 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * possibly * resulting in non-hermetic builds. (Value: "ALLOWED") * @arg @c kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2CacheCapabilities_SymlinkAbsolutePathStrategy_Disallowed - * Server will return an INVALID_ARGUMENT on input symlinks with absolute + * Server will return an `INVALID_ARGUMENT` on input symlinks with + * absolute * targets. * If an action tries to create an output symlink with an absolute * target, a - * FAILED_PRECONDITION will be returned. (Value: "DISALLOWED") + * `FAILED_PRECONDITION` will be returned. (Value: "DISALLOWED") * @arg @c kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2CacheCapabilities_SymlinkAbsolutePathStrategy_Unknown * Value "UNKNOWN" */ @@ -736,7 +753,8 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * The environment variables to set when running the program. The worker may * provide its own default environment variables; these defaults can be * overridden using this field. Additional variables can also be specified. - * In order to ensure that equivalent `Command`s always hash to the same + * In order to ensure that equivalent + * Commands always hash to the same * value, the environment variables MUST be lexicographically sorted by name. * Sorting of strings is done by code point, equivalently, by the UTF-8 bytes. */ @@ -744,10 +762,12 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke /** * A list of the output directories that the client expects to retrieve from - * the action. Only the contents of the indicated directories (recursively - * including the contents of their subdirectories) will be - * returned, as well as files listed in `output_files`. Other files that may - * be created during command execution are discarded. + * the action. Only the listed directories will be returned (an entire + * directory structure will be returned as a + * Tree message digest, see + * OutputDirectory), as + * well as files listed in `output_files`. Other files or directories that + * may be created during command execution are discarded. * The paths are relative to the working directory of the action execution. * The paths are specified using a single forward slash (`/`) as a path * separator, even if the execution platform natively uses a different @@ -758,9 +778,11 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * In order to ensure consistent hashing of the same Action, the output paths * MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 * bytes). - * An output directory cannot be duplicated, be a parent of another output - * directory, be a parent of a listed output file, or have the same path as - * any of the listed output files. + * An output directory cannot be duplicated or have the same path as any of + * the listed output files. + * Directories leading up to the output directories (but not the output + * directories themselves) are created by the worker prior to execution, even + * if they are not explicitly part of the input root. */ @property(nonatomic, strong, nullable) NSArray *outputDirectories; @@ -768,7 +790,8 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * A list of the output files that the client expects to retrieve from the * action. Only the listed files, as well as directories listed in * `output_directories`, will be returned to the client as output. - * Other files that may be created during command execution are discarded. + * Other files or directories that may be created during command execution + * are discarded. * The paths are relative to the working directory of the action execution. * The paths are specified using a single forward slash (`/`) as a path * separator, even if the execution platform natively uses a different @@ -777,9 +800,10 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * In order to ensure consistent hashing of the same Action, the output paths * MUST be sorted lexicographically by code point (or, equivalently, by UTF-8 * bytes). - * An output file cannot be duplicated, be a parent of another output file, be - * a child of a listed output directory, or have the same path as any of the - * listed output directories. + * An output file cannot be duplicated, be a parent of another output file, or + * have the same path as any of the listed output directories. + * Directories leading up to the output files are created by the worker prior + * to execution, even if they are not explicitly part of the input root. */ @property(nonatomic, strong, nullable) NSArray *outputFiles; @@ -839,11 +863,11 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * When a `Digest` is used to refer to a proto message, it always refers to the * message in binary encoded form. To ensure consistent hashing, clients and * servers MUST ensure that they serialize messages according to the following - * rules, even if there are alternate valid encodings for the same message. - * - Fields are serialized in tag order. - * - There are no unknown fields. - * - There are no duplicate fields. - * - Fields are serialized according to the default semantics for their type. + * rules, even if there are alternate valid encodings for the same message: + * * Fields are serialized in tag order. + * * There are no unknown fields. + * * There are no duplicate fields. + * * Fields are serialized according to the default semantics for their type. * Most protocol buffer implementations will always follow these rules when * serializing, but care should be taken to avoid shortcuts. For instance, * concatenating two messages to merge them may produce duplicate fields. @@ -879,10 +903,10 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * In order to ensure that two equivalent directory trees hash to the same * value, the following restrictions MUST be obeyed when constructing a * a `Directory`: - * - Every child in the directory must have a path of exactly one segment. + * * Every child in the directory must have a path of exactly one segment. * Multiple levels of directory hierarchy may not be collapsed. - * - Each child in the directory must have a unique path segment (file name). - * - The files, directories and symlinks in the directory must each be sorted + * * Each child in the directory must have a unique path segment (file name). + * * The files, directories and symlinks in the directory must each be sorted * in lexicographical order by path. The path strings must be sorted by code * point, equivalently, by UTF-8 bytes. * A `Directory` that obeys the restrictions is said to be in canonical form. @@ -1101,6 +1125,12 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke */ @property(nonatomic, strong, nullable) NSNumber *cachedResult; +/** + * Freeform informational message with details on the execution of the action + * that may be displayed to the user upon failure or when requested explicitly. + */ +@property(nonatomic, copy, nullable) NSString *message; + /** The result of the action. */ @property(nonatomic, strong, nullable) GTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ActionResult *result; @@ -1160,13 +1190,13 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * * Likely values: * @arg @c kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Md5 - * Value "MD5" + * The MD5 digest function. (Value: "MD5") * @arg @c kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Sha1 - * Value "SHA1" + * The Sha-1 digest function. (Value: "SHA1") * @arg @c kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Sha256 - * Value "SHA256" + * The Sha-256 digest function. (Value: "SHA256") * @arg @c kGTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecutionCapabilities_DigestFunction_Unknown - * Value "UNKNOWN" + * It is an error for the server to return this value. (Value: "UNKNOWN") */ @property(nonatomic, copy, nullable) NSString *digestFunction; @@ -1475,8 +1505,8 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke * other * purposes. To use it, the client attaches the header to the call using the * canonical proto serialization: - * name: build.bazel.remote.execution.v2.requestmetadata-bin - * contents: the base64 encoded binary RequestMetadata message. + * * name: `build.bazel.remote.execution.v2.requestmetadata-bin` + * * contents: the base64 encoded binary `RequestMetadata` message. */ @interface GTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2RequestMetadata : GTLRObject @@ -1616,31 +1646,36 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke /** - * GTLRRemoteBuildExecution_BuildBazelSemverSemVer + * The full version of a given tool. */ @interface GTLRRemoteBuildExecution_BuildBazelSemverSemVer : GTLRObject /** - * major + * The major version, e.g 10 for 10.2.3. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *major; /** - * minor + * The minor version, e.g. 2 for 10.2.3. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *minor; /** - * patch + * The patch version, e.g 3 for 10.2.3. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *patch; +/** + * The pre-release version. Either this field or major/minor/patch fields + * must be filled. They are mutually exclusive. Pre-release versions are + * assumed to be earlier than any released versions. + */ @property(nonatomic, copy, nullable) NSString *prerelease; @end @@ -1848,6 +1883,13 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke */ @property(nonatomic, copy, nullable) NSString *location; +/** + * Output only. Whether stack driver logging is enabled for the instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *loggingEnabled; + /** * Output only. Instance resource name formatted as: * `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. @@ -1992,8 +2034,10 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke @property(nonatomic, copy, nullable) NSString *minCpuPlatform; /** - * Output only. `reserved=true` means the worker is reserved and won't be - * preempted. + * Determines whether the worker is reserved (and therefore won't be + * preempted). + * See [Preemptible VMs](https://cloud.google.com/preemptible-vms/) for more + * details. * * Uses NSNumber of boolValue. */ @@ -2816,6 +2860,16 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke */ @property(nonatomic, strong, nullable) NSNumber *exitCode; +/** + * Implementation-dependent metadata about the task. Both servers and bots + * may define messages which can be encoded here; bots are free to provide + * metadata in multiple formats, and servers are free to choose one or more + * of the values to process and ignore others. In particular, it is *not* + * considered an error for the bot to provide the server with a field that it + * doesn't know about. + */ +@property(nonatomic, strong, nullable) NSArray *metadata; + /** * The output files. The blob referenced by the digest should contain * one of the following (implementation-dependent): @@ -2830,16 +2884,6 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke */ @property(nonatomic, strong, nullable) GTLRDuration *overhead; -/** - * Implementation-dependent statistics about the task. Both servers and bots - * may define messages which can be encoded here; bots are free to provide - * statistics in multiple formats, and servers are free to choose one or more - * of the values to process and ignore others. In particular, it is *not* - * considered an error for the bot to provide the server with a field that it - * doesn't know about. - */ -@property(nonatomic, strong, nullable) NSArray *statistics; - /** * An overall status for the command. For example, if the command timed out, * this might have a code of DEADLINE_EXCEEDED; if it was killed by the OS for @@ -2851,14 +2895,14 @@ GTLR_EXTERN NSString * const kGTLRRemoteBuildExecution_GoogleDevtoolsRemoteworke /** - * GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Statistics_Item + * GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Metadata_Item * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to * get the list of properties and then fetch them; or @c * -additionalProperties to fetch them all at once. */ -@interface GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Statistics_Item : GTLRObject +@interface GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Metadata_Item : GTLRObject @end diff --git a/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.m b/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.m index cb64f68f6..002a5107b 100644 --- a/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.m +++ b/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionObjects.m @@ -346,7 +346,7 @@ @implementation GTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteReque // @implementation GTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ExecuteResponse -@dynamic cachedResult, result, serverLogs, status; +@dynamic cachedResult, message, result, serverLogs, status; @end @@ -722,7 +722,7 @@ @implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdmin // @implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance -@dynamic location, name, state; +@dynamic location, loggingEnabled, name, state; @end @@ -1063,11 +1063,11 @@ @implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2Comma // @implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult -@dynamic duration, exitCode, outputs, overhead, statistics, status; +@dynamic duration, exitCode, metadata, outputs, overhead, status; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"statistics" : [GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Statistics_Item class] + @"metadata" : [GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Metadata_Item class] }; return map; } @@ -1077,10 +1077,10 @@ @implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2Comma // ---------------------------------------------------------------------------- // -// GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Statistics_Item +// GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Metadata_Item // -@implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Statistics_Item +@implementation GTLRRemoteBuildExecution_GoogleDevtoolsRemoteworkersV1test2CommandResult_Metadata_Item + (Class)classForAdditionalProperties { return [NSObject class]; diff --git a/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionQuery.h b/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionQuery.h index 965405fe6..6602e6e7a 100644 --- a/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionQuery.h +++ b/Source/GeneratedServices/RemoteBuildExecution/GTLRRemoteBuildExecutionQuery.h @@ -106,10 +106,6 @@ NS_ASSUME_NONNULL_BEGIN /** * Upload a new execution result. - * This method is intended for servers which implement the distributed cache - * independently of the - * Execution API. As a - * result, it is OPTIONAL for servers to implement. * In order to allow the server to perform access control based on the type of * action, and to assist with client debugging, the client MUST first upload * the Action that produced the @@ -117,7 +113,9 @@ NS_ASSUME_NONNULL_BEGIN * Command, into the * `ContentAddressableStorage`. * Errors: - * * `UNIMPLEMENTED`: This method is not supported by the server. + * * `INVALID_ARGUMENT`: One or more arguments are invalid. + * * `FAILED_PRECONDITION`: One or more errors occurred in updating the + * action result, such as a missing command or action. * * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the * entry to the cache. * @@ -166,10 +164,6 @@ NS_ASSUME_NONNULL_BEGIN * GTLRRemoteBuildExecution_BuildBazelRemoteExecutionV2ActionResult. * * Upload a new execution result. - * This method is intended for servers which implement the distributed cache - * independently of the - * Execution API. As a - * result, it is OPTIONAL for servers to implement. * In order to allow the server to perform access control based on the type of * action, and to assist with client debugging, the client MUST first upload * the Action that produced the @@ -177,7 +171,9 @@ NS_ASSUME_NONNULL_BEGIN * Command, into the * `ContentAddressableStorage`. * Errors: - * * `UNIMPLEMENTED`: This method is not supported by the server. + * * `INVALID_ARGUMENT`: One or more arguments are invalid. + * * `FAILED_PRECONDITION`: One or more errors occurred in updating the + * action result, such as a missing command or action. * * `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the * entry to the cache. * @@ -253,6 +249,9 @@ NS_ASSUME_NONNULL_BEGIN * * `INTERNAL`: An internal error occurred in the execution engine or the * worker. * * `DEADLINE_EXCEEDED`: The execution timed out. + * * `CANCELLED`: The operation was cancelled by the client. This status is + * only possible if the server implements the Operations API CancelOperation + * method, and it was called for the current execution. * In the case of a missing input or command, the server SHOULD additionally * send a PreconditionFailure error detail * where, for each requested blob not present in the CAS, there is a @@ -327,6 +326,9 @@ NS_ASSUME_NONNULL_BEGIN * * `INTERNAL`: An internal error occurred in the execution engine or the * worker. * * `DEADLINE_EXCEEDED`: The execution timed out. + * * `CANCELLED`: The operation was cancelled by the client. This status is + * only possible if the server implements the Operations API CancelOperation + * method, and it was called for the current execution. * In the case of a missing input or command, the server SHOULD additionally * send a PreconditionFailure error detail * where, for each requested blob not present in the CAS, there is a diff --git a/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h b/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h index 6d25dddc0..c68c058cd 100644 --- a/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h +++ b/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h @@ -1190,6 +1190,7 @@ GTLR_EXTERN NSString * const kGTLRServiceControl_QuotaProperties_QuotaMode_Relea /** * Indicates if service activation check should be skipped for this request. * Default behavior is to perform the check and apply relevant quota. + * WARNING: Setting this flag to "true" will disable quota enforcement. * * Uses NSNumber of boolValue. */ diff --git a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h index 3581f50e5..a3ddd7a53 100644 --- a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h +++ b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h @@ -154,6 +154,51 @@ GTLR_EXTERN NSString * const kGTLRServiceManagement_AuditLogConfig_LogType_DataW */ GTLR_EXTERN NSString * const kGTLRServiceManagement_AuditLogConfig_LogType_LogTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRServiceManagement_BackendRule.pathTranslation + +/** + * The request path will be appended to the backend address. + * # Examples + * Given the following operation config: + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.appspot.com + * Requests to the following request paths will call the backend at the + * translated path: + * Request path: /api/company/widgetworks/user/johndoe + * Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST + * + * Value: "APPEND_PATH_TO_ADDRESS" + */ +GTLR_EXTERN NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_AppendPathToAddress; +/** + * Use the backend address as-is, with no modification to the path. If the + * URL pattern contains variables, the variable names and values will be + * appended to the query string. If a query string parameter and a URL + * pattern variable have the same name, this may result in duplicate keys in + * the query string. + * # Examples + * Given the following operation config: + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.cloudfunctions.net/getUser + * Requests to the following request paths will call the backend at the + * translated path: + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe + * + * Value: "CONSTANT_ADDRESS" + */ +GTLR_EXTERN NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_ConstantAddress; +/** Value: "PATH_TRANSLATION_UNSPECIFIED" */ +GTLR_EXTERN NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_PathTranslationUnspecified; + // ---------------------------------------------------------------------------- // GTLRServiceManagement_ConfigChange.changeType @@ -1101,6 +1146,11 @@ GTLR_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProto3; */ @property(nonatomic, strong, nullable) NSNumber *deadline; +/** + * The JWT audience is used when generating a JWT id token for the backend. + */ +@property(nonatomic, copy, nullable) NSString *jwtAudience; + /** * Minimum deadline in seconds needed for this method. Calls having deadline * value lower than this will be rejected. @@ -1117,6 +1167,51 @@ GTLR_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProto3; */ @property(nonatomic, strong, nullable) NSNumber *operationDeadline; +/** + * pathTranslation + * + * Likely values: + * @arg @c kGTLRServiceManagement_BackendRule_PathTranslation_AppendPathToAddress + * The request path will be appended to the backend address. + * # Examples + * Given the following operation config: + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.appspot.com + * Requests to the following request paths will call the backend at the + * translated path: + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST + * (Value: "APPEND_PATH_TO_ADDRESS") + * @arg @c kGTLRServiceManagement_BackendRule_PathTranslation_ConstantAddress + * Use the backend address as-is, with no modification to the path. If + * the + * URL pattern contains variables, the variable names and values will be + * appended to the query string. If a query string parameter and a URL + * pattern variable have the same name, this may result in duplicate keys + * in + * the query string. + * # Examples + * Given the following operation config: + * Method path: /api/company/{cid}/user/{uid} + * Backend address: https://example.cloudfunctions.net/getUser + * Requests to the following request paths will call the backend at the + * translated path: + * Request path: /api/company/widgetworks/user/johndoe + * Translated: + * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe + * Request path: /api/company/widgetworks/user/johndoe?timezone=EST + * Translated: + * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe + * (Value: "CONSTANT_ADDRESS") + * @arg @c kGTLRServiceManagement_BackendRule_PathTranslation_PathTranslationUnspecified + * Value "PATH_TRANSLATION_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *pathTranslation; + /** * Selects the methods to which this rule applies. * Refer to selector for syntax details. diff --git a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m index b5589d4e0..612e37d65 100644 --- a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m +++ b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m @@ -25,6 +25,11 @@ NSString * const kGTLRServiceManagement_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRServiceManagement_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +// GTLRServiceManagement_BackendRule.pathTranslation +NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_AppendPathToAddress = @"APPEND_PATH_TO_ADDRESS"; +NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_ConstantAddress = @"CONSTANT_ADDRESS"; +NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_PathTranslationUnspecified = @"PATH_TRANSLATION_UNSPECIFIED"; + // GTLRServiceManagement_ConfigChange.changeType NSString * const kGTLRServiceManagement_ConfigChange_ChangeType_Added = @"ADDED"; NSString * const kGTLRServiceManagement_ConfigChange_ChangeType_ChangeTypeUnspecified = @"CHANGE_TYPE_UNSPECIFIED"; @@ -294,7 +299,8 @@ @implementation GTLRServiceManagement_Backend // @implementation GTLRServiceManagement_BackendRule -@dynamic address, deadline, minDeadline, operationDeadline, selector; +@dynamic address, deadline, jwtAudience, minDeadline, operationDeadline, + pathTranslation, selector; @end diff --git a/Source/GeneratedServices/Speech/GTLRSpeechObjects.h b/Source/GeneratedServices/Speech/GTLRSpeechObjects.h index 485a4beed..8b891698d 100644 --- a/Source/GeneratedServices/Speech/GTLRSpeechObjects.h +++ b/Source/GeneratedServices/Speech/GTLRSpeechObjects.h @@ -382,6 +382,18 @@ GTLR_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_SpeexWithHea */ @property(nonatomic, strong, nullable) NSNumber *enableAutomaticPunctuation; +/** + * This needs to be set to `true` explicitly and `audio_channel_count` > 1 + * to get each channel recognized separately. The recognition result will + * contain a `channel_tag` field to state which channel that result belongs + * to. If this is not true, we will only recognize the first channel. The + * request is billed cumulatively for all channels recognized: + * `audio_channel_count` multiplied by the length of the audio. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableSeparateRecognitionPerChannel; + /** * *Optional* If `true`, the top result includes a list of words and * the start and end time offsets (timestamps) for those words. If @@ -564,6 +576,15 @@ GTLR_EXTERN NSString * const kGTLRSpeech_RecognitionConfig_Encoding_SpeexWithHea */ @property(nonatomic, strong, nullable) NSArray *alternatives; +/** + * For multi-channel audio, this is the channel number corresponding to the + * recognized result for the audio from that channel. + * For audio_channel_count = N, its output values can range from '1' to 'N'. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *channelTag; + @end diff --git a/Source/GeneratedServices/Speech/GTLRSpeechObjects.m b/Source/GeneratedServices/Speech/GTLRSpeechObjects.m index 2aed62118..d235e3299 100644 --- a/Source/GeneratedServices/Speech/GTLRSpeechObjects.m +++ b/Source/GeneratedServices/Speech/GTLRSpeechObjects.m @@ -173,9 +173,9 @@ @implementation GTLRSpeech_RecognitionAudio // @implementation GTLRSpeech_RecognitionConfig -@dynamic enableAutomaticPunctuation, enableWordTimeOffsets, encoding, - languageCode, maxAlternatives, model, profanityFilter, sampleRateHertz, - speechContexts, useEnhanced; +@dynamic enableAutomaticPunctuation, enableSeparateRecognitionPerChannel, + enableWordTimeOffsets, encoding, languageCode, maxAlternatives, model, + profanityFilter, sampleRateHertz, speechContexts, useEnhanced; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -193,7 +193,7 @@ @implementation GTLRSpeech_RecognitionConfig // @implementation GTLRSpeech_RecognitionResult -@dynamic alternatives; +@dynamic alternatives, channelTag; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/Speech/GTLRSpeechQuery.h b/Source/GeneratedServices/Speech/GTLRSpeechQuery.h index 490fcd926..9a173daf2 100644 --- a/Source/GeneratedServices/Speech/GTLRSpeechQuery.h +++ b/Source/GeneratedServices/Speech/GTLRSpeechQuery.h @@ -125,6 +125,127 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: speech.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpeechCloudPlatform + */ +@interface GTLRSpeechQuery_ProjectsLocationsOperationsGet : GTLRSpeechQuery +// Previous library name was +// +[GTLQuerySpeech queryForProjectsLocationsOperationsGetWithname:] + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSpeech_Operation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRSpeechQuery_ProjectsLocationsOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/ * /operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/ *}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + * + * Method: speech.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpeechCloudPlatform + */ +@interface GTLRSpeechQuery_ProjectsLocationsOperationsList : GTLRSpeechQuery +// Previous library name was +// +[GTLQuerySpeech queryForProjectsLocationsOperationsListWithname:] + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The name of the operation's parent resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSpeech_ListOperationsResponse. + * + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. + * NOTE: the `name` binding allows API services to override the binding + * to use different resource name schemes, such as `users/ * /operations`. To + * override the binding, API services can add a binding such as + * `"/v1/{name=users/ *}/operations"` to their service configuration. + * For backwards compatibility, the default name includes the operations + * collection id, however overriding users must ensure the name binding + * is the parent resource, without the operations collection id. + * + * @param name The name of the operation's parent resource. + * + * @return GTLRSpeechQuery_ProjectsLocationsOperationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * Method: speech.projects.operations.manualRecognitionTasks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpeechCloudPlatform + */ +@interface GTLRSpeechQuery_ProjectsOperationsManualRecognitionTasksGet : GTLRSpeechQuery +// Previous library name was +// +[GTLQuerySpeech queryForProjectsOperationsManualRecognitionTasksGetWithname:] + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSpeech_Operation. + * + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param name The name of the operation resource. + * + * @return GTLRSpeechQuery_ProjectsOperationsManualRecognitionTasksGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Performs asynchronous speech recognition: receive results via the * google.longrunning.Operations interface. Returns either an diff --git a/Source/GeneratedServices/Speech/GTLRSpeechQuery.m b/Source/GeneratedServices/Speech/GTLRSpeechQuery.m index 341b25623..1014bf540 100644 --- a/Source/GeneratedServices/Speech/GTLRSpeechQuery.m +++ b/Source/GeneratedServices/Speech/GTLRSpeechQuery.m @@ -54,6 +54,63 @@ + (instancetype)query { @end +@implementation GTLRSpeechQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSpeechQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpeech_Operation class]; + query.loggingName = @"speech.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRSpeechQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRSpeechQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpeech_ListOperationsResponse class]; + query.loggingName = @"speech.projects.locations.operations.list"; + return query; +} + +@end + +@implementation GTLRSpeechQuery_ProjectsOperationsManualRecognitionTasksGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSpeechQuery_ProjectsOperationsManualRecognitionTasksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSpeech_Operation class]; + query.loggingName = @"speech.projects.operations.manualRecognitionTasks.get"; + return query; +} + +@end + @implementation GTLRSpeechQuery_SpeechLongrunningrecognize + (instancetype)queryWithObject:(GTLRSpeech_LongRunningRecognizeRequest *)object { diff --git a/Source/GeneratedServices/Vision/GTLRVisionObjects.h b/Source/GeneratedServices/Vision/GTLRVisionObjects.h index 191f29b16..b5501a084 100644 --- a/Source/GeneratedServices/Vision/GTLRVisionObjects.h +++ b/Source/GeneratedServices/Vision/GTLRVisionObjects.h @@ -4105,7 +4105,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon for the crop region. The coordinates of the bounding - * box are in the original image's scale, as returned in `ImageParams`. + * box are in the original image's scale. */ @property(nonatomic, strong, nullable) GTLRVision_BoundingPoly *boundingPoly; @@ -4368,7 +4368,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon around the face. The coordinates of the bounding box - * are in the original image's scale, as returned in `ImageParams`. + * are in the original image's scale. * The bounding box is computed to "frame" the face in accordance with human * expectations. It is based on the landmarker results. * Note that one or more x and/or y coordinates may not be generated in the @@ -4862,7 +4862,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon for the crop region. The coordinates of the bounding - * box are in the original image's scale, as returned in `ImageParams`. + * box are in the original image's scale. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p1beta1BoundingPoly *boundingPoly; @@ -5039,7 +5039,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon around the face. The coordinates of the bounding box - * are in the original image's scale, as returned in `ImageParams`. + * are in the original image's scale. * The bounding box is computed to "frame" the face in accordance with human * expectations. It is based on the landmarker results. * Note that one or more x and/or y coordinates may not be generated in the @@ -6464,7 +6464,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon for the crop region. The coordinates of the bounding - * box are in the original image's scale, as returned in `ImageParams`. + * box are in the original image's scale. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p2beta1BoundingPoly *boundingPoly; @@ -6641,7 +6641,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon around the face. The coordinates of the bounding box - * are in the original image's scale, as returned in `ImageParams`. + * are in the original image's scale. * The bounding box is computed to "frame" the face in accordance with human * expectations. It is based on the landmarker results. * Note that one or more x and/or y coordinates may not be generated in the @@ -8108,7 +8108,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon for the crop region. The coordinates of the bounding - * box are in the original image's scale, as returned in `ImageParams`. + * box are in the original image's scale. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p3beta1BoundingPoly *boundingPoly; @@ -8285,7 +8285,7 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * The bounding polygon around the face. The coordinates of the bounding box - * are in the original image's scale, as returned in `ImageParams`. + * are in the original image's scale. * The bounding box is computed to "frame" the face in accordance with human * expectations. It is based on the landmarker results. * Note that one or more x and/or y coordinates may not be generated in the @@ -10545,7 +10545,8 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** * Output only. The time at which this ProductSet was last indexed. Query * results will reflect all updates before this time. If this ProductSet has - * never been indexed, this field is 0. + * never been indexed, this timestamp is the default value + * "1970-01-01T00:00:00Z". * This field is ignored when creating a ProductSet. */ @property(nonatomic, strong, nullable) GTLRDateTime *indexTime;