diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index f10464f1b..a7a2e204d 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -112,6 +112,10 @@ Pod::Spec.new do |s| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Source/GeneratedServices/BigQueryDataTransfer/*.{h,m}' end + s.subspec 'BigQueryReservation' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Source/GeneratedServices/BigQueryReservation/*.{h,m}' + end s.subspec 'Bigquery' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Source/GeneratedServices/Bigquery/*.{h,m}' @@ -344,6 +348,10 @@ Pod::Spec.new do |s| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Source/GeneratedServices/Docs/*.{h,m}' end + s.subspec 'DomainsRDAP' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Source/GeneratedServices/DomainsRDAP/*.{h,m}' + end s.subspec 'DoubleClickBidManager' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Source/GeneratedServices/DoubleClickBidManager/*.{h,m}' @@ -428,6 +436,10 @@ Pod::Spec.new do |s| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Source/GeneratedServices/HangoutsChat/*.{h,m}' end + s.subspec 'HomeGraphService' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Source/GeneratedServices/HomeGraphService/*.{h,m}' + end s.subspec 'IAMCredentials' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Source/GeneratedServices/IAMCredentials/*.{h,m}' diff --git a/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportObjects.h b/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportObjects.h index 1b8b61c71..89836eaf2 100644 --- a/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportObjects.h +++ b/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportObjects.h @@ -105,7 +105,7 @@ GTLR_EXTERN NSString * const kGTLRAbusiveExperienceReport_SiteSummaryResponse_Fi */ @property(nonatomic, copy, nullable) NSString *abusiveStatus; -/** The date on which enforcement begins. */ +/** The time at which enforcement begins. */ @property(nonatomic, strong, nullable) GTLRDateTime *enforcementTime; /** diff --git a/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportQuery.h b/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportQuery.h index 5aedf8bbc..a3e9ce1e1 100644 --- a/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportQuery.h +++ b/Source/GeneratedServices/AbusiveExperienceReport/GTLRAbusiveExperienceReportQuery.h @@ -49,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryAbusiveExperienceReport queryForSitesGetWithname:] /** - * The required site name. This is the site property whose abusive + * Required. The site property whose abusive * experiences have been reviewed, and it must be URL-encoded. For example, * sites/https%3A%2F%2Fwww.google.com. The server will return an error of * BAD_REQUEST if this field is not filled in. Note that if the site property @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN * * Gets a summary of the abusive experience rating of a site. * - * @param name The required site name. This is the site property whose abusive + * @param name Required. The site property whose abusive * experiences have been reviewed, and it must be URL-encoded. For example, * sites/https%3A%2F%2Fwww.google.com. The server will return an error of * BAD_REQUEST if this field is not filled in. Note that if the site property @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists sites with Abusive Experience Report statuses of "Failing". + * Lists sites with failing Abusive Experience Report statuses. * * Method: abusiveexperiencereport.violatingSites.list * @@ -95,7 +95,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRAbusiveExperienceReport_ViolatingSitesResponse. * - * Lists sites with Abusive Experience Report statuses of "Failing". + * Lists sites with failing Abusive Experience Report statuses. * * @return GTLRAbusiveExperienceReportQuery_ViolatingSitesList */ diff --git a/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportObjects.h b/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportObjects.h index cd40dc921..9a439bda4 100644 --- a/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportObjects.h +++ b/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportObjects.h @@ -54,7 +54,7 @@ GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_BetterAdsSt */ GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_BetterAdsStatus_Unknown; /** - * Warning. + * Warning. No longer a possible status. * * Value: "WARNING" */ @@ -122,11 +122,11 @@ GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_Region_Regi * @arg @c kGTLRAdExperienceReport_PlatformSummary_BetterAdsStatus_Unknown * Not reviewed. (Value: "UNKNOWN") * @arg @c kGTLRAdExperienceReport_PlatformSummary_BetterAdsStatus_Warning - * Warning. (Value: "WARNING") + * Warning. No longer a possible status. (Value: "WARNING") */ @property(nonatomic, copy, nullable) NSString *betterAdsStatus; -/** The date on which ad filtering begins. */ +/** The time at which ad filtering begins. */ @property(nonatomic, strong, nullable) GTLRDateTime *enforcementTime; /** diff --git a/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportQuery.h b/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportQuery.h index abdb776e4..08a3e4d56 100644 --- a/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportQuery.h +++ b/Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportQuery.h @@ -49,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryAdExperienceReport queryForSitesGetWithname:] /** - * The required site name. It should be the site property whose ad experiences + * Required. The site property whose ad experiences * may have been reviewed, and it should be URL-encoded. For example, * sites/https%3A%2F%2Fwww.google.com. The server will return an error of * BAD_REQUEST if this field is not filled in. Note that if the site property @@ -64,8 +64,7 @@ NS_ASSUME_NONNULL_BEGIN * * Gets a summary of the ad experience rating of a site. * - * @param name The required site name. It should be the site property whose ad - * experiences + * @param name Required. The site property whose ad experiences * may have been reviewed, and it should be URL-encoded. For example, * sites/https%3A%2F%2Fwww.google.com. The server will return an error of * BAD_REQUEST if this field is not filled in. Note that if the site property @@ -80,7 +79,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Lists sites with Ad Experience Report statuses of "Failing" or "Warning". + * Lists sites with failing Ad Experience Report statuses. * * Method: adexperiencereport.violatingSites.list * @@ -94,7 +93,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRAdExperienceReport_ViolatingSitesResponse. * - * Lists sites with Ad Experience Report statuses of "Failing" or "Warning". + * Lists sites with failing Ad Experience Report statuses. * * @return GTLRAdExperienceReportQuery_ViolatingSitesList */ diff --git a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h index e33148722..be8dc7ae8 100644 --- a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h +++ b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.h @@ -21,7 +21,10 @@ @class GTLRAlertCenter_Alert; @class GTLRAlertCenter_Alert_Data; @class GTLRAlertCenter_AlertFeedback; +@class GTLRAlertCenter_AlertMetadata; @class GTLRAlertCenter_Attachment; +@class GTLRAlertCenter_BatchDeleteAlertsResponse_FailedAlertStatus; +@class GTLRAlertCenter_BatchUndeleteAlertsResponse_FailedAlertStatus; @class GTLRAlertCenter_CloudPubsubTopic; @class GTLRAlertCenter_Csv; @class GTLRAlertCenter_CsvRow; @@ -31,6 +34,8 @@ @class GTLRAlertCenter_LoginDetails; @class GTLRAlertCenter_MaliciousEntity; @class GTLRAlertCenter_Notification; +@class GTLRAlertCenter_Status; +@class GTLRAlertCenter_Status_Details_Item; @class GTLRAlertCenter_SuspiciousActivitySecurityDetail; // Generated comments include content from the discovery document; avoid them @@ -205,6 +210,22 @@ GTLR_EXTERN NSString * const kGTLRAlertCenter_CloudPubsubTopic_PayloadFormat_Pay */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Optional. `etag` is used for optimistic concurrency control as a way to help + * prevent simultaneous updates of an alert from overwriting each other. + * It is strongly suggested that systems make use of the `etag` in the + * read-modify-write cycle to perform alert updates in order to avoid race + * conditions: An `etag` is returned in the response which contains alerts, + * and systems are expected to put that etag in the request to update alert to + * ensure that their change will be applied to the same version of the alert. + * If no `etag` is provided in the call to update alert, then the existing + * alert is overwritten blindly. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Output only. The metadata associated with this alert. */ +@property(nonatomic, strong, nullable) GTLRAlertCenter_AlertMetadata *metadata; + /** * Output only. An optional * [Security Investigation Tool](https://support.google.com/a/answer/7575955) @@ -299,6 +320,62 @@ GTLR_EXTERN NSString * const kGTLRAlertCenter_CloudPubsubTopic_PayloadFormat_Pay @end +/** + * An alert metadata. + */ +@interface GTLRAlertCenter_AlertMetadata : GTLRObject + +/** Output only. The alert identifier. */ +@property(nonatomic, copy, nullable) NSString *alertId; + +/** The email address of the user assigned to the alert. */ +@property(nonatomic, copy, nullable) NSString *assignee; + +/** + * Output only. The unique identifier of the Google account of the customer. + */ +@property(nonatomic, copy, nullable) NSString *customerId; + +/** + * Optional. `etag` is used for optimistic concurrency control as a way to + * help prevent simultaneous updates of an alert metadata from overwriting + * each other. It is strongly suggested that systems make use of the `etag` in + * the read-modify-write cycle to perform metatdata updates in order to avoid + * race conditions: An `etag` is returned in the response which contains alert + * metadata, and systems are expected to put that etag in the request to + * update alert metadata to ensure that their change will be applied to the + * same version of the alert metadata. + * If no `etag` is provided in the call to update alert metadata, then the + * existing alert metadata is overwritten blindly. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * The severity value of the alert. Alert Center will set this field at alert + * creation time, default's to an empty string when it could not be + * determined. + * The supported values for update actions on this field are the following: + * * HIGH + * * MEDIUM + * * LOW + */ +@property(nonatomic, copy, nullable) NSString *severity; + +/** + * The current status of the alert. + * The supported values are the following: + * * NOT_STARTED + * * IN_PROGRESS + * * CLOSED + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** Output only. The time this metadata was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Attachment with application-specific information about an alert. */ @@ -334,6 +411,92 @@ GTLR_EXTERN NSString * const kGTLRAlertCenter_CloudPubsubTopic_PayloadFormat_Pay @end +/** + * A request to perform batch delete on alerts. + */ +@interface GTLRAlertCenter_BatchDeleteAlertsRequest : GTLRObject + +/** Required. list of alert ids. */ +@property(nonatomic, strong, nullable) NSArray *alertId; + +/** + * Optional. The unique identifier of the G Suite organization account of the + * customer the alerts are associated with. + */ +@property(nonatomic, copy, nullable) NSString *customerId; + +@end + + +/** + * Response to batch delete operation on alerts. + */ +@interface GTLRAlertCenter_BatchDeleteAlertsResponse : GTLRObject + +/** The status details for each failed alert_id. */ +@property(nonatomic, strong, nullable) GTLRAlertCenter_BatchDeleteAlertsResponse_FailedAlertStatus *failedAlertStatus; + +/** The successful list of alert ids. */ +@property(nonatomic, strong, nullable) NSArray *successAlertIds; + +@end + + +/** + * The status details for each failed alert_id. + * + * @note This class is documented as having more properties of + * GTLRAlertCenter_Status. 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 GTLRAlertCenter_BatchDeleteAlertsResponse_FailedAlertStatus : GTLRObject +@end + + +/** + * A request to perform batch undelete on alerts. + */ +@interface GTLRAlertCenter_BatchUndeleteAlertsRequest : GTLRObject + +/** Required. list of alert ids. */ +@property(nonatomic, strong, nullable) NSArray *alertId; + +/** + * Optional. The unique identifier of the G Suite organization account of the + * customer the alerts are associated with. + */ +@property(nonatomic, copy, nullable) NSString *customerId; + +@end + + +/** + * Response to batch undelete operation on alerts. + */ +@interface GTLRAlertCenter_BatchUndeleteAlertsResponse : GTLRObject + +/** The status details for each failed alert_id. */ +@property(nonatomic, strong, nullable) GTLRAlertCenter_BatchUndeleteAlertsResponse_FailedAlertStatus *failedAlertStatus; + +/** The successful list of alert ids. */ +@property(nonatomic, strong, nullable) NSArray *successAlertIds; + +@end + + +/** + * The status details for each failed alert_id. + * + * @note This class is documented as having more properties of + * GTLRAlertCenter_Status. 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 GTLRAlertCenter_BatchUndeleteAlertsResponse_FailedAlertStatus : GTLRObject +@end + + /** * A reference to a Cloud Pubsub topic. * To register for notifications, the owner of the topic must grant @@ -715,6 +878,51 @@ GTLR_EXTERN NSString * const kGTLRAlertCenter_CloudPubsubTopic_PayloadFormat_Pay @end +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRAlertCenter_Status : GTLRObject + +/** + * The status code, which should be an enum value of google.rpc.Code. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ +@property(nonatomic, strong, nullable) NSArray *details; + +/** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRAlertCenter_Status_Details_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 GTLRAlertCenter_Status_Details_Item : GTLRObject +@end + + /** * A mobile suspicious activity alert. Derived from audit logs. */ diff --git a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m index d3871dff9..36d469fd7 100644 --- a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m +++ b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterObjects.m @@ -64,8 +64,14 @@ @implementation GTLRAlertCenter_ActivityRule // @implementation GTLRAlertCenter_Alert -@dynamic alertId, createTime, customerId, data, deleted, endTime, - securityInvestigationToolLink, source, startTime, type, updateTime; +@dynamic alertId, createTime, customerId, data, deleted, endTime, ETag, + metadata, securityInvestigationToolLink, source, startTime, type, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + @end @@ -93,6 +99,21 @@ @implementation GTLRAlertCenter_AlertFeedback @end +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_AlertMetadata +// + +@implementation GTLRAlertCenter_AlertMetadata +@dynamic alertId, assignee, customerId, ETag, severity, status, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAlertCenter_Attachment @@ -121,6 +142,106 @@ @implementation GTLRAlertCenter_BadWhitelist @end +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_BatchDeleteAlertsRequest +// + +@implementation GTLRAlertCenter_BatchDeleteAlertsRequest +@dynamic alertId, customerId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"alertId" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_BatchDeleteAlertsResponse +// + +@implementation GTLRAlertCenter_BatchDeleteAlertsResponse +@dynamic failedAlertStatus, successAlertIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"successAlertIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_BatchDeleteAlertsResponse_FailedAlertStatus +// + +@implementation GTLRAlertCenter_BatchDeleteAlertsResponse_FailedAlertStatus + ++ (Class)classForAdditionalProperties { + return [GTLRAlertCenter_Status class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_BatchUndeleteAlertsRequest +// + +@implementation GTLRAlertCenter_BatchUndeleteAlertsRequest +@dynamic alertId, customerId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"alertId" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_BatchUndeleteAlertsResponse +// + +@implementation GTLRAlertCenter_BatchUndeleteAlertsResponse +@dynamic failedAlertStatus, successAlertIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"successAlertIds" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_BatchUndeleteAlertsResponse_FailedAlertStatus +// + +@implementation GTLRAlertCenter_BatchUndeleteAlertsResponse_FailedAlertStatus + ++ (Class)classForAdditionalProperties { + return [GTLRAlertCenter_Status class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAlertCenter_CloudPubsubTopic @@ -401,6 +522,38 @@ @implementation GTLRAlertCenter_StateSponsoredAttack @end +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_Status +// + +@implementation GTLRAlertCenter_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRAlertCenter_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAlertCenter_Status_Details_Item +// + +@implementation GTLRAlertCenter_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAlertCenter_SuspiciousActivity diff --git a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.h b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.h index ec08b7d1d..db6844d47 100644 --- a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.h +++ b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.h @@ -19,6 +19,8 @@ #endif @class GTLRAlertCenter_AlertFeedback; +@class GTLRAlertCenter_BatchDeleteAlertsRequest; +@class GTLRAlertCenter_BatchUndeleteAlertsRequest; @class GTLRAlertCenter_Settings; @class GTLRAlertCenter_UndeleteAlertRequest; @@ -39,6 +41,58 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Performs batch delete operation on alerts. + * + * Method: alertcenter.alerts.batchDelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAlertCenterAppsAlerts + */ +@interface GTLRAlertCenterQuery_AlertsBatchDelete : GTLRAlertCenterQuery +// Previous library name was +// +[GTLQueryAlertCenter queryForAlertsBatchDeleteWithObject:] + +/** + * Fetches a @c GTLRAlertCenter_BatchDeleteAlertsResponse. + * + * Performs batch delete operation on alerts. + * + * @param object The @c GTLRAlertCenter_BatchDeleteAlertsRequest to include in + * the query. + * + * @return GTLRAlertCenterQuery_AlertsBatchDelete + */ ++ (instancetype)queryWithObject:(GTLRAlertCenter_BatchDeleteAlertsRequest *)object; + +@end + +/** + * Performs batch undelete operation on alerts. + * + * Method: alertcenter.alerts.batchUndelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAlertCenterAppsAlerts + */ +@interface GTLRAlertCenterQuery_AlertsBatchUndelete : GTLRAlertCenterQuery +// Previous library name was +// +[GTLQueryAlertCenter queryForAlertsBatchUndeleteWithObject:] + +/** + * Fetches a @c GTLRAlertCenter_BatchUndeleteAlertsResponse. + * + * Performs batch undelete operation on alerts. + * + * @param object The @c GTLRAlertCenter_BatchUndeleteAlertsRequest to include + * in the query. + * + * @return GTLRAlertCenterQuery_AlertsBatchUndelete + */ ++ (instancetype)queryWithObject:(GTLRAlertCenter_BatchUndeleteAlertsRequest *)object; + +@end + /** * Marks the specified alert for deletion. An alert that has been marked for * deletion is removed from Alert Center after 30 days. @@ -84,7 +138,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Creates new feedback for an alert. Attempting to create a feedback for - * a non-existent alert returns `NOT_FOUND` error. + * a non-existent alert returns `NOT_FOUND` error. Attempting to create a + * feedback for an alert that is marked for deletion returns + * `FAILED_PRECONDITION' error. * * Method: alertcenter.alerts.feedback.create * @@ -109,7 +165,9 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRAlertCenter_AlertFeedback. * * Creates new feedback for an alert. Attempting to create a feedback for - * a non-existent alert returns `NOT_FOUND` error. + * a non-existent alert returns `NOT_FOUND` error. Attempting to create a + * feedback for an alert that is marked for deletion returns + * `FAILED_PRECONDITION' error. * * @param object The @c GTLRAlertCenter_AlertFeedback to include in the query. * @param alertId Required. The identifier of the alert this feedback belongs @@ -209,6 +267,44 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Returns the metadata of an alert. Attempting to get metadata for + * a non-existent alert returns `NOT_FOUND` error. + * + * Method: alertcenter.alerts.getMetadata + * + * Authorization scope(s): + * @c kGTLRAuthScopeAlertCenterAppsAlerts + */ +@interface GTLRAlertCenterQuery_AlertsGetMetadata : GTLRAlertCenterQuery +// Previous library name was +// +[GTLQueryAlertCenter queryForAlertsGetMetadataWithalertId:] + +/** Required. The identifier of the alert this metadata belongs to. */ +@property(nonatomic, copy, nullable) NSString *alertId; + +/** + * Optional. The unique identifier of the G Suite organization account of the + * customer the alert metadata is associated with. + * Inferred from the caller identity if not provided. + */ +@property(nonatomic, copy, nullable) NSString *customerId; + +/** + * Fetches a @c GTLRAlertCenter_AlertMetadata. + * + * Returns the metadata of an alert. Attempting to get metadata for + * a non-existent alert returns `NOT_FOUND` error. + * + * @param alertId Required. The identifier of the alert this metadata belongs + * to. + * + * @return GTLRAlertCenterQuery_AlertsGetMetadata + */ ++ (instancetype)queryWithAlertId:(NSString *)alertId; + +@end + /** * Lists the alerts. * diff --git a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.m b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.m index cc6147d8c..e45744b64 100644 --- a/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.m +++ b/Source/GeneratedServices/AlertCenter/GTLRAlertCenterQuery.m @@ -18,6 +18,46 @@ @implementation GTLRAlertCenterQuery @end +@implementation GTLRAlertCenterQuery_AlertsBatchDelete + ++ (instancetype)queryWithObject:(GTLRAlertCenter_BatchDeleteAlertsRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"v1beta1/alerts:batchDelete"; + GTLRAlertCenterQuery_AlertsBatchDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRAlertCenter_BatchDeleteAlertsResponse class]; + query.loggingName = @"alertcenter.alerts.batchDelete"; + return query; +} + +@end + +@implementation GTLRAlertCenterQuery_AlertsBatchUndelete + ++ (instancetype)queryWithObject:(GTLRAlertCenter_BatchUndeleteAlertsRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"v1beta1/alerts:batchUndelete"; + GTLRAlertCenterQuery_AlertsBatchUndelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRAlertCenter_BatchUndeleteAlertsResponse class]; + query.loggingName = @"alertcenter.alerts.batchUndelete"; + return query; +} + +@end + @implementation GTLRAlertCenterQuery_AlertsDelete @dynamic alertId, customerId; @@ -100,6 +140,25 @@ + (instancetype)queryWithAlertId:(NSString *)alertId { @end +@implementation GTLRAlertCenterQuery_AlertsGetMetadata + +@dynamic alertId, customerId; + ++ (instancetype)queryWithAlertId:(NSString *)alertId { + NSArray *pathParams = @[ @"alertId" ]; + NSString *pathURITemplate = @"v1beta1/alerts/{alertId}/metadata"; + GTLRAlertCenterQuery_AlertsGetMetadata *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.alertId = alertId; + query.expectedObjectClass = [GTLRAlertCenter_AlertMetadata class]; + query.loggingName = @"alertcenter.alerts.getMetadata"; + return query; +} + +@end + @implementation GTLRAlertCenterQuery_AlertsList @dynamic customerId, filter, orderBy, pageSize, pageToken; diff --git a/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.h b/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.h index 01a6319ff..f316cc88c 100644 --- a/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.h +++ b/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.h @@ -4028,6 +4028,9 @@ NS_ASSUME_NONNULL_BEGIN /** Value is "analytics#userDeletionRequest". */ @property(nonatomic, copy, nullable) NSString *kind; +/** Property ID */ +@property(nonatomic, copy, nullable) NSString *propertyId; + /** Web property ID of the form UA-XXXXX-YY. */ @property(nonatomic, copy, nullable) NSString *webPropertyId; diff --git a/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.m b/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.m index 13a8adb7a..7e1c5ad0d 100644 --- a/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.m +++ b/Source/GeneratedServices/Analytics/GTLRAnalyticsObjects.m @@ -1596,7 +1596,7 @@ @implementation GTLRAnalytics_Uploads // @implementation GTLRAnalytics_UserDeletionRequest -@dynamic deletionRequestTime, firebaseProjectId, identifier, kind, +@dynamic deletionRequestTime, firebaseProjectId, identifier, kind, propertyId, webPropertyId; + (NSDictionary *)propertyToJSONKeyMap { diff --git a/Source/GeneratedServices/AnalyticsReporting/GTLRAnalyticsReportingObjects.h b/Source/GeneratedServices/AnalyticsReporting/GTLRAnalyticsReportingObjects.h index 058a3f072..28b58e146 100644 --- a/Source/GeneratedServices/AnalyticsReporting/GTLRAnalyticsReportingObjects.h +++ b/Source/GeneratedServices/AnalyticsReporting/GTLRAnalyticsReportingObjects.h @@ -781,7 +781,11 @@ GTLR_EXTERN NSString * const kGTLRAnalyticsReporting_User_Type_UserIdTypeUnspeci */ @interface GTLRAnalyticsReporting_Activity : GTLRObject -/** Timestamp of the activity. */ +/** + * Timestamp of the activity. If activities for a visit cross midnight and + * occur in two separate dates, then two sessions (one per date) + * share the session identifier. + */ @property(nonatomic, strong, nullable) GTLRDateTime *activityTime; /** diff --git a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h index 222f37ded..892ca15ef 100644 --- a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h +++ b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.h @@ -1589,6 +1589,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * The order id which uniquely identifies a one-time purchase, subscription + * purchase, or subscription renewal. + */ +@property(nonatomic, copy, nullable) NSString *orderId; + /** * The time at which the purchase was made, in milliseconds since the epoch * (Jan 1, 1970). @@ -1598,11 +1604,37 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, strong, nullable) NSNumber *purchaseTimeMillis; /** - * The token that was generated when a purchase was made. This uniquely - * identifies a purchase. + * The token which uniquely identifies a one-time purchase or subscription. To + * uniquely identify subscription renewals use order_id (available starting + * from version 3 of the API). */ @property(nonatomic, copy, nullable) NSString *purchaseToken; +/** + * The reason why the purchase was voided, possible values are: + * - Other + * - Remorse + * - Not_received + * - Defective + * - Accidental_purchase + * - Fraud + * - Friendly_fraud + * - Chargeback + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *voidedReason; + +/** + * The initiator of voided purchase, possible values are: + * - User + * - Developer + * - Google + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *voidedSource; + /** * The time at which the purchase was canceled/refunded/charged-back, in * milliseconds since the epoch (Jan 1, 1970). diff --git a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 46b577a35..bba22d973 100644 --- a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -771,7 +771,8 @@ @implementation GTLRAndroidPublisher_UserComment // @implementation GTLRAndroidPublisher_VoidedPurchase -@dynamic kind, purchaseTimeMillis, purchaseToken, voidedTimeMillis; +@dynamic kind, orderId, purchaseTimeMillis, purchaseToken, voidedReason, + voidedSource, voidedTimeMillis; @end diff --git a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.h b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.h index 3dd508833..c21eb61e1 100644 --- a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.h +++ b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.h @@ -2643,12 +2643,12 @@ GTLR_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots; // +[GTLQueryAndroidPublisher queryForPurchasesVoidedpurchasesListWithpackageName:] /** - * The time, in milliseconds since the Epoch, of the newest voided in-app - * product purchase that you want to see in the response. The value of this - * parameter cannot be greater than the current time and is ignored if a - * pagination token is set. Default value is current time. Note: This filter is - * applied on the time at which the record is seen as voided by our systems and - * not the actual voided time returned in the response. + * The time, in milliseconds since the Epoch, of the newest voided purchase + * that you want to see in the response. The value of this parameter cannot be + * greater than the current time and is ignored if a pagination token is set. + * Default value is current time. Note: This filter is applied on the time at + * which the record is seen as voided by our systems and not the actual voided + * time returned in the response. */ @property(nonatomic, assign) long long endTime; @@ -2663,17 +2663,31 @@ GTLR_EXTERN NSString * const kGTLRAndroidPublisherImageTypeWearScreenshots; @property(nonatomic, assign) NSUInteger startIndex; /** - * The time, in milliseconds since the Epoch, of the oldest voided in-app - * product purchase that you want to see in the response. The value of this - * parameter cannot be older than 30 days and is ignored if a pagination token - * is set. Default value is current time minus 30 days. Note: This filter is - * applied on the time at which the record is seen as voided by our systems and - * not the actual voided time returned in the response. + * The time, in milliseconds since the Epoch, of the oldest voided purchase + * that you want to see in the response. The value of this parameter cannot be + * older than 30 days and is ignored if a pagination token is set. Default + * value is current time minus 30 days. Note: This filter is applied on the + * time at which the record is seen as voided by our systems and not the actual + * voided time returned in the response. */ @property(nonatomic, assign) long long startTime; @property(nonatomic, copy, nullable) NSString *token; +/** + * The type of voided purchases that you want to see in the response. Possible + * values are: + * - 0: Only voided in-app product purchases will be returned in the response. + * This is the default value. + * - 1: Both voided in-app purchases and voided subscription purchases will be + * returned in the response. Note: Before requesting to receive voided + * subscription purchases, you must switch to use orderId in the response which + * uniquely identifies one-time purchases and subscriptions. Otherwise, you + * will receive multiple subscription orders with the same PurchaseToken, + * because subscription renewal orders share the same PurchaseToken. + */ +@property(nonatomic, assign) NSInteger type; + /** * Fetches a @c GTLRAndroidPublisher_VoidedPurchasesListResponse. * diff --git a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index e0a8d5a0e..0ffd20f4f 100644 --- a/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Source/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -1406,7 +1406,7 @@ + (instancetype)queryWithPackageName:(NSString *)packageName @implementation GTLRAndroidPublisherQuery_PurchasesVoidedpurchasesList -@dynamic endTime, maxResults, packageName, startIndex, startTime, token; +@dynamic endTime, maxResults, packageName, startIndex, startTime, token, type; + (instancetype)queryWithPackageName:(NSString *)packageName { NSArray *pathParams = @[ @"packageName" ]; diff --git a/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.h b/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.h index cb879b33b..442b0e055 100644 --- a/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.h +++ b/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferQuery.h @@ -96,6 +96,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -139,6 +140,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -176,6 +178,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -233,6 +236,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -276,6 +280,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -313,6 +318,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -365,6 +371,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -395,6 +402,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -543,6 +551,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -578,6 +587,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -750,6 +760,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -785,6 +796,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -862,6 +874,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -1116,6 +1129,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -1151,6 +1165,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -1323,6 +1338,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -1358,6 +1374,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ @@ -1435,6 +1452,7 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateUnspeci * * Authorization scope(s): * @c kGTLRAuthScopeBigQueryDataTransferBigquery + * @c kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatform * @c kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly */ diff --git a/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.h b/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.h index d2893f0c5..92e160ad9 100644 --- a/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.h +++ b/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.h @@ -35,6 +35,12 @@ NS_ASSUME_NONNULL_BEGIN * Value "https://www.googleapis.com/auth/bigquery" */ GTLR_EXTERN NSString * const kGTLRAuthScopeBigQueryDataTransferBigquery; +/** + * Authorization scope: View your data in Google BigQuery + * + * Value "https://www.googleapis.com/auth/bigquery.readonly" + */ +GTLR_EXTERN NSString * const kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly; /** * Authorization scope: View and manage your data across Google Cloud Platform * services diff --git a/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.m b/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.m index 29e4fd9d2..130a5b365 100644 --- a/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.m +++ b/Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferService.m @@ -15,6 +15,7 @@ // Authorization scopes NSString * const kGTLRAuthScopeBigQueryDataTransferBigquery = @"https://www.googleapis.com/auth/bigquery"; +NSString * const kGTLRAuthScopeBigQueryDataTransferBigqueryReadonly = @"https://www.googleapis.com/auth/bigquery.readonly"; NSString * const kGTLRAuthScopeBigQueryDataTransferCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; NSString * const kGTLRAuthScopeBigQueryDataTransferCloudPlatformReadOnly = @"https://www.googleapis.com/auth/cloud-platform.read-only"; diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservation.h b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservation.h new file mode 100644 index 000000000..ba5193f36 --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservation.h @@ -0,0 +1,13 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#import "GTLRBigQueryReservationObjects.h" +#import "GTLRBigQueryReservationQuery.h" +#import "GTLRBigQueryReservationService.h" diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.h b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.h new file mode 100644 index 000000000..2d9ab8717 --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.h @@ -0,0 +1,230 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRObject.h" +#else + #import "GTLRObject.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRBigQueryReservation_Operation; +@class GTLRBigQueryReservation_Operation_Metadata; +@class GTLRBigQueryReservation_Operation_Response; +@class GTLRBigQueryReservation_Status; +@class GTLRBigQueryReservation_Status_Details_Item; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * The metadata for operation returned from + * ReservationService.CreateSlotPool. + */ +@interface GTLRBigQueryReservation_CreateSlotPoolMetadata : GTLRObject + +/** + * Resource name of the slot pool that is being created. E.g., + * projects/myproject/locations/us-central1/reservations/foo/slotPools/123 + */ +@property(nonatomic, copy, nullable) NSString *slotPool; + +@end + + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * The JSON representation for `Empty` is empty JSON object `{}`. + */ +@interface GTLRBigQueryReservation_Empty : GTLRObject +@end + + +/** + * The response message for Operations.ListOperations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "operations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRBigQueryReservation_ListOperationsResponse : GTLRCollectionObject + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * A list of operations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *operations; + +@end + + +/** + * BigQuery-specific metadata about a location. This will be set on + * google.cloud.location.Location.metadata in Cloud Location API + * responses. + */ +@interface GTLRBigQueryReservation_LocationMetadata : GTLRObject + +/** + * The legacy BigQuery location ID, e.g. “EU” for the “europe” location. + * This is for any API consumers that need the legacy “US” and “EU” locations. + */ +@property(nonatomic, copy, nullable) NSString *legacyLocationId; + +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRBigQueryReservation_Operation : GTLRObject + +/** + * If the value is `false`, it means the operation is still in progress. + * If `true`, the operation is completed, and either `error` or `response` is + * available. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *done; + +/** The error result of the operation in case of failure or cancellation. */ +@property(nonatomic, strong, nullable) GTLRBigQueryReservation_Status *error; + +/** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryReservation_Operation_Metadata *metadata; + +/** + * The server-assigned name, which is only unique within the same service that + * originally returns it. If you use the default HTTP mapping, the + * `name` should be a resource name ending with `operations/{unique_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryReservation_Operation_Response *response; + +@end + + +/** + * Service-specific metadata associated with the operation. It typically + * contains progress information and common metadata such as create time. + * Some services might not provide such metadata. Any method that returns a + * long-running operation should document the metadata type, if any. + * + * @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 GTLRBigQueryReservation_Operation_Metadata : GTLRObject +@end + + +/** + * The normal response of the operation in case of success. If the original + * method returns no data on success, such as `Delete`, the response is + * `google.protobuf.Empty`. If the original method is standard + * `Get`/`Create`/`Update`, the response should be the resource. For other + * methods, the response should have the type `XxxResponse`, where `Xxx` + * is the original method name. For example, if the original method name + * is `TakeSnapshot()`, the inferred response type is + * `TakeSnapshotResponse`. + * + * @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 GTLRBigQueryReservation_Operation_Response : GTLRObject +@end + + +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRBigQueryReservation_Status : GTLRObject + +/** + * The status code, which should be an enum value of google.rpc.Code. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * A list of messages that carry the error details. There is a common set of + * message types for APIs to use. + */ +@property(nonatomic, strong, nullable) NSArray *details; + +/** + * A developer-facing error message, which should be in English. Any + * user-facing error message should be localized and sent in the + * google.rpc.Status.details field, or localized by the client. + */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRBigQueryReservation_Status_Details_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 GTLRBigQueryReservation_Status_Details_Item : GTLRObject +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m new file mode 100644 index 000000000..5db52024b --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m @@ -0,0 +1,131 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#import "GTLRBigQueryReservationObjects.h" + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_CreateSlotPoolMetadata +// + +@implementation GTLRBigQueryReservation_CreateSlotPoolMetadata +@dynamic slotPool; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Empty +// + +@implementation GTLRBigQueryReservation_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_ListOperationsResponse +// + +@implementation GTLRBigQueryReservation_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRBigQueryReservation_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_LocationMetadata +// + +@implementation GTLRBigQueryReservation_LocationMetadata +@dynamic legacyLocationId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Operation +// + +@implementation GTLRBigQueryReservation_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Operation_Metadata +// + +@implementation GTLRBigQueryReservation_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Operation_Response +// + +@implementation GTLRBigQueryReservation_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Status +// + +@implementation GTLRBigQueryReservation_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRBigQueryReservation_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Status_Details_Item +// + +@implementation GTLRBigQueryReservation_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.h b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.h new file mode 100644 index 000000000..1cb60abd5 --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.h @@ -0,0 +1,133 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRQuery.h" +#else + #import "GTLRQuery.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Parent class for other BigQuery Reservation query classes. + */ +@interface GTLRBigQueryReservationQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * Method: bigqueryreservation.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_OperationsDelete : GTLRBigQueryReservationQuery +// Previous library name was +// +[GTLQueryBigQueryReservation queryForOperationsDeleteWithname:] + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryReservation_Empty. + * + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param name The name of the operation resource to be deleted. + * + * @return GTLRBigQueryReservationQuery_OperationsDelete + */ ++ (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: bigqueryreservation.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_OperationsList : GTLRBigQueryReservationQuery +// Previous library name was +// +[GTLQueryBigQueryReservation queryForOperationsListWithname:] + +/** 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 GTLRBigQueryReservation_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 GTLRBigQueryReservationQuery_OperationsList + * + * @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 + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m new file mode 100644 index 000000000..62c845954 --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m @@ -0,0 +1,57 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#import "GTLRBigQueryReservationQuery.h" + +#import "GTLRBigQueryReservationObjects.h" + +@implementation GTLRBigQueryReservationQuery + +@dynamic fields; + +@end + +@implementation GTLRBigQueryReservationQuery_OperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBigQueryReservationQuery_OperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryReservation_Empty class]; + query.loggingName = @"bigqueryreservation.operations.delete"; + return query; +} + +@end + +@implementation GTLRBigQueryReservationQuery_OperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBigQueryReservationQuery_OperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryReservation_ListOperationsResponse class]; + query.loggingName = @"bigqueryreservation.operations.list"; + return query; +} + +@end diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.h b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.h new file mode 100644 index 000000000..2a6c39b62 --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.h @@ -0,0 +1,83 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRService.h" +#else + #import "GTLRService.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Authorization scopes + +/** + * Authorization scope: View and manage your data in Google BigQuery + * + * Value "https://www.googleapis.com/auth/bigquery" + */ +GTLR_EXTERN NSString * const kGTLRAuthScopeBigQueryReservationBigquery; +/** + * Authorization scope: View and manage your data across Google Cloud Platform + * services + * + * Value "https://www.googleapis.com/auth/cloud-platform" + */ +GTLR_EXTERN NSString * const kGTLRAuthScopeBigQueryReservationCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRBigQueryReservationService +// + +/** + * Service for executing BigQuery Reservation API queries. + * + * A service to modify your BigQuery flat-rate reservations. + */ +@interface GTLRBigQueryReservationService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRBigQueryReservationQuery.h. The query can the be sent with GTLRService's +// execute methods, +// +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// completionHandler:(void (^)(GTLRServiceTicket *ticket, +// id object, NSError *error))handler; +// or +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// delegate:(id)delegate +// didFinishSelector:(SEL)finishedSelector; +// +// where finishedSelector has a signature of: +// +// - (void)serviceTicket:(GTLRServiceTicket *)ticket +// finishedWithObject:(id)object +// error:(NSError *)error; +// +// The object passed to the completion handler or delegate method +// is a subclass of GTLRObject, determined by the query method executed. + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m new file mode 100644 index 000000000..2f8fe075d --- /dev/null +++ b/Source/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m @@ -0,0 +1,36 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// BigQuery Reservation API (bigqueryreservation/v1) +// Description: +// A service to modify your BigQuery flat-rate reservations. +// Documentation: +// https://cloud.google.com/bigquery/ + +#import "GTLRBigQueryReservation.h" + +// ---------------------------------------------------------------------------- +// Authorization scopes + +NSString * const kGTLRAuthScopeBigQueryReservationBigquery = @"https://www.googleapis.com/auth/bigquery"; +NSString * const kGTLRAuthScopeBigQueryReservationCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRBigQueryReservationService +// + +@implementation GTLRBigQueryReservationService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://bigqueryreservation.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Source/GeneratedServices/Bigquery/GTLRBigqueryQuery.h b/Source/GeneratedServices/Bigquery/GTLRBigqueryQuery.h index de3564ca4..06022d5b1 100644 --- a/Source/GeneratedServices/Bigquery/GTLRBigqueryQuery.h +++ b/Source/GeneratedServices/Bigquery/GTLRBigqueryQuery.h @@ -142,6 +142,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_DatasetsGet : GTLRBigqueryQuery // Previous library name was @@ -209,6 +210,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_DatasetsList : GTLRBigqueryQuery // Previous library name was @@ -392,6 +394,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_JobsGet : GTLRBigqueryQuery // Previous library name was @@ -436,6 +439,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_JobsGetQueryResults : GTLRBigqueryQuery // Previous library name was @@ -536,6 +540,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_JobsList : GTLRBigqueryQuery // Previous library name was @@ -619,6 +624,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_JobsQuery : GTLRBigqueryQuery // Previous library name was @@ -653,6 +659,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_ProjectsGetServiceAccount : GTLRBigqueryQuery // Previous library name was @@ -684,6 +691,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_ProjectsList : GTLRBigqueryQuery // Previous library name was @@ -767,6 +775,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_TabledataList : GTLRBigqueryQuery // Previous library name was @@ -867,6 +876,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_TablesGet : GTLRBigqueryQuery // Previous library name was @@ -951,6 +961,7 @@ GTLR_EXTERN NSString * const kGTLRBigqueryStateFilterRunning; * @c kGTLRAuthScopeBigquery * @c kGTLRAuthScopeBigqueryCloudPlatform * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + * @c kGTLRAuthScopeBigqueryReadonly */ @interface GTLRBigqueryQuery_TablesList : GTLRBigqueryQuery // Previous library name was diff --git a/Source/GeneratedServices/Bigquery/GTLRBigqueryService.h b/Source/GeneratedServices/Bigquery/GTLRBigqueryService.h index 61ab745e2..433096153 100644 --- a/Source/GeneratedServices/Bigquery/GTLRBigqueryService.h +++ b/Source/GeneratedServices/Bigquery/GTLRBigqueryService.h @@ -72,6 +72,12 @@ GTLR_EXTERN NSString * const kGTLRAuthScopeBigqueryDevstorageReadWrite; * Value "https://www.googleapis.com/auth/bigquery.insertdata" */ GTLR_EXTERN NSString * const kGTLRAuthScopeBigqueryInsertdata; +/** + * Authorization scope: View your data in Google BigQuery + * + * Value "https://www.googleapis.com/auth/bigquery.readonly" + */ +GTLR_EXTERN NSString * const kGTLRAuthScopeBigqueryReadonly; // ---------------------------------------------------------------------------- // GTLRBigqueryService diff --git a/Source/GeneratedServices/Bigquery/GTLRBigqueryService.m b/Source/GeneratedServices/Bigquery/GTLRBigqueryService.m index b4e6a15ce..422d99ea9 100644 --- a/Source/GeneratedServices/Bigquery/GTLRBigqueryService.m +++ b/Source/GeneratedServices/Bigquery/GTLRBigqueryService.m @@ -20,6 +20,7 @@ NSString * const kGTLRAuthScopeBigqueryDevstorageReadOnly = @"https://www.googleapis.com/auth/devstorage.read_only"; NSString * const kGTLRAuthScopeBigqueryDevstorageReadWrite = @"https://www.googleapis.com/auth/devstorage.read_write"; NSString * const kGTLRAuthScopeBigqueryInsertdata = @"https://www.googleapis.com/auth/bigquery.insertdata"; +NSString * const kGTLRAuthScopeBigqueryReadonly = @"https://www.googleapis.com/auth/bigquery.readonly"; // ---------------------------------------------------------------------------- // GTLRBigqueryService diff --git a/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.h b/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.h index 12d2c18ad..6ae907e01 100644 --- a/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.h +++ b/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.h @@ -31,6 +31,7 @@ @class GTLRBigtableAdmin_CreateInstanceRequest_Clusters; @class GTLRBigtableAdmin_Expr; @class GTLRBigtableAdmin_GcRule; +@class GTLRBigtableAdmin_GetPolicyOptions; @class GTLRBigtableAdmin_Instance; @class GTLRBigtableAdmin_Instance_Labels; @class GTLRBigtableAdmin_Intersection; @@ -358,7 +359,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * { * "log_type": "DATA_READ", * "exempted_members": [ - * "user:foo\@gmail.com" + * "user:jose\@example.com" * ] * }, * { @@ -370,7 +371,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * ] * }, * { - * "service": "fooservice.googleapis.com" + * "service": "sampleservice.googleapis.com" * "audit_log_configs": [ * { * "log_type": "DATA_READ", @@ -378,16 +379,16 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * { * "log_type": "DATA_WRITE", * "exempted_members": [ - * "user:bar\@gmail.com" + * "user:aliya\@example.com" * ] * } * ] * } * ] * } - * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - * logging. It also exempts foo\@gmail.com from DATA_READ logging, and - * bar\@gmail.com from DATA_WRITE logging. + * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + * logging. It also exempts jose\@example.com from DATA_READ logging, and + * aliya\@example.com from DATA_WRITE logging. */ @interface GTLRBigtableAdmin_AuditConfig : GTLRObject @@ -412,7 +413,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * { * "log_type": "DATA_READ", * "exempted_members": [ - * "user:foo\@gmail.com" + * "user:jose\@example.com" * ] * }, * { @@ -421,7 +422,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * ] * } * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - * foo\@gmail.com from DATA_READ logging. + * jose\@example.com from DATA_READ logging. */ @interface GTLRBigtableAdmin_AuditLogConfig : GTLRObject @@ -471,7 +472,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice\@gmail.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. @@ -602,8 +603,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci @interface GTLRBigtableAdmin_ClusterState : GTLRObject /** - * Output only. - * The state of replication for the table in this cluster. + * Output only. The state of replication for the table in this cluster. * * Likely values: * @arg @c kGTLRBigtableAdmin_ClusterState_ReplicationState_Initializing The @@ -967,6 +967,31 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * Request message for `GetIamPolicy` method. */ @interface GTLRBigtableAdmin_GetIamPolicyRequest : GTLRObject + +/** + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. This field is only used by Cloud IAM. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GetPolicyOptions *options; + +@end + + +/** + * Encapsulates settings provided to GetIamPolicy. + */ +@interface GTLRBigtableAdmin_GetPolicyOptions : GTLRObject + +/** + * Optional. The policy format version to be returned. + * Acceptable values are 0, 1, and 3. + * If the value is 0, or the field is omitted, policy format version 1 will be + * returned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedPolicyVersion; + @end @@ -1548,7 +1573,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci * systems are expected to put that etag in the request to `setIamPolicy` to * ensure that their change will be applied to the same version of the policy. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -1682,8 +1707,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci @interface GTLRBigtableAdmin_Table : GTLRObject /** - * Output only. - * Map from cluster ID to per-cluster table state. + * Output only. Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. @@ -1716,8 +1740,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci @property(nonatomic, copy, nullable) NSString *granularity; /** - * Output only. - * The unique name of the table. Values are of the form + * Output only. The unique name of the table. Values are of the form * `projects//instances//tables/_a-zA-Z0-9*`. * Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` */ @@ -1727,8 +1750,7 @@ GTLR_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateUnspeci /** - * Output only. - * Map from cluster ID to per-cluster table state. + * Output only. Map from cluster ID to per-cluster table state. * If it could not be determined whether or not the table has data in a * particular cluster (for example, if its zone is unavailable), then * there will be an entry for the cluster with UNKNOWN `replication_status`. diff --git a/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m b/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index 9a04a3c36..7ab3a24a0 100644 --- a/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Source/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -343,6 +343,17 @@ @implementation GTLRBigtableAdmin_GenerateConsistencyTokenResponse // @implementation GTLRBigtableAdmin_GetIamPolicyRequest +@dynamic options; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_GetPolicyOptions +// + +@implementation GTLRBigtableAdmin_GetPolicyOptions +@dynamic requestedPolicyVersion; @end diff --git a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.h b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.h index 999f4a9b9..2e5ff3438 100644 --- a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.h +++ b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.h @@ -21,6 +21,7 @@ @class GTLRCloudAsset_Asset; @class GTLRCloudAsset_AuditConfig; @class GTLRCloudAsset_AuditLogConfig; +@class GTLRCloudAsset_BigQueryDestination; @class GTLRCloudAsset_Binding; @class GTLRCloudAsset_Expr; @class GTLRCloudAsset_GcsDestination; @@ -28,6 +29,14 @@ @class GTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy; @class GTLRCloudAsset_GoogleCloudOrgpolicyV1Policy; @class GTLRCloudAsset_GoogleCloudOrgpolicyV1RestoreDefault; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessLevel; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessPolicy; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1Condition; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter; +@class GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig; @class GTLRCloudAsset_Operation_Metadata; @class GTLRCloudAsset_Operation_Response; @class GTLRCloudAsset_OutputConfig; @@ -80,6 +89,12 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_AuditLogConfig_LogType_LogTypeUnspe // ---------------------------------------------------------------------------- // GTLRCloudAsset_ExportAssetsRequest.contentType +/** + * The Cloud Access context mananger Policy set on an asset. + * + * Value: "ACCESS_POLICY" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_ExportAssetsRequest_ContentType_AccessPolicy; /** * Unspecified content type. * @@ -127,12 +142,105 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al */ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_AllValues_Deny; +// ---------------------------------------------------------------------------- +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel.combiningFunction + +/** + * All `Conditions` must be true for the `BasicLevel` to be true. + * + * Value: "AND" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel_CombiningFunction_And; +/** + * If at least one `Condition` is true, then the `BasicLevel` is true. + * + * Value: "OR" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel_CombiningFunction_Or; + +// ---------------------------------------------------------------------------- +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy.allowedDeviceManagementLevels + +/** Value: "BASIC" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_Basic; +/** Value: "COMPLETE" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_Complete; +/** Value: "MANAGEMENT_UNSPECIFIED" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_ManagementUnspecified; +/** Value: "NONE" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_None; + +// ---------------------------------------------------------------------------- +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy.allowedEncryptionStatuses + +/** Value: "ENCRYPTED" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_Encrypted; +/** Value: "ENCRYPTION_UNSPECIFIED" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_EncryptionUnspecified; +/** Value: "ENCRYPTION_UNSUPPORTED" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_EncryptionUnsupported; +/** Value: "UNENCRYPTED" */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_Unencrypted; + +// ---------------------------------------------------------------------------- +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint.osType + +/** + * A desktop ChromeOS operating system. + * + * Value: "DESKTOP_CHROME_OS" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopChromeOs; +/** + * A desktop Linux operating system. + * + * Value: "DESKTOP_LINUX" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopLinux; +/** + * A desktop Mac operating system. + * + * Value: "DESKTOP_MAC" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopMac; +/** + * A desktop Windows operating system. + * + * Value: "DESKTOP_WINDOWS" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopWindows; +/** + * The operating system of the device is not specified or not known. + * + * Value: "OS_UNSPECIFIED" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_OsUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter.perimeterType + +/** + * Perimeter Bridge. + * + * Value: "PERIMETER_TYPE_BRIDGE" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter_PerimeterType_PerimeterTypeBridge; +/** + * Regular Perimeter. + * + * Value: "PERIMETER_TYPE_REGULAR" + */ +GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter_PerimeterType_PerimeterTypeRegular; + /** * Cloud asset. This includes all Google Cloud Platform resources, * Cloud IAM policies, and other non-GCP assets. */ @interface GTLRCloudAsset_Asset : GTLRObject +@property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessLevel *accessLevel; +@property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessPolicy *accessPolicy; + /** Type of the asset. Example: "compute.googleapis.com/Disk". */ @property(nonatomic, copy, nullable) NSString *assetType; @@ -161,6 +269,8 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al /** Representation of the resource. */ @property(nonatomic, strong, nullable) GTLRCloudAsset_Resource *resource; +@property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter *servicePerimeter; + @end @@ -256,15 +366,6 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al */ @property(nonatomic, strong, nullable) NSArray *exemptedMembers; -/** - * Specifies whether principals can be exempted for the same LogType in - * lower-level resource policies. If true, any lower-level exemptions will - * be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreChildExemptions; - /** * The log type that this config enables. * @@ -294,6 +395,39 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al @end +/** + * A BigQuery destination. + */ +@interface GTLRCloudAsset_BigQueryDestination : GTLRObject + +/** + * Required. The BigQuery dataset in format + * "projects/projectId/datasets/datasetId", to which the snapshot result + * should be exported. If this dataset does not exist, the export call returns + * an error. + */ +@property(nonatomic, copy, nullable) NSString *dataset; + +/** + * If the destination table already exists and this flag is `TRUE`, the + * table will be overwritten by the contents of assets snapshot. If the flag + * is not set and the destination table already exists, the export call + * returns an error. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + +/** + * Required. The BigQuery table to which the snapshot result should be + * written. If this table does not exist, a new table with the given name + * will be created. + */ +@property(nonatomic, copy, nullable) NSString *table; + +@end + + /** * Associates `members` with a `role`. */ @@ -353,6 +487,9 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al * returned. * * Likely values: + * @arg @c kGTLRCloudAsset_ExportAssetsRequest_ContentType_AccessPolicy The + * Cloud Access context mananger Policy set on an asset. (Value: + * "ACCESS_POLICY") * @arg @c kGTLRCloudAsset_ExportAssetsRequest_ContentType_ContentTypeUnspecified * Unspecified content type. (Value: "CONTENT_TYPE_UNSPECIFIED") * @arg @c kGTLRCloudAsset_ExportAssetsRequest_ContentType_IamPolicy The @@ -737,6 +874,363 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al @end +/** + * An `AccessLevel` is a label that can be applied to requests to GCP services, + * along with a list of requirements necessary for the label to be applied. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessLevel : GTLRObject + +/** A `BasicLevel` composed of `Conditions`. */ +@property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel *basic; + +/** Output only. Time the `AccessLevel` was created in UTC. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Description of the `AccessLevel` and its use. Does not affect behavior. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Resource name for the Access Level. The `short_name` component + * must begin with a letter and only include alphanumeric and '_'. Format: + * `accessPolicies/{policy_id}/accessLevels/{short_name}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Human readable title. Must be unique within the Policy. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Time the `AccessLevel` was updated in UTC. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * `AccessPolicy` is a container for `AccessLevels` (which define the necessary + * attributes to use GCP services) and `ServicePerimeters` (which define + * regions + * of services able to freely pass data within a perimeter). An access policy + * is + * globally visible within an organization, and the restrictions it specifies + * apply to all projects within an organization. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessPolicy : GTLRObject + +/** Output only. Time the `AccessPolicy` was created in UTC. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Resource name of the `AccessPolicy`. Format: + * `accessPolicies/{policy_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The parent of this `AccessPolicy` in the Cloud Resource + * Hierarchy. Currently immutable once created. Format: + * `organizations/{organization_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. Human readable title. Does not affect behavior. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Time the `AccessPolicy` was updated in UTC. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * `BasicLevel` is an `AccessLevel` using a set of recommended features. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel : GTLRObject + +/** + * How the `conditions` list should be combined to determine if a request is + * granted this `AccessLevel`. If AND is used, each `Condition` in + * `conditions` must be satisfied for the `AccessLevel` to be applied. If OR + * is used, at least one `Condition` in `conditions` must be satisfied for the + * `AccessLevel` to be applied. Default behavior is AND. + * + * Likely values: + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel_CombiningFunction_And + * All `Conditions` must be true for the `BasicLevel` to be true. (Value: + * "AND") + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel_CombiningFunction_Or + * If at least one `Condition` is true, then the `BasicLevel` is true. + * (Value: "OR") + */ +@property(nonatomic, copy, nullable) NSString *combiningFunction; + +/** Required. A list of requirements for the `AccessLevel` to be granted. */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +@end + + +/** + * A condition necessary for an `AccessLevel` to be granted. The Condition is + * an + * AND over its fields. So a Condition is true if: 1) the request IP is from + * one + * of the listed subnetworks AND 2) the originating device complies with the + * listed device policy AND 3) all listed access levels are granted AND 4) the + * request was sent at a time allowed by the DateTimeRestriction. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1Condition : GTLRObject + +/** + * Device specific restrictions, all restrictions must hold for the + * Condition to be true. If not specified, all devices are allowed. + */ +@property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy *devicePolicy; + +/** + * CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for + * a CIDR IP address block, the specified IP address portion must be properly + * truncated (i.e. all the host bits must be zero) or the input is considered + * malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is + * not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas + * "2001:db8::1/32" is not. The originating IP of a request must be in one of + * the listed subnets in order for this Condition to be true. If empty, all IP + * addresses are allowed. + */ +@property(nonatomic, strong, nullable) NSArray *ipSubnetworks; + +/** + * The request must be made by one of the provided user or service + * accounts. Groups are not supported. + * Syntax: + * `user:{emailid}` + * `serviceAccount:{emailid}` + * If not specified, a request may come from any user. + */ +@property(nonatomic, strong, nullable) NSArray *members; + +/** + * Whether to negate the Condition. If true, the Condition becomes a NAND over + * its non-empty fields, each field must be false for the Condition overall to + * be satisfied. Defaults to false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *negate; + +/** + * The request must originate from one of the provided countries/regions. + * Must be valid ISO 3166-1 alpha-2 codes. + */ +@property(nonatomic, strong, nullable) NSArray *regions; + +/** + * A list of other access levels defined in the same `Policy`, referenced by + * resource name. Referencing an `AccessLevel` which does not exist is an + * error. All access levels listed must be granted for the Condition + * to be true. Example: + * "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"` + */ +@property(nonatomic, strong, nullable) NSArray *requiredAccessLevels; + +@end + + +/** + * `DevicePolicy` specifies device specific restrictions necessary to acquire a + * given access level. A `DevicePolicy` specifies requirements for requests + * from + * devices to be granted access levels, it does not do any enforcement on the + * device. `DevicePolicy` acts as an AND over all specified fields, and each + * repeated field is an OR over its elements. Any unset fields are ignored. For + * example, if the proto is { os_type : DESKTOP_WINDOWS, os_type : + * DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be + * true for requests originating from encrypted Linux desktops and encrypted + * Windows desktops. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy : GTLRObject + +/** + * Allowed device management levels, an empty list allows all management + * levels. + */ +@property(nonatomic, strong, nullable) NSArray *allowedDeviceManagementLevels; + +/** Allowed encryptions statuses, an empty list allows all statuses. */ +@property(nonatomic, strong, nullable) NSArray *allowedEncryptionStatuses; + +/** Allowed OS versions, an empty list allows all types and all versions. */ +@property(nonatomic, strong, nullable) NSArray *osConstraints; + +/** + * Whether the device needs to be approved by the customer admin. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireAdminApproval; + +/** + * Whether the device needs to be corp owned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireCorpOwned; + +/** + * Whether or not screenlock is required for the DevicePolicy to be true. + * Defaults to `false`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireScreenlock; + +@end + + +/** + * A restriction on the OS type and version of devices making requests. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint : GTLRObject + +/** + * The minimum allowed OS version. If not set, any version of this OS + * satisfies the constraint. Format: `"major.minor.patch"`. + * Examples: `"10.5.301"`, `"9.2.1"`. + */ +@property(nonatomic, copy, nullable) NSString *minimumVersion; + +/** + * Required. The allowed OS type. + * + * Likely values: + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopChromeOs + * A desktop ChromeOS operating system. (Value: "DESKTOP_CHROME_OS") + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopLinux + * A desktop Linux operating system. (Value: "DESKTOP_LINUX") + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopMac + * A desktop Mac operating system. (Value: "DESKTOP_MAC") + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopWindows + * A desktop Windows operating system. (Value: "DESKTOP_WINDOWS") + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_OsUnspecified + * The operating system of the device is not specified or not known. + * (Value: "OS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *osType; + +/** + * Only allows requests from devices with a verified Chrome OS. + * Verifications includes requirements that the device is enterprise-managed, + * conformant to Dasher domain policies, and the caller has permission to call + * the API targeted by the request. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireVerifiedChromeOs; + +@end + + +/** + * `ServicePerimeter` describes a set of GCP resources which can freely import + * and export data amongst themselves, but not export outside of the + * `ServicePerimeter`. If a request with a source within this + * `ServicePerimeter` + * has a target outside of the `ServicePerimeter`, the request will be blocked. + * Otherwise the request is allowed. There are two types of Service Perimeter - + * Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP + * project can only belong to a single regular Service Perimeter. Service + * Perimeter Bridges can contain only GCP projects as members, a single GCP + * project may belong to multiple Service Perimeter Bridges. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter : GTLRObject + +/** Output only. Time the `ServicePerimeter` was created in UTC. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Description of the `ServicePerimeter` and its use. Does not affect + * behavior. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Resource name for the ServicePerimeter. The `short_name` + * component must begin with a letter and only include alphanumeric and '_'. + * Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Perimeter type indicator. A single project is + * allowed to be a member of single regular perimeter, but multiple service + * perimeter bridges. A project cannot be a included in a perimeter bridge + * without being included in regular perimeter. For perimeter bridges, + * the restricted service list as well as access level lists must be + * empty. + * + * Likely values: + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter_PerimeterType_PerimeterTypeBridge + * Perimeter Bridge. (Value: "PERIMETER_TYPE_BRIDGE") + * @arg @c kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter_PerimeterType_PerimeterTypeRegular + * Regular Perimeter. (Value: "PERIMETER_TYPE_REGULAR") + */ +@property(nonatomic, copy, nullable) NSString *perimeterType; + +/** + * Current ServicePerimeter configuration. Specifies sets of resources, + * restricted services and access levels that determine perimeter + * content and boundaries. + */ +@property(nonatomic, strong, nullable) GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig *status; + +/** Human readable title. Must be unique within the Policy. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Time the `ServicePerimeter` was updated in UTC. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * `ServicePerimeterConfig` specifies a set of GCP resources that describe + * specific Service Perimeter configuration. + */ +@interface GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig : GTLRObject + +/** + * A list of `AccessLevel` resource names that allow resources within the + * `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed + * must be in the same policy as this `ServicePerimeter`. Referencing a + * nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are + * listed, resources within the perimeter can only be accessed via GCP calls + * with request origins within the perimeter. Example: + * `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`. + * For Service Perimeter Bridge, must be empty. + */ +@property(nonatomic, strong, nullable) NSArray *accessLevels; + +/** + * A list of GCP resources that are inside of the service perimeter. + * Currently only projects are allowed. Format: `projects/{project_number}` + */ +@property(nonatomic, strong, nullable) NSArray *resources; + +/** + * GCP services that are subject to the Service Perimeter restrictions. For + * example, if `storage.googleapis.com` is specified, access to the storage + * buckets inside the perimeter must meet the perimeter's access restrictions. + */ +@property(nonatomic, strong, nullable) NSArray *restrictedServices; + +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -824,6 +1318,14 @@ GTLR_EXTERN NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_Al */ @interface GTLRCloudAsset_OutputConfig : GTLRObject +/** + * Destination on BigQuery. The output table stores the fields in asset + * proto as columns in BigQuery. The resource/iam_policy field is converted + * to a record with each field to a column, except metadata to a single JSON + * string. + */ +@property(nonatomic, strong, nullable) GTLRCloudAsset_BigQueryDestination *bigqueryDestination; + /** Destination on Cloud Storage. */ @property(nonatomic, strong, nullable) GTLRCloudAsset_GcsDestination *gcsDestination; diff --git a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m index b3c171b47..0cc4d4e34 100644 --- a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m +++ b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m @@ -20,6 +20,7 @@ NSString * const kGTLRCloudAsset_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; // GTLRCloudAsset_ExportAssetsRequest.contentType +NSString * const kGTLRCloudAsset_ExportAssetsRequest_ContentType_AccessPolicy = @"ACCESS_POLICY"; NSString * const kGTLRCloudAsset_ExportAssetsRequest_ContentType_ContentTypeUnspecified = @"CONTENT_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudAsset_ExportAssetsRequest_ContentType_IamPolicy = @"IAM_POLICY"; NSString * const kGTLRCloudAsset_ExportAssetsRequest_ContentType_OrgPolicy = @"ORG_POLICY"; @@ -30,13 +31,41 @@ NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_AllValues_AllValuesUnspecified = @"ALL_VALUES_UNSPECIFIED"; NSString * const kGTLRCloudAsset_GoogleCloudOrgpolicyV1ListPolicy_AllValues_Deny = @"DENY"; +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel.combiningFunction +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel_CombiningFunction_And = @"AND"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel_CombiningFunction_Or = @"OR"; + +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy.allowedDeviceManagementLevels +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_Basic = @"BASIC"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_Complete = @"COMPLETE"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_ManagementUnspecified = @"MANAGEMENT_UNSPECIFIED"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedDeviceManagementLevels_None = @"NONE"; + +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy.allowedEncryptionStatuses +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_Encrypted = @"ENCRYPTED"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_EncryptionUnspecified = @"ENCRYPTION_UNSPECIFIED"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_EncryptionUnsupported = @"ENCRYPTION_UNSUPPORTED"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy_AllowedEncryptionStatuses_Unencrypted = @"UNENCRYPTED"; + +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint.osType +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopChromeOs = @"DESKTOP_CHROME_OS"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopLinux = @"DESKTOP_LINUX"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopMac = @"DESKTOP_MAC"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_DesktopWindows = @"DESKTOP_WINDOWS"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint_OsType_OsUnspecified = @"OS_UNSPECIFIED"; + +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter.perimeterType +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter_PerimeterType_PerimeterTypeBridge = @"PERIMETER_TYPE_BRIDGE"; +NSString * const kGTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter_PerimeterType_PerimeterTypeRegular = @"PERIMETER_TYPE_REGULAR"; + // ---------------------------------------------------------------------------- // // GTLRCloudAsset_Asset // @implementation GTLRCloudAsset_Asset -@dynamic assetType, iamPolicy, name, orgPolicy, resource; +@dynamic accessLevel, accessPolicy, assetType, iamPolicy, name, orgPolicy, + resource, servicePerimeter; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -72,7 +101,7 @@ @implementation GTLRCloudAsset_AuditConfig // @implementation GTLRCloudAsset_AuditLogConfig -@dynamic exemptedMembers, ignoreChildExemptions, logType; +@dynamic exemptedMembers, logType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -102,6 +131,16 @@ @implementation GTLRCloudAsset_BatchGetAssetsHistoryResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_BigQueryDestination +// + +@implementation GTLRCloudAsset_BigQueryDestination +@dynamic dataset, force, table; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAsset_Binding @@ -218,6 +257,139 @@ @implementation GTLRCloudAsset_GoogleCloudOrgpolicyV1RestoreDefault @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessLevel +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessLevel +@dynamic basic, createTime, descriptionProperty, name, title, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessPolicy +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1AccessPolicy +@dynamic createTime, name, parent, title, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1BasicLevel +@dynamic combiningFunction, conditions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditions" : [GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1Condition class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1Condition +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1Condition +@dynamic devicePolicy, ipSubnetworks, members, negate, regions, + requiredAccessLevels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"ipSubnetworks" : [NSString class], + @"members" : [NSString class], + @"regions" : [NSString class], + @"requiredAccessLevels" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1DevicePolicy +@dynamic allowedDeviceManagementLevels, allowedEncryptionStatuses, + osConstraints, requireAdminApproval, requireCorpOwned, + requireScreenlock; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedDeviceManagementLevels" : [NSString class], + @"allowedEncryptionStatuses" : [NSString class], + @"osConstraints" : [GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1OsConstraint +@dynamic minimumVersion, osType, requireVerifiedChromeOs; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeter +@dynamic createTime, descriptionProperty, name, perimeterType, status, title, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig +// + +@implementation GTLRCloudAsset_GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig +@dynamic accessLevels, resources, restrictedServices; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"accessLevels" : [NSString class], + @"resources" : [NSString class], + @"restrictedServices" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAsset_Operation @@ -262,7 +434,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudAsset_OutputConfig -@dynamic gcsDestination; +@dynamic bigqueryDestination, gcsDestination; @end diff --git a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.h b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.h index 371811fbc..a02910332 100644 --- a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.h +++ b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.h @@ -33,6 +33,8 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // contentType +/** Value: "ACCESS_POLICY" */ +GTLR_EXTERN NSString * const kGTLRCloudAssetContentTypeAccessPolicy; /** Value: "CONTENT_TYPE_UNSPECIFIED" */ GTLR_EXTERN NSString * const kGTLRCloudAssetContentTypeContentTypeUnspecified; /** Value: "IAM_POLICY" */ @@ -128,6 +130,7 @@ GTLR_EXTERN NSString * const kGTLRCloudAssetContentTypeResource; * @arg @c kGTLRCloudAssetContentTypeResource Value "RESOURCE" * @arg @c kGTLRCloudAssetContentTypeIamPolicy Value "IAM_POLICY" * @arg @c kGTLRCloudAssetContentTypeOrgPolicy Value "ORG_POLICY" + * @arg @c kGTLRCloudAssetContentTypeAccessPolicy Value "ACCESS_POLICY" */ @property(nonatomic, copy, nullable) NSString *contentType; diff --git a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.m b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.m index 484c08b64..84a132ef7 100644 --- a/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.m +++ b/Source/GeneratedServices/CloudAsset/GTLRCloudAssetQuery.m @@ -16,6 +16,7 @@ // Constants // contentType +NSString * const kGTLRCloudAssetContentTypeAccessPolicy = @"ACCESS_POLICY"; NSString * const kGTLRCloudAssetContentTypeContentTypeUnspecified = @"CONTENT_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudAssetContentTypeIamPolicy = @"IAM_POLICY"; NSString * const kGTLRCloudAssetContentTypeOrgPolicy = @"ORG_POLICY"; diff --git a/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h b/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h index 5c6f3e43c..513ee47d5 100644 --- a/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h +++ b/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.h @@ -909,6 +909,9 @@ GTLR_EXTERN NSString * const kGTLRCloudBuild_PullRequestFilter_CommentControl_Co */ @property(nonatomic, strong, nullable) NSArray *includedFiles; +/** User assigned name of the trigger. Must be unique within the project. */ +@property(nonatomic, copy, nullable) NSString *name; + /** Substitutions data for Build resource. */ @property(nonatomic, strong, nullable) GTLRCloudBuild_BuildTrigger_Substitutions *substitutions; @@ -1250,14 +1253,14 @@ GTLR_EXTERN NSString * const kGTLRCloudBuild_PullRequestFilter_CommentControl_Co @interface GTLRCloudBuild_PushFilter : GTLRObject /** - * Regexes of branches to match. + * Regexes matching branches to build. * The syntax of the regular expressions accepted is the syntax accepted by * RE2 and described at https://github.com/google/re2/wiki/Syntax */ @property(nonatomic, copy, nullable) NSString *branch; /** - * Regexes of tags to match. + * Regexes matching tags to build. * The syntax of the regular expressions accepted is the syntax accepted by * RE2 and described at https://github.com/google/re2/wiki/Syntax */ @@ -1271,7 +1274,11 @@ GTLR_EXTERN NSString * const kGTLRCloudBuild_PullRequestFilter_CommentControl_Co */ @interface GTLRCloudBuild_RepoSource : GTLRObject -/** Name of the branch to build. */ +/** + * Regex matching branches to build. + * The syntax of the regular expressions accepted is the syntax accepted by + * RE2 and described at https://github.com/google/re2/wiki/Syntax + */ @property(nonatomic, copy, nullable) NSString *branchName; /** Explicit commit SHA to build. */ @@ -1296,7 +1303,11 @@ GTLR_EXTERN NSString * const kGTLRCloudBuild_PullRequestFilter_CommentControl_Co */ @property(nonatomic, copy, nullable) NSString *repoName; -/** Name of the tag to build. */ +/** + * Regex matching tags to build. + * The syntax of the regular expressions accepted is the syntax accepted by + * RE2 and described at https://github.com/google/re2/wiki/Syntax + */ @property(nonatomic, copy, nullable) NSString *tagName; @end diff --git a/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m b/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m index a4eda5480..f0cd873f8 100644 --- a/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m +++ b/Source/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m @@ -247,7 +247,7 @@ @implementation GTLRCloudBuild_BuildStep @implementation GTLRCloudBuild_BuildTrigger @dynamic build, createTime, descriptionProperty, disabled, filename, github, - identifier, ignoredFiles, includedFiles, substitutions, tags, + identifier, ignoredFiles, includedFiles, name, substitutions, tags, triggerTemplate; + (NSDictionary *)propertyToJSONKeyMap { diff --git a/Source/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.h b/Source/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.h index dfc4f932b..28ad80047 100644 --- a/Source/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.h +++ b/Source/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.h @@ -169,10 +169,7 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf /** Configuration parameters for this environment. */ @property(nonatomic, strong, nullable) GTLRCloudComposer_EnvironmentConfig *config; -/** - * Output only. - * The time at which this environment was created. - */ +/** Output only. The time at which this environment was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** @@ -213,15 +210,12 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf */ @property(nonatomic, copy, nullable) NSString *state; -/** - * Output only. - * The time at which this environment was last modified. - */ +/** Output only. The time at which this environment was last modified. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; /** - * Output only. - * The UUID (Universally Unique IDentifier) associated with this environment. + * Output only. The UUID (Universally Unique IDentifier) associated with this + * environment. * This value is generated when the environment is created. */ @property(nonatomic, copy, nullable) NSString *uuid; @@ -253,16 +247,16 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf @interface GTLRCloudComposer_EnvironmentConfig : GTLRObject /** - * Output only. - * The URI of the Apache Airflow Web UI hosted within this environment (see + * Output only. The URI of the Apache Airflow Web UI hosted within this + * environment (see * [Airflow web * interface](/composer/docs/how-to/accessing/airflow-web-interface)). */ @property(nonatomic, copy, nullable) NSString *airflowUri; /** - * Output only. - * The Cloud Storage prefix of the DAGs for this environment. Although Cloud + * Output only. The Cloud Storage prefix of the DAGs for this environment. + * Although Cloud * Storage objects reside in a flat namespace, a hierarchical file tree * can be simulated using "/"-delimited object name prefixes. DAG objects for * this environment reside in a simulated directory with the given prefix. @@ -270,8 +264,7 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf @property(nonatomic, copy, nullable) NSString *dagGcsPrefix; /** - * Output only. - * The Kubernetes Engine cluster used to run this environment. + * Output only. The Kubernetes Engine cluster used to run this environment. */ @property(nonatomic, copy, nullable) NSString *gkeCluster; @@ -435,6 +428,8 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf * both fields. If exactly one of this field and `nodeConfig.location` is * specified, the location information from the specified field will be * propagated to the unspecified field. + * The `machineTypeId` must not be a [shared-core machine + * type](/compute/docs/machine-types#sharedcore). * If this field is unspecified, the `machineTypeId` defaults * to "n1-standard-1". */ @@ -578,22 +573,18 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf */ @interface GTLRCloudComposer_OperationMetadata : GTLRObject -/** - * Output only. - * The time the operation was submitted to the server. - */ +/** Output only. The time the operation was submitted to the server. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. - * The time when the operation terminated, regardless of its success. + * Output only. The time when the operation terminated, regardless of its + * success. * This field is unset if the operation is still ongoing. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Output only. - * The type of operation being performed. + * Output only. The type of operation being performed. * * Likely values: * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_Create A @@ -608,21 +599,16 @@ GTLR_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_State_Successf @property(nonatomic, copy, nullable) NSString *operationType; /** - * Output only. - * The resource being operated on, as a [relative resource name]( + * Output only. The resource being operated on, as a [relative resource name]( * /apis/design/resource_names#relative_resource_name). */ @property(nonatomic, copy, nullable) NSString *resource; -/** - * Output only. - * The UUID of the resource being operated on. - */ +/** Output only. The UUID of the resource being operated on. */ @property(nonatomic, copy, nullable) NSString *resourceUuid; /** - * Output only. - * The current operation state. + * Output only. The current operation state. * * Likely values: * @arg @c kGTLRCloudComposer_OperationMetadata_State_Failed The operation is diff --git a/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.h b/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.h index d7dccb606..ae5ad0aab 100644 --- a/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.h +++ b/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsObjects.h @@ -195,7 +195,7 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * { * "log_type": "DATA_READ", * "exempted_members": [ - * "user:foo\@gmail.com" + * "user:jose\@example.com" * ] * }, * { @@ -207,7 +207,7 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * ] * }, * { - * "service": "fooservice.googleapis.com" + * "service": "sampleservice.googleapis.com" * "audit_log_configs": [ * { * "log_type": "DATA_READ", @@ -215,16 +215,16 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * { * "log_type": "DATA_WRITE", * "exempted_members": [ - * "user:bar\@gmail.com" + * "user:aliya\@example.com" * ] * } * ] * } * ] * } - * For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - * logging. It also exempts foo\@gmail.com from DATA_READ logging, and - * bar\@gmail.com from DATA_WRITE logging. + * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + * logging. It also exempts jose\@example.com from DATA_READ logging, and + * aliya\@example.com from DATA_WRITE logging. */ @interface GTLRCloudFunctions_AuditConfig : GTLRObject @@ -249,7 +249,7 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * { * "log_type": "DATA_READ", * "exempted_members": [ - * "user:foo\@gmail.com" + * "user:jose\@example.com" * ] * }, * { @@ -258,7 +258,7 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * ] * } * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - * foo\@gmail.com from DATA_READ logging. + * jose\@example.com from DATA_READ logging. */ @interface GTLRCloudFunctions_AuditLogConfig : GTLRObject @@ -308,7 +308,7 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice\@gmail.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. @@ -364,7 +364,6 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U /** * Describes a Cloud Function that contains user computation executed in * response to an event. It encapsulate function and triggers configurations. - * LINT.IfChange */ @interface GTLRCloudFunctions_CloudFunction : GTLRObject @@ -436,23 +435,21 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * by it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for * more information on connecting Cloud projects. - * This feature is currently in alpha, available only for whitelisted users. */ @property(nonatomic, copy, nullable) NSString *network; /** - * Required. The runtime in which the function is going to run. Choices: - * * `nodejs6`: Node.js 6 - * * `nodejs8`: Node.js 8 - * * `nodejs10`: Node.js 10 - * * `python37`: Python 3.7 - * * `go111`: Go 1.11 + * The runtime in which to run the function. Required when deploying a new + * function, optional when updating an existing function. For a complete + * list of possible choices, see the + * [`gcloud` command + * reference](/sdk/gcloud/reference/functions/deploy#--runtime). */ @property(nonatomic, copy, nullable) NSString *runtime; /** * The email of the function's service account. If empty, defaults to - * {project_id}\@appspot.gserviceaccount.com. + * `{project_id}\@appspot.gserviceaccount.com`. */ @property(nonatomic, copy, nullable) NSString *serviceAccountEmail; @@ -507,8 +504,8 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; /** - * Output only. - * The version identifier of the Cloud Function. Each deployment attempt + * Output only. The version identifier of the Cloud Function. Each deployment + * attempt * results in a new version of a function being created. * * Uses NSNumber of longLongValue. @@ -524,7 +521,6 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * replace it. * See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for * more information on connecting Cloud projects. - * This feature is currently in alpha, available only for whitelisted users. */ @property(nonatomic, copy, nullable) NSString *vpcConnector; @@ -1116,7 +1112,7 @@ GTLR_EXTERN NSString * const kGTLRCloudFunctions_OperationMetadataV1Beta2_Type_U * systems are expected to put that etag in the request to `setIamPolicy` to * ensure that their change will be applied to the same version of the policy. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). diff --git a/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.h b/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.h index a6fed81ee..0a55f1a8a 100644 --- a/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.h +++ b/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.h @@ -401,6 +401,14 @@ NS_ASSUME_NONNULL_BEGIN // Previous library name was // +[GTLQueryCloudFunctions queryForProjectsLocationsFunctionsGetIamPolicyWithresource:] +/** + * Optional. The policy format version to be returned. + * Acceptable values are 0, 1, and 3. + * If the value is 0, or the field is omitted, policy format version 1 will be + * returned. + */ +@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; + /** * REQUIRED: The resource for which the policy is being requested. * See the operation documentation for the appropriate value for this field. diff --git a/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.m b/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.m index 1ff31ee00..dc0954624 100644 --- a/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.m +++ b/Source/GeneratedServices/CloudFunctions/GTLRCloudFunctionsQuery.m @@ -194,7 +194,11 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRCloudFunctionsQuery_ProjectsLocationsFunctionsGetIamPolicy -@dynamic resource; +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + (instancetype)queryWithResource:(NSString *)resource { NSArray *pathParams = @[ @"resource" ]; diff --git a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.h b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.h index 8832ecc2c..d216fd02e 100644 --- a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.h +++ b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.h @@ -293,7 +293,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_Schema /** Details of the source. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_AnnotationSource *annotationSource; -/** Annnotations for images, e.g., bounding polygons. */ +/** Annotations for images, e.g., bounding polygons. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_ImageAnnotation *imageAnnotation; /** @@ -462,15 +462,6 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_Schema */ @property(nonatomic, strong, nullable) NSArray *exemptedMembers; -/** - * Specifies whether principals can be exempted for the same LogType in - * lower-level resource policies. If true, any lower-level exemptions will - * be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreChildExemptions; - /** * The log type that this config enables. * @@ -574,8 +565,8 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_Schema /** * An AES 128/192/256 bit key. Causes the hash to be computed based on this - * key. A default key is generated for each DeidentifyDataset operation and is - * used wherever crypto_key is not specified. + * key. A default key is generated for each Deidentify operation and is used + * wherever crypto_key is not specified. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -620,8 +611,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_Schema /** * An AES 128/192/256 bit key. Causes the shift to be computed based on this * key and the patient ID. A default key is generated for each - * DeidentifyDataset operation and is used wherever crypto_key is not - * specified. + * Deidentify operation and is used wherever crypto_key is not specified. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -1208,7 +1198,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcare_SchemaConfig_SchemaType_Schema /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. * diff --git a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m index 512fe2afe..fe3baa43b 100644 --- a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m +++ b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m @@ -119,7 +119,7 @@ @implementation GTLRCloudHealthcare_AuditConfig // @implementation GTLRCloudHealthcare_AuditLogConfig -@dynamic exemptedMembers, ignoreChildExemptions, logType; +@dynamic exemptedMembers, logType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.h b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.h index 8e5f51d60..a6b85d5dc 100644 --- a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.h +++ b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.h @@ -1782,7 +1782,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -2846,8 +2846,8 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; @end /** - * Retrieves all the resources in the patient compartment for a `Patient` - * resource. + * Retrieves all the resources directly referenced by a patient, as well as + * all of the resources in the patient compartment. * Implements the FHIR extended operation * [Patient-everything](http://hl7.org/implement/standards/fhir/STU3/patient-operations.html#everything). * On success, the response body will contain a JSON-encoded representation @@ -2867,6 +2867,9 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; // Previous library name was // +[GTLQueryCloudHealthcare queryForProjectsLocationsDatasetsFhirStoresFhirPatientEverythingWithname:] +/** Maximum number of resources in a page. Defaults to 100. */ +@property(nonatomic, assign) NSInteger xCount; + /** * The response includes records prior to the end date. If no end date is * provided, all records subsequent to the start date are in scope. @@ -2876,6 +2879,16 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; /** Name of the `Patient` resource for which the information is required. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Used to retrieve the next or previous page of results + * when using pagination. Value should be set to the value of page_token set + * in next or previous page links' url. Next and previous page are returned + * in the response bundle's links field, where `link.relation` is "previous" + * or "next". + * Omit `page_token` if no previous request has been made. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + /** * The response includes records subsequent to the start date. If no start * date is provided, all records prior to the end date are in scope. @@ -2885,8 +2898,8 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; /** * Fetches a @c GTLRCloudHealthcare_HttpBody. * - * Retrieves all the resources in the patient compartment for a `Patient` - * resource. + * Retrieves all the resources directly referenced by a patient, as well as + * all of the resources in the patient compartment. * Implements the FHIR extended operation * [Patient-everything](http://hl7.org/implement/standards/fhir/STU3/patient-operations.html#everything). * On success, the response body will contain a JSON-encoded representation @@ -3253,7 +3266,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -3685,7 +3698,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -3824,7 +3837,7 @@ GTLR_EXTERN NSString * const kGTLRCloudHealthcareViewRawOnly; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ diff --git a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m index f458b8430..aaf7ad9f3 100644 --- a/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m +++ b/Source/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m @@ -1417,7 +1417,11 @@ + (instancetype)queryWithObject:(GTLRCloudHealthcare_HttpBody *)object @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirPatientEverything -@dynamic end, name, start; +@dynamic xCount, end, name, pageToken, start; + ++ (NSDictionary *)parameterNameMap { + return @{ @"xCount" : @"_count" }; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Source/GeneratedServices/CloudIot/GTLRCloudIotObjects.h b/Source/GeneratedServices/CloudIot/GTLRCloudIotObjects.h index 242c87e71..f2be112d3 100644 --- a/Source/GeneratedServices/CloudIot/GTLRCloudIotObjects.h +++ b/Source/GeneratedServices/CloudIot/GTLRCloudIotObjects.h @@ -863,7 +863,7 @@ GTLR_EXTERN NSString * const kGTLRCloudIot_PublicKeyCredential_Format_Unspecifie /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. * diff --git a/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.h b/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.h index d8f691853..9615ebbd5 100644 --- a/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.h +++ b/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.h @@ -781,12 +781,6 @@ GTLR_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_RsaSignPss4096Sha */ @interface GTLRCloudKMS_AsymmetricSignResponse : GTLRObject -/** - * The resource name of the CryptoKeyVersion used for signing. Check - * this field to verify that the intended resource was used for signing. - */ -@property(nonatomic, copy, nullable) NSString *name; - /** * The created signature. * @@ -2151,12 +2145,6 @@ GTLR_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_RsaSignPss4096Sha */ @property(nonatomic, copy, nullable) NSString *algorithm; -/** - * The name of the CryptoKeyVersion public key. - * Provided here for verification. - */ -@property(nonatomic, copy, nullable) NSString *name; - /** * The public key, encoded in PEM format. For more information, see the * [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for diff --git a/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m b/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m index e5e80ca6b..583188035 100644 --- a/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m +++ b/Source/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m @@ -175,7 +175,7 @@ @implementation GTLRCloudKMS_AsymmetricSignRequest // @implementation GTLRCloudKMS_AsymmetricSignResponse -@dynamic name, signature; +@dynamic signature; @end @@ -582,7 +582,7 @@ @implementation GTLRCloudKMS_Policy // @implementation GTLRCloudKMS_PublicKey -@dynamic algorithm, name, pem; +@dynamic algorithm, pem; @end diff --git a/Source/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.h b/Source/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.h index c04572565..0ee1dd1eb 100644 --- a/Source/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.h +++ b/Source/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.h @@ -784,7 +784,7 @@ GTLR_EXTERN NSString * const kGTLRCloudKMSViewFull; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -1099,7 +1099,7 @@ GTLR_EXTERN NSString * const kGTLRCloudKMSViewFull; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -1217,7 +1217,7 @@ GTLR_EXTERN NSString * const kGTLRCloudKMSViewFull; /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ diff --git a/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h b/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h index 4a6f3f6d2..84bdc86a8 100644 --- a/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h +++ b/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.h @@ -40,6 +40,7 @@ @class GTLRCloudMachineLearningEngine_GoogleCloudMlV1PredictionInput; @class GTLRCloudMachineLearningEngine_GoogleCloudMlV1PredictionOutput; @class GTLRCloudMachineLearningEngine_GoogleCloudMlV1ReplicaConfig; +@class GTLRCloudMachineLearningEngine_GoogleCloudMlV1RequestLoggingConfig; @class GTLRCloudMachineLearningEngine_GoogleCloudMlV1TrainingInput; @class GTLRCloudMachineLearningEngine_GoogleCloudMlV1TrainingOutput; @class GTLRCloudMachineLearningEngine_GoogleCloudMlV1Version; @@ -110,6 +111,12 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Acce * Value: "TPU_V2" */ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_TpuV2; +/** + * TPU v3. + * + * Value: "TPU_V3" + */ +GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_TpuV3; // ---------------------------------------------------------------------------- // GTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability.availableAccelerators @@ -128,6 +135,8 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capa GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_NvidiaTeslaV100; /** Value: "TPU_V2" */ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_TpuV2; +/** Value: "TPU_V3" */ +GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_TpuV3; // ---------------------------------------------------------------------------- // GTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability.type @@ -758,6 +767,8 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog * Nvidia Tesla V100 GPU. (Value: "NVIDIA_TESLA_V100") * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_TpuV2 * TPU v2. (Value: "TPU_V2") + * @arg @c kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_TpuV3 + * TPU v3. (Value: "TPU_V3") */ @property(nonatomic, copy, nullable) NSString *type; @@ -1857,6 +1868,36 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog @end +/** + * Configurations for logging request-response pairs. Currently only BigQuery + * logging is supported. The request and response will be converted to raw + * string and stored within the specified BigQuery table. The schema is: + * model: STRING + * version: STRING + * time: Timestamp + * raw_data: STRING + * raw_prediction: STRING + * ground_truth: STRING + */ +@interface GTLRCloudMachineLearningEngine_GoogleCloudMlV1RequestLoggingConfig : GTLRObject + +/** + * Fully qualified BigQuery table name in the format of + * "[project_id].[dataset_name].[table_name]". + */ +@property(nonatomic, copy, nullable) NSString *bigqueryTableName; + +/** + * Percentage of the request being logged. The sampling window is the lifetime + * of the Version. Defaults to 0. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *samplingPercentage; + +@end + + /** * Request message for the SetDefaultVersion request. */ @@ -2445,6 +2486,12 @@ GTLR_EXTERN NSString * const kGTLRCloudMachineLearningEngine_GoogleIamV1AuditLog */ @property(nonatomic, copy, nullable) NSString *pythonVersion; +/** + * Optional. Configures the request-response pair logging on predictions from + * this Version. + */ +@property(nonatomic, strong, nullable) GTLRCloudMachineLearningEngine_GoogleCloudMlV1RequestLoggingConfig *requestLoggingConfig; + /** * Optional. The AI Platform runtime version to use for this deployment. * If not set, AI Platform uses the default stable version, 1.0. For more diff --git a/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.m b/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.m index 332a04b5b..671f3dc94 100644 --- a/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.m +++ b/Source/GeneratedServices/CloudMachineLearningEngine/GTLRCloudMachineLearningEngineObjects.m @@ -21,6 +21,7 @@ NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_NvidiaTeslaT4 = @"NVIDIA_TESLA_T4"; NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_NvidiaTeslaV100 = @"NVIDIA_TESLA_V100"; NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_TpuV2 = @"TPU_V2"; +NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1AcceleratorConfig_Type_TpuV3 = @"TPU_V3"; // GTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability.availableAccelerators NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_AcceleratorTypeUnspecified = @"ACCELERATOR_TYPE_UNSPECIFIED"; @@ -30,6 +31,7 @@ NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_NvidiaTeslaT4 = @"NVIDIA_TESLA_T4"; NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_NvidiaTeslaV100 = @"NVIDIA_TESLA_V100"; NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_TpuV2 = @"TPU_V2"; +NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_AvailableAccelerators_TpuV3 = @"TPU_V3"; // GTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability.type NSString * const kGTLRCloudMachineLearningEngine_GoogleCloudMlV1Capability_Type_BatchPrediction = @"BATCH_PREDICTION"; @@ -588,6 +590,16 @@ @implementation GTLRCloudMachineLearningEngine_GoogleCloudMlV1ReplicaConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudMachineLearningEngine_GoogleCloudMlV1RequestLoggingConfig +// + +@implementation GTLRCloudMachineLearningEngine_GoogleCloudMlV1RequestLoggingConfig +@dynamic bigqueryTableName, samplingPercentage; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudMachineLearningEngine_GoogleCloudMlV1SetDefaultVersionRequest @@ -649,7 +661,8 @@ @implementation GTLRCloudMachineLearningEngine_GoogleCloudMlV1Version @dynamic autoScaling, createTime, deploymentUri, descriptionProperty, errorMessage, ETag, framework, isDefault, labels, lastUseTime, machineType, manualScaling, name, packageUris, predictionClass, - pythonVersion, runtimeVersion, serviceAccount, state; + pythonVersion, requestLoggingConfig, runtimeVersion, serviceAccount, + state; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.h b/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.h index de8988911..7fe361e41 100644 --- a/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.h +++ b/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.h @@ -803,15 +803,6 @@ GTLR_EXTERN NSString * const kGTLRCloudPrivateCatalogProducer_GoogleIamV1AuditLo */ @property(nonatomic, strong, nullable) NSArray *exemptedMembers; -/** - * Specifies whether principals can be exempted for the same LogType in - * lower-level resource policies. If true, any lower-level exemptions will - * be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreChildExemptions; - /** * The log type that this config enables. * diff --git a/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.m b/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.m index 0583933e9..686945dc3 100644 --- a/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.m +++ b/Source/GeneratedServices/CloudPrivateCatalogProducer/GTLRCloudPrivateCatalogProducerObjects.m @@ -264,7 +264,7 @@ @implementation GTLRCloudPrivateCatalogProducer_GoogleIamV1AuditConfig // @implementation GTLRCloudPrivateCatalogProducer_GoogleIamV1AuditLogConfig -@dynamic exemptedMembers, ignoreChildExemptions, logType; +@dynamic exemptedMembers, logType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.h b/Source/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.h index 2ab724635..2e8689437 100644 --- a/Source/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.h +++ b/Source/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.h @@ -526,7 +526,7 @@ GTLR_EXTERN NSString * const kGTLRCloudResourceManager_FolderOperationError_Erro /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. * diff --git a/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.h b/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.h index b7ae9ccf0..c7fe1b0bc 100644 --- a/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.h +++ b/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.h @@ -19,6 +19,7 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRCloudRun_Location; @class GTLRCloudRun_Location_Labels; @class GTLRCloudRun_Location_Metadata; @@ -29,6 +30,30 @@ NS_ASSUME_NONNULL_BEGIN +/** + * The response message for Locations.ListLocations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "locations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCloudRun_ListLocationsResponse : GTLRCollectionObject + +/** + * A list of locations that matches the specified filter in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** The standard List next-page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * A resource that represents Google Cloud Platform location. */ diff --git a/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index 18172f52d..742286cde 100644 --- a/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Source/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -11,6 +11,28 @@ #import "GTLRCloudRunObjects.h" +// ---------------------------------------------------------------------------- +// +// GTLRCloudRun_ListLocationsResponse +// + +@implementation GTLRCloudRun_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRCloudRun_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRun_Location diff --git a/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.h b/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.h index b265ce8f7..4f9e1a40f 100644 --- a/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.h +++ b/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.h @@ -64,6 +64,47 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Lists information about the supported locations for this service. + * + * Method: run.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRunCloudPlatform + */ +@interface GTLRCloudRunQuery_ProjectsLocationsList : GTLRCloudRunQuery +// Previous library name was +// +[GTLQueryCloudRun queryForProjectsLocationsListWithname:] + +/** The standard list filter. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@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 GTLRCloudRun_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRCloudRunQuery_ProjectsLocationsList + * + * @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 + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.m b/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.m index 2c32e7a4c..5fe58403e 100644 --- a/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.m +++ b/Source/GeneratedServices/CloudRun/GTLRCloudRunQuery.m @@ -37,3 +37,22 @@ + (instancetype)queryWithName:(NSString *)name { } @end + +@implementation GTLRCloudRunQuery_ProjectsLocationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRCloudRunQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudRun_ListLocationsResponse class]; + query.loggingName = @"run.projects.locations.list"; + return query; +} + +@end diff --git a/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.h b/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.h index b6222c986..8c7836a00 100644 --- a/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.h +++ b/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.h @@ -504,8 +504,7 @@ GTLR_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @property(nonatomic, strong, nullable) GTLRCloudScheduler_OidcToken *oidcToken; /** - * Required. - * The full URI path that the request will be sent to. This string + * Required. The full URI path that the request will be sent to. This string * must begin with either "http://" or "https://". Some examples of * valid values for uri are: * `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will @@ -935,8 +934,7 @@ GTLR_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; @property(nonatomic, copy, nullable) NSString *data; /** - * Required. - * The name of the Cloud Pub/Sub topic to which messages will + * Required. The name of the Cloud Pub/Sub topic to which messages will * be published when a job is delivered. The topic name must be in the * same format as required by PubSub's * [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest), diff --git a/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.h b/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.h index 694155378..5385763e2 100644 --- a/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.h +++ b/Source/GeneratedServices/CloudScheduler/GTLRCloudSchedulerQuery.h @@ -81,8 +81,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryCloudScheduler queryForProjectsLocationsJobsCreateWithObject:parent:] /** - * Required. - * The location name. For example: + * Required. The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -93,8 +92,7 @@ NS_ASSUME_NONNULL_BEGIN * Creates a job. * * @param object The @c GTLRCloudScheduler_Job to include in the query. - * @param parent Required. - * The location name. For example: + * @param parent Required. The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsCreate @@ -117,8 +115,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryCloudScheduler queryForProjectsLocationsJobsDeleteWithname:] /** - * Required. - * The job name. For example: + * Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -128,8 +125,7 @@ NS_ASSUME_NONNULL_BEGIN * * Deletes a job. * - * @param name Required. - * The job name. For example: + * @param name Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsDelete @@ -151,8 +147,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryCloudScheduler queryForProjectsLocationsJobsGetWithname:] /** - * Required. - * The job name. For example: + * Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -162,8 +157,7 @@ NS_ASSUME_NONNULL_BEGIN * * Gets a job. * - * @param name Required. - * The job name. For example: + * @param name Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsGet @@ -205,8 +199,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. - * The location name. For example: + * Required. The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -216,8 +209,7 @@ NS_ASSUME_NONNULL_BEGIN * * Lists jobs. * - * @param parent Required. - * The location name. For example: + * @param parent Required. The location name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsList @@ -327,8 +319,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryCloudScheduler queryForProjectsLocationsJobsPauseWithObject:name:] /** - * Required. - * The job name. For example: + * Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -345,8 +336,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCloudScheduler_PauseJobRequest to include in the * query. - * @param name Required. - * The job name. For example: + * @param name Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsPause @@ -373,8 +363,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryCloudScheduler queryForProjectsLocationsJobsResumeWithObject:name:] /** - * Required. - * The job name. For example: + * Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -390,8 +379,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCloudScheduler_ResumeJobRequest to include in the * query. - * @param name Required. - * The job name. For example: + * @param name Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsResume @@ -416,8 +404,7 @@ NS_ASSUME_NONNULL_BEGIN // +[GTLQueryCloudScheduler queryForProjectsLocationsJobsRunWithObject:name:] /** - * Required. - * The job name. For example: + * Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -431,8 +418,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCloudScheduler_RunJobRequest to include in the * query. - * @param name Required. - * The job name. For example: + * @param name Required. The job name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. * * @return GTLRCloudSchedulerQuery_ProjectsLocationsJobsRun diff --git a/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.h b/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.h index 3ab7a4327..103043fbc 100644 --- a/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.h +++ b/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.h @@ -888,7 +888,8 @@ GTLR_EXTERN NSString * const kGTLRCloudSearch_QueryInterpretation_Interpretation */ GTLR_EXTERN NSString * const kGTLRCloudSearch_QueryInterpretation_InterpretationType_None; /** - * The results only contain natural language results. + * The results from original query are replaced. The reason for replacing + * the results from original query is populated in the 'Reason' field below. * * Value: "REPLACE" */ @@ -3566,6 +3567,13 @@ GTLR_EXTERN NSString * const kGTLRCloudSearch_UnmappedIdentity_ResolutionStatusC */ @property(nonatomic, strong, nullable) NSNumber *isSortable; +/** + * Indicates that the property can be used for generating query suggestions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isSuggestable; + /** * Indicates that users can perform wildcard search for this * property. Only supported for Text properties. IsReturnable must be true to @@ -3754,13 +3762,17 @@ GTLR_EXTERN NSString * const kGTLRCloudSearch_UnmappedIdentity_ResolutionStatusC * natural language interpretation or the natural language interpretation * is not used to fetch the search results. (Value: "NONE") * @arg @c kGTLRCloudSearch_QueryInterpretation_InterpretationType_Replace - * The results only contain natural language results. (Value: "REPLACE") + * The results from original query are replaced. The reason for replacing + * the results from original query is populated in the 'Reason' field + * below. (Value: "REPLACE") */ @property(nonatomic, copy, nullable) NSString *interpretationType; /** - * The interpretation of the query used in search. For example, query "email - * from john" will be interpreted as "from:john source:mail" + * The interpretation of the query used in search. For example, queries with + * natural language intent like "email from john" will be interpreted as + * "from:john source:mail". This field will not be filled when the reason is + * NO_RESULTS_FOUND_FOR_USER_QUERY. */ @property(nonatomic, copy, nullable) NSString *interpretedQuery; diff --git a/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m b/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m index 9b78e5bd3..aef8672db 100644 --- a/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m +++ b/Source/GeneratedServices/CloudSearch/GTLRCloudSearchObjects.m @@ -1450,8 +1450,8 @@ @implementation GTLRCloudSearch_PropertyDefinition @dynamic booleanPropertyOptions, datePropertyOptions, displayOptions, doublePropertyOptions, enumPropertyOptions, htmlPropertyOptions, integerPropertyOptions, isFacetable, isRepeatable, isReturnable, - isSortable, isWildcardSearchable, name, objectPropertyOptions, - textPropertyOptions, timestampPropertyOptions; + isSortable, isSuggestable, isWildcardSearchable, name, + objectPropertyOptions, textPropertyOptions, timestampPropertyOptions; @end diff --git a/Source/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.h b/Source/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.h index 0c55dfb3f..695a6d988 100644 --- a/Source/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.h +++ b/Source/GeneratedServices/CloudTalentSolution/GTLRCloudTalentSolutionObjects.h @@ -2776,7 +2776,8 @@ GTLR_EXTERN NSString * const kGTLRCloudTalentSolution_SearchJobsRequest_SearchMo @property(nonatomic, copy, nullable) NSString *title; /** - * Optional. The visibility of the job. + * Deprecated. The job is only visible to the owner. + * The visibility of the job. * Defaults to Visibility.ACCOUNT_ONLY if not specified. * * Likely values: diff --git a/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.h b/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.h index 3314d61c8..a7e35a485 100644 --- a/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.h +++ b/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.h @@ -24,6 +24,7 @@ @class GTLRCloudTasks_Attempt; @class GTLRCloudTasks_Binding; @class GTLRCloudTasks_Expr; +@class GTLRCloudTasks_GetPolicyOptions; @class GTLRCloudTasks_Location; @class GTLRCloudTasks_Location_Labels; @class GTLRCloudTasks_Location_Metadata; @@ -259,11 +260,10 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * protocol. * The AppEngineRouting used to construct the URL that the task is * delivered to can be set at the queue-level or task-level: - * * If set, - * app_engine_routing_override - * is used for all tasks in the queue, no matter what the setting - * is for the - * task-level app_engine_routing. + * * If app_engine_routing_override is set on the + * queue, this value is used for all + * tasks in the queue, no matter what the setting is for the task-level + * app_engine_routing. * The `url` that the task will be sent to is: * * `url =` host `+` * relative_uri @@ -293,10 +293,10 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; /** * Task-level setting for App Engine routing. - * If set, - * app_engine_routing_override - * is used for all tasks in the queue, no matter what the setting is for the - * task-level app_engine_routing. + * * If app_engine_routing_override is set on the + * queue, this value is used for all + * tasks in the queue, no matter what the setting is for the task-level + * app_engine_routing. */ @property(nonatomic, strong, nullable) GTLRCloudTasks_AppEngineRouting *appEngineRouting; @@ -448,6 +448,11 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), * and [App Engine Flex request * routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed). + * Using AppEngineRouting requires + * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) + * Google IAM permission for the project + * and the following scope: + * `https://www.googleapis.com/auth/cloud-platform` */ @interface GTLRCloudTasks_AppEngineRouting : GTLRObject @@ -572,7 +577,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice\@gmail.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. @@ -629,8 +634,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @property(nonatomic, copy, nullable) NSString *responseView; /** - * Required. - * The task to add. + * Required. The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. * The user can optionally specify a task name. If a @@ -721,6 +725,31 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * Request message for `GetIamPolicy` method. */ @interface GTLRCloudTasks_GetIamPolicyRequest : GTLRObject + +/** + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. This field is only used by Cloud IAM. + */ +@property(nonatomic, strong, nullable) GTLRCloudTasks_GetPolicyOptions *options; + +@end + + +/** + * Encapsulates settings provided to GetIamPolicy. + */ +@interface GTLRCloudTasks_GetPolicyOptions : GTLRObject + +/** + * Optional. The policy format version to be returned. + * Acceptable values are 0, 1, and 3. + * If the value is 0, or the field is omitted, policy format version 1 will be + * returned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedPolicyVersion; + @end @@ -935,7 +964,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * systems are expected to put that etag in the request to `setIamPolicy` to * ensure that their change will be applied to the same version of the policy. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). @@ -1116,7 +1145,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * Cloud Tasks will pick the value of `max_burst_size` based on the * value of * max_dispatches_per_second. - * For App Engine queues that were created or updated using + * For queues that were created or updated using * `queue.yaml/xml`, `max_burst_size` is equal to * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). * Since `max_burst_size` is output only, if @@ -1152,8 +1181,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; * The maximum rate at which tasks are dispatched from this queue. * If unspecified when the queue is created, Cloud Tasks will pick the * default. - * * For App Engine queues, the maximum allowed value - * is 500. + * * The maximum allowed value is 500. * This field has the same meaning as * [rate in * queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate). @@ -1466,8 +1494,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasks_Task_View_ViewUnspecified; @property(nonatomic, strong, nullable) NSNumber *responseCount; /** - * The time when the task is scheduled to be attempted. - * For App Engine queues, this is when the task will be attempted or retried. + * The time when the task is scheduled to be attempted or retried. * `schedule_time` will be truncated to the nearest microsecond. */ @property(nonatomic, strong, nullable) GTLRDateTime *scheduleTime; diff --git a/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m b/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m index 5dffa1480..69cd443c6 100644 --- a/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m +++ b/Source/GeneratedServices/CloudTasks/GTLRCloudTasksObjects.m @@ -146,6 +146,17 @@ @implementation GTLRCloudTasks_Expr // @implementation GTLRCloudTasks_GetIamPolicyRequest +@dynamic options; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudTasks_GetPolicyOptions +// + +@implementation GTLRCloudTasks_GetPolicyOptions +@dynamic requestedPolicyVersion; @end diff --git a/Source/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.h b/Source/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.h index a94959a52..1cb6f91e3 100644 --- a/Source/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.h +++ b/Source/GeneratedServices/CloudTasks/GTLRCloudTasksQuery.h @@ -154,8 +154,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesCreateWithObject:parent:] /** - * Required. - * The location name in which the queue will be created. + * Required. The location name in which the queue will be created. * For example: `projects/PROJECT_ID/locations/LOCATION_ID` * The list of allowed locations can be obtained by calling Cloud * Tasks' implementation of @@ -179,8 +178,8 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * this method. * * @param object The @c GTLRCloudTasks_Queue to include in the query. - * @param parent Required. - * The location name in which the queue will be created. + * @param parent Required. The location name in which the queue will be + * created. * For example: `projects/PROJECT_ID/locations/LOCATION_ID` * The list of allowed locations can be obtained by calling Cloud * Tasks' implementation of @@ -215,8 +214,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesDeleteWithname:] /** - * Required. - * The queue name. For example: + * Required. The queue name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -235,8 +233,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using * this method. * - * @param name Required. - * The queue name. For example: + * @param name Required. The queue name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesDelete @@ -258,8 +255,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesGetWithname:] /** - * Required. - * The resource name of the queue. For example: + * Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -269,8 +265,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * * Gets a queue. * - * @param name Required. - * The resource name of the queue. For example: + * @param name Required. The resource name of the queue. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesGet @@ -375,8 +370,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. - * The location name. + * Required. The location name. * For example: `projects/PROJECT_ID/locations/LOCATION_ID` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -387,8 +381,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * Lists queues. * Queues are returned in lexicographical order. * - * @param parent Required. - * The location name. + * @param parent Required. The location name. * For example: `projects/PROJECT_ID/locations/LOCATION_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesList @@ -513,8 +506,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesPauseWithObject:name:] /** - * Required. - * The queue name. For example: + * Required. The queue name. For example: * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -531,8 +523,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * * @param object The @c GTLRCloudTasks_PauseQueueRequest to include in the * query. - * @param name Required. - * The queue name. For example: + * @param name Required. The queue name. For example: * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesPause @@ -558,8 +549,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesPurgeWithObject:name:] /** - * Required. - * The queue name. For example: + * Required. The queue name. For example: * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -574,8 +564,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * * @param object The @c GTLRCloudTasks_PurgeQueueRequest to include in the * query. - * @param name Required. - * The queue name. For example: + * @param name Required. The queue name. For example: * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesPurge @@ -608,8 +597,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesResumeWithObject:name:] /** - * Required. - * The queue name. For example: + * Required. The queue name. For example: * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -631,8 +619,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * * @param object The @c GTLRCloudTasks_ResumeQueueRequest to include in the * query. - * @param name Required. - * The queue name. For example: + * @param name Required. The queue name. For example: * `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesResume @@ -707,8 +694,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesTasksCreateWithObject:parent:] /** - * Required. - * The queue name. For example: + * Required. The queue name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * The queue must already exist. */ @@ -723,8 +709,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * * @param object The @c GTLRCloudTasks_CreateTaskRequest to include in the * query. - * @param parent Required. - * The queue name. For example: + * @param parent Required. The queue name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * The queue must already exist. * @@ -751,8 +736,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesTasksDeleteWithname:] /** - * Required. - * The task name. For example: + * Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -765,8 +749,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * cannot be deleted if it has executed successfully or permanently * failed. * - * @param name Required. - * The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksDelete @@ -788,8 +771,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesTasksGetWithname:] /** - * Required. - * The task name. For example: + * Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -819,8 +801,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * * Gets a task. * - * @param name Required. - * The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksGet @@ -869,8 +850,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. - * The queue name. For example: + * Required. The queue name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -906,8 +886,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * The tasks may be returned in any order. The ordering may change at any * time. * - * @param parent Required. - * The queue name. For example: + * @param parent Required. The queue name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksList @@ -951,8 +930,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; // +[GTLQueryCloudTasks queryForProjectsLocationsQueuesTasksRunWithObject:name:] /** - * Required. - * The task name. For example: + * Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` */ @property(nonatomic, copy, nullable) NSString *name; @@ -981,8 +959,7 @@ GTLR_EXTERN NSString * const kGTLRCloudTasksResponseViewViewUnspecified; * task that has already succeeded or permanently failed. * * @param object The @c GTLRCloudTasks_RunTaskRequest to include in the query. - * @param name Required. - * The task name. For example: + * @param name Required. The task name. For example: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` * * @return GTLRCloudTasksQuery_ProjectsLocationsQueuesTasksRun diff --git a/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.h b/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.h index a38ca33fd..6f9c2bd7d 100644 --- a/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.h +++ b/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.h @@ -94,6 +94,55 @@ GTLR_EXTERN NSString * const kGTLRCloudTrace_MessageEvent_Type_Sent; */ GTLR_EXTERN NSString * const kGTLRCloudTrace_MessageEvent_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudTrace_Span.spanKind + +/** + * Indicates that the span covers the client-side wrapper around an RPC or + * other remote request. + * + * Value: "CLIENT" + */ +GTLR_EXTERN NSString * const kGTLRCloudTrace_Span_SpanKind_Client; +/** + * Indicates that the span describes consumer recieving a message from a + * broker. Unlike client and server, there is no direct critical path + * latency relationship between producer and consumer spans (e.g. receiving + * a message from a pubsub service subscription). + * + * Value: "CONSUMER" + */ +GTLR_EXTERN NSString * const kGTLRCloudTrace_Span_SpanKind_Consumer; +/** + * Indicates that the span is used internally. Default value. + * + * Value: "INTERNAL" + */ +GTLR_EXTERN NSString * const kGTLRCloudTrace_Span_SpanKind_Internal; +/** + * Indicates that the span describes producer sending a message to a broker. + * Unlike client and server, there is no direct critical path latency + * relationship between producer and consumer spans (e.g. publishing a + * message to a pubsub service). + * + * Value: "PRODUCER" + */ +GTLR_EXTERN NSString * const kGTLRCloudTrace_Span_SpanKind_Producer; +/** + * Indicates that the span covers server-side handling of an RPC or other + * remote network request. + * + * Value: "SERVER" + */ +GTLR_EXTERN NSString * const kGTLRCloudTrace_Span_SpanKind_Server; +/** + * Unspecified. Do NOT use as default. + * Implementations MAY assume SpanKind.INTERNAL to be default. + * + * Value: "SPAN_KIND_UNSPECIFIED" + */ +GTLR_EXTERN NSString * const kGTLRCloudTrace_Span_SpanKind_SpanKindUnspecified; + /** * Text annotation with a set of attributes. */ @@ -412,6 +461,38 @@ GTLR_EXTERN NSString * const kGTLRCloudTrace_MessageEvent_Type_TypeUnspecified; /** The [SPAN_ID] portion of the span's resource name. */ @property(nonatomic, copy, nullable) NSString *spanId; +/** + * Distinguishes between spans generated in a particular context. For example, + * two spans with the same name may be distinguished using `CLIENT` (caller) + * and `SERVER` (callee) to identify an RPC call. + * + * Likely values: + * @arg @c kGTLRCloudTrace_Span_SpanKind_Client Indicates that the span + * covers the client-side wrapper around an RPC or + * other remote request. (Value: "CLIENT") + * @arg @c kGTLRCloudTrace_Span_SpanKind_Consumer Indicates that the span + * describes consumer recieving a message from a + * broker. Unlike client and server, there is no direct critical path + * latency relationship between producer and consumer spans (e.g. + * receiving + * a message from a pubsub service subscription). (Value: "CONSUMER") + * @arg @c kGTLRCloudTrace_Span_SpanKind_Internal Indicates that the span is + * used internally. Default value. (Value: "INTERNAL") + * @arg @c kGTLRCloudTrace_Span_SpanKind_Producer Indicates that the span + * describes producer sending a message to a broker. + * Unlike client and server, there is no direct critical path latency + * relationship between producer and consumer spans (e.g. publishing a + * message to a pubsub service). (Value: "PRODUCER") + * @arg @c kGTLRCloudTrace_Span_SpanKind_Server Indicates that the span + * covers server-side handling of an RPC or other + * remote network request. (Value: "SERVER") + * @arg @c kGTLRCloudTrace_Span_SpanKind_SpanKindUnspecified Unspecified. Do + * NOT use as default. + * Implementations MAY assume SpanKind.INTERNAL to be default. (Value: + * "SPAN_KIND_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *spanKind; + /** Stack trace captured at the start of the span. */ @property(nonatomic, strong, nullable) GTLRCloudTrace_StackTrace *stackTrace; diff --git a/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.m b/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.m index d674d5522..26a118410 100644 --- a/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.m +++ b/Source/GeneratedServices/CloudTrace/GTLRCloudTraceObjects.m @@ -27,6 +27,14 @@ NSString * const kGTLRCloudTrace_MessageEvent_Type_Sent = @"SENT"; NSString * const kGTLRCloudTrace_MessageEvent_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudTrace_Span.spanKind +NSString * const kGTLRCloudTrace_Span_SpanKind_Client = @"CLIENT"; +NSString * const kGTLRCloudTrace_Span_SpanKind_Consumer = @"CONSUMER"; +NSString * const kGTLRCloudTrace_Span_SpanKind_Internal = @"INTERNAL"; +NSString * const kGTLRCloudTrace_Span_SpanKind_Producer = @"PRODUCER"; +NSString * const kGTLRCloudTrace_Span_SpanKind_Server = @"SERVER"; +NSString * const kGTLRCloudTrace_Span_SpanKind_SpanKindUnspecified = @"SPAN_KIND_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRCloudTrace_Annotation @@ -163,8 +171,8 @@ @implementation GTLRCloudTrace_Module @implementation GTLRCloudTrace_Span @dynamic attributes, childSpanCount, displayName, endTime, links, name, - parentSpanId, sameProcessAsParentSpan, spanId, stackTrace, startTime, - status, timeEvents; + parentSpanId, sameProcessAsParentSpan, spanId, spanKind, stackTrace, + startTime, status, timeEvents; @end diff --git a/Source/GeneratedServices/Compute/GTLRComputeService.m b/Source/GeneratedServices/Compute/GTLRComputeService.m index c7a80b567..9e4ed8744 100644 --- a/Source/GeneratedServices/Compute/GTLRComputeService.m +++ b/Source/GeneratedServices/Compute/GTLRComputeService.m @@ -30,7 +30,7 @@ - (instancetype)init { self = [super init]; if (self) { // From discovery. - self.rootURLString = @"https://www.googleapis.com/"; + self.rootURLString = @"https://compute.googleapis.com/"; self.servicePath = @"compute/v1/projects/"; self.batchPath = @"batch/compute/v1"; self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; diff --git a/Source/GeneratedServices/Container/GTLRContainerObjects.h b/Source/GeneratedServices/Container/GTLRContainerObjects.h index c991495e1..57f6a5bff 100644 --- a/Source/GeneratedServices/Container/GTLRContainerObjects.h +++ b/Source/GeneratedServices/Container/GTLRContainerObjects.h @@ -31,6 +31,7 @@ @class GTLRContainer_ConsumptionMeteringConfig; @class GTLRContainer_DailyMaintenanceWindow; @class GTLRContainer_HorizontalPodAutoscaling; +@class GTLRContainer_HttpCacheControlResponseHeader; @class GTLRContainer_HttpLoadBalancing; @class GTLRContainer_IPAllocationPolicy; @class GTLRContainer_Jwk; @@ -1232,6 +1233,12 @@ GTLR_EXTERN NSString * const kGTLRContainer_UsableSubnetworkSecondaryRange_Statu */ @interface GTLRContainer_GetJSONWebKeysResponse : GTLRObject +/** + * OnePlatform automatically extracts this field and uses it to set the HTTP + * Cache-Control header. + */ +@property(nonatomic, strong, nullable) GTLRContainer_HttpCacheControlResponseHeader *cacheHeader; + /** * The public component of the keys used by the cluster to sign token * requests. @@ -1247,6 +1254,12 @@ GTLR_EXTERN NSString * const kGTLRContainer_UsableSubnetworkSecondaryRange_Statu */ @interface GTLRContainer_GetOpenIDConfigResponse : GTLRObject +/** + * OnePlatform automatically extracts this field and uses it to set the HTTP + * Cache-Control header. + */ +@property(nonatomic, strong, nullable) GTLRContainer_HttpCacheControlResponseHeader *cacheHeader; + /** Supported claims. */ @property(nonatomic, strong, nullable) NSArray *claimsSupported; @@ -1290,6 +1303,27 @@ GTLR_EXTERN NSString * const kGTLRContainer_UsableSubnetworkSecondaryRange_Statu @end +/** + * RFC-2616: cache control support + */ +@interface GTLRContainer_HttpCacheControlResponseHeader : GTLRObject + +/** + * 14.6 response cache age, in seconds since the response is generated + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *age; + +/** 14.9 request and response directives */ +@property(nonatomic, copy, nullable) NSString *directive; + +/** 14.21 response cache expires, in RFC 1123 date format */ +@property(nonatomic, copy, nullable) NSString *expires; + +@end + + /** * Configuration options for the HTTP (L7) load balancing controller addon, * which makes it easy to set up HTTP load balancers for services in a cluster. diff --git a/Source/GeneratedServices/Container/GTLRContainerObjects.m b/Source/GeneratedServices/Container/GTLRContainerObjects.m index 7d8f73c17..594ea2217 100644 --- a/Source/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Source/GeneratedServices/Container/GTLRContainerObjects.m @@ -324,7 +324,7 @@ @implementation GTLRContainer_Empty // @implementation GTLRContainer_GetJSONWebKeysResponse -@dynamic keys; +@dynamic cacheHeader, keys; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -342,8 +342,9 @@ @implementation GTLRContainer_GetJSONWebKeysResponse // @implementation GTLRContainer_GetOpenIDConfigResponse -@dynamic claimsSupported, grantTypes, idTokenSigningAlgValuesSupported, issuer, - jwksUri, responseTypesSupported, subjectTypesSupported; +@dynamic cacheHeader, claimsSupported, grantTypes, + idTokenSigningAlgValuesSupported, issuer, jwksUri, + responseTypesSupported, subjectTypesSupported; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -381,6 +382,16 @@ @implementation GTLRContainer_HorizontalPodAutoscaling @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_HttpCacheControlResponseHeader +// + +@implementation GTLRContainer_HttpCacheControlResponseHeader +@dynamic age, directive, expires; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_HttpLoadBalancing diff --git a/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.h b/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.h index 00ed67117..0b4fe9de0 100644 --- a/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.h +++ b/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.h @@ -23,8 +23,6 @@ @class GTLRContainerAnalysis_Attestation; @class GTLRContainerAnalysis_AttestationAuthority; @class GTLRContainerAnalysis_AttestationAuthorityHint; -@class GTLRContainerAnalysis_AuditConfig; -@class GTLRContainerAnalysis_AuditLogConfig; @class GTLRContainerAnalysis_Basis; @class GTLRContainerAnalysis_Binding; @class GTLRContainerAnalysis_BuildDetails; @@ -93,34 +91,6 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. -// ---------------------------------------------------------------------------- -// GTLRContainerAnalysis_AuditLogConfig.logType - -/** - * Admin reads. Example: CloudIAM getIamPolicy - * - * Value: "ADMIN_READ" - */ -GTLR_EXTERN NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_AdminRead; -/** - * Data reads. Example: CloudSQL Users list - * - * Value: "DATA_READ" - */ -GTLR_EXTERN NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_DataRead; -/** - * Data writes. Example: CloudSQL Users create - * - * Value: "DATA_WRITE" - */ -GTLR_EXTERN NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_DataWrite; -/** - * Default case. Should never be this. - * - * Value: "LOG_TYPE_UNSPECIFIED" - */ -GTLR_EXTERN NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_LogTypeUnspecified; - // ---------------------------------------------------------------------------- // GTLRContainerAnalysis_BuildSignature.keyType @@ -885,125 +855,6 @@ GTLR_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityType_Severity_S @end -/** - * Specifies the audit configuration for a service. - * The configuration determines which permission types are logged, and what - * identities, if any, are exempted from logging. - * An AuditConfig must have one or more AuditLogConfigs. - * If there are AuditConfigs for both `allServices` and a specific service, - * the union of the two AuditConfigs is used for that service: the log_types - * specified in each AuditConfig are enabled, and the exempted_members in each - * AuditLogConfig are exempted. - * Example Policy with multiple AuditConfigs: - * { - * "audit_configs": [ - * { - * "service": "allServices" - * "audit_log_configs": [ - * { - * "log_type": "DATA_READ", - * "exempted_members": [ - * "user:jose\@example.com" - * ] - * }, - * { - * "log_type": "DATA_WRITE", - * }, - * { - * "log_type": "ADMIN_READ", - * } - * ] - * }, - * { - * "service": "sampleservice.googleapis.com" - * "audit_log_configs": [ - * { - * "log_type": "DATA_READ", - * }, - * { - * "log_type": "DATA_WRITE", - * "exempted_members": [ - * "user:aliya\@example.com" - * ] - * } - * ] - * } - * ] - * } - * For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ - * logging. It also exempts jose\@example.com from DATA_READ logging, and - * aliya\@example.com from DATA_WRITE logging. - */ -@interface GTLRContainerAnalysis_AuditConfig : GTLRObject - -/** The configuration for logging of each type of permission. */ -@property(nonatomic, strong, nullable) NSArray *auditLogConfigs; - -/** - * Specifies a service that will be enabled for audit logging. - * For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. - * `allServices` is a special value that covers all services. - */ -@property(nonatomic, copy, nullable) NSString *service; - -@end - - -/** - * Provides the configuration for logging a type of permissions. - * Example: - * { - * "audit_log_configs": [ - * { - * "log_type": "DATA_READ", - * "exempted_members": [ - * "user:jose\@example.com" - * ] - * }, - * { - * "log_type": "DATA_WRITE", - * } - * ] - * } - * This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting - * jose\@example.com from DATA_READ logging. - */ -@interface GTLRContainerAnalysis_AuditLogConfig : GTLRObject - -/** - * Specifies the identities that do not cause logging for this type of - * permission. - * Follows the same format of Binding.members. - */ -@property(nonatomic, strong, nullable) NSArray *exemptedMembers; - -/** - * Specifies whether principals can be exempted for the same LogType in - * lower-level resource policies. If true, any lower-level exemptions will - * be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreChildExemptions; - -/** - * The log type that this config enables. - * - * Likely values: - * @arg @c kGTLRContainerAnalysis_AuditLogConfig_LogType_AdminRead Admin - * reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") - * @arg @c kGTLRContainerAnalysis_AuditLogConfig_LogType_DataRead Data reads. - * Example: CloudSQL Users list (Value: "DATA_READ") - * @arg @c kGTLRContainerAnalysis_AuditLogConfig_LogType_DataWrite Data - * writes. Example: CloudSQL Users create (Value: "DATA_WRITE") - * @arg @c kGTLRContainerAnalysis_AuditLogConfig_LogType_LogTypeUnspecified - * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *logType; - -@end - - /** * Basis describes the base image portion (Note) of the DockerImage * relationship. Linked occurrences are derived from this or an @@ -2505,9 +2356,6 @@ GTLR_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityType_Severity_S */ @interface GTLRContainerAnalysis_Policy : GTLRObject -/** Specifies cloud audit logging configuration for this policy. */ -@property(nonatomic, strong, nullable) NSArray *auditConfigs; - /** * Associates a list of `members` to a `role`. * `bindings` with no members will result in an error. @@ -2645,17 +2493,6 @@ GTLR_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityType_Severity_S */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_Policy *policy; -/** - * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only - * the fields in the mask will be modified. If no mask is provided, the - * following default mask is used: - * paths: "bindings, etag" - * This field is only used by Cloud IAM. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - @end diff --git a/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index de073b104..373114b36 100644 --- a/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Source/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -14,12 +14,6 @@ // ---------------------------------------------------------------------------- // Constants -// GTLRContainerAnalysis_AuditLogConfig.logType -NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; -NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_DataRead = @"DATA_READ"; -NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; -NSString * const kGTLRContainerAnalysis_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; - // GTLRContainerAnalysis_BuildSignature.keyType NSString * const kGTLRContainerAnalysis_BuildSignature_KeyType_KeyTypeUnspecified = @"KEY_TYPE_UNSPECIFIED"; NSString * const kGTLRContainerAnalysis_BuildSignature_KeyType_PgpAsciiArmored = @"PGP_ASCII_ARMORED"; @@ -205,42 +199,6 @@ @implementation GTLRContainerAnalysis_AttestationAuthorityHint @end -// ---------------------------------------------------------------------------- -// -// GTLRContainerAnalysis_AuditConfig -// - -@implementation GTLRContainerAnalysis_AuditConfig -@dynamic auditLogConfigs, service; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"auditLogConfigs" : [GTLRContainerAnalysis_AuditLogConfig class] - }; - return map; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRContainerAnalysis_AuditLogConfig -// - -@implementation GTLRContainerAnalysis_AuditLogConfig -@dynamic exemptedMembers, ignoreChildExemptions, logType; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"exemptedMembers" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_Basis @@ -942,7 +900,7 @@ @implementation GTLRContainerAnalysis_PgpSignedAttestation // @implementation GTLRContainerAnalysis_Policy -@dynamic auditConfigs, bindings, ETag, version; +@dynamic bindings, ETag, version; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -950,7 +908,6 @@ @implementation GTLRContainerAnalysis_Policy + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"auditConfigs" : [GTLRContainerAnalysis_AuditConfig class], @"bindings" : [GTLRContainerAnalysis_Binding class] }; return map; @@ -1010,7 +967,7 @@ @implementation GTLRContainerAnalysis_ScanConfig // @implementation GTLRContainerAnalysis_SetIamPolicyRequest -@dynamic policy, updateMask; +@dynamic policy; @end diff --git a/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.h b/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.h index 7d3d86db3..26108210b 100644 --- a/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.h +++ b/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.h @@ -116,7 +116,6 @@ @class GTLRDataflow_Sink; @class GTLRDataflow_Sink_Codec; @class GTLRDataflow_Sink_Spec; -@class GTLRDataflow_Snapshot; @class GTLRDataflow_Source; @class GTLRDataflow_Source_BaseSpecs_Item; @class GTLRDataflow_Source_Codec; @@ -1013,47 +1012,6 @@ GTLR_EXTERN NSString * const kGTLRDataflow_SdkVersion_SdkSupportStatus_Unknown; */ GTLR_EXTERN NSString * const kGTLRDataflow_SdkVersion_SdkSupportStatus_Unsupported; -// ---------------------------------------------------------------------------- -// GTLRDataflow_Snapshot.state - -/** - * Snapshot has been deleted. - * - * Value: "DELETED" - */ -GTLR_EXTERN NSString * const kGTLRDataflow_Snapshot_State_Deleted; -/** - * Snapshot failed to be created. - * - * Value: "FAILED" - */ -GTLR_EXTERN NSString * const kGTLRDataflow_Snapshot_State_Failed; -/** - * Snapshot intent to create has been persisted, snapshotting of state has not - * yet started. - * - * Value: "PENDING" - */ -GTLR_EXTERN NSString * const kGTLRDataflow_Snapshot_State_Pending; -/** - * Snapshot has been created and is ready to be used. - * - * Value: "READY" - */ -GTLR_EXTERN NSString * const kGTLRDataflow_Snapshot_State_Ready; -/** - * Snapshotting is being performed. - * - * Value: "RUNNING" - */ -GTLR_EXTERN NSString * const kGTLRDataflow_Snapshot_State_Running; -/** - * Unknown state. - * - * Value: "UNKNOWN_SNAPSHOT_STATE" - */ -GTLR_EXTERN NSString * const kGTLRDataflow_Snapshot_State_UnknownSnapshotState; - // ---------------------------------------------------------------------------- // GTLRDataflow_SourceSplitResponse.outcome @@ -2019,13 +1977,6 @@ GTLR_EXTERN NSString * const kGTLRDataflow_WorkerPool_TeardownPolicy_TeardownPol @end -/** - * Response from deleting a snapshot. - */ -@interface GTLRDataflow_DeleteSnapshotResponse : GTLRObject -@end - - /** * Specification of one of the bundles produced as a result of splitting * a Source (e.g. when executing a SourceSplitRequest, or when @@ -3597,17 +3548,6 @@ GTLR_EXTERN NSString * const kGTLRDataflow_WorkerPool_TeardownPolicy_TeardownPol @end -/** - * List of snapshots. - */ -@interface GTLRDataflow_ListSnapshotsResponse : GTLRObject - -/** Returned snapshots. */ -@property(nonatomic, strong, nullable) NSArray *snapshots; - -@end - - /** * MapTask consists of an ordered set of instructions, each of which * describes one particular low-level operation for the worker to @@ -4699,67 +4639,6 @@ GTLR_EXTERN NSString * const kGTLRDataflow_WorkerPool_TeardownPolicy_TeardownPol @end -/** - * Represents a snapshot of a job. - */ -@interface GTLRDataflow_Snapshot : GTLRObject - -/** The time this snapshot was created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *creationTime; - -/** - * The unique ID of this snapshot. - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). - */ -@property(nonatomic, copy, nullable) NSString *identifier; - -/** The project this snapshot belongs to. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** The job this snapshot was created from. */ -@property(nonatomic, copy, nullable) NSString *sourceJobId; - -/** - * State of the snapshot. - * - * Likely values: - * @arg @c kGTLRDataflow_Snapshot_State_Deleted Snapshot has been deleted. - * (Value: "DELETED") - * @arg @c kGTLRDataflow_Snapshot_State_Failed Snapshot failed to be created. - * (Value: "FAILED") - * @arg @c kGTLRDataflow_Snapshot_State_Pending Snapshot intent to create has - * been persisted, snapshotting of state has not - * yet started. (Value: "PENDING") - * @arg @c kGTLRDataflow_Snapshot_State_Ready Snapshot has been created and - * is ready to be used. (Value: "READY") - * @arg @c kGTLRDataflow_Snapshot_State_Running Snapshotting is being - * performed. (Value: "RUNNING") - * @arg @c kGTLRDataflow_Snapshot_State_UnknownSnapshotState Unknown state. - * (Value: "UNKNOWN_SNAPSHOT_STATE") - */ -@property(nonatomic, copy, nullable) NSString *state; - -/** The time after which this snapshot will be automatically deleted. */ -@property(nonatomic, strong, nullable) GTLRDuration *ttl; - -@end - - -/** - * Request to create a snapshot of a job. - */ -@interface GTLRDataflow_SnapshotJobRequest : GTLRObject - -/** The location that contains this job. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** TTL for the snapshot. */ -@property(nonatomic, strong, nullable) GTLRDuration *ttl; - -@end - - /** * A source that records can be read and decoded from. */ diff --git a/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.m b/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.m index b40f41807..cb99ec44c 100644 --- a/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.m +++ b/Source/GeneratedServices/Dataflow/GTLRDataflowObjects.m @@ -152,14 +152,6 @@ NSString * const kGTLRDataflow_SdkVersion_SdkSupportStatus_Unknown = @"UNKNOWN"; NSString * const kGTLRDataflow_SdkVersion_SdkSupportStatus_Unsupported = @"UNSUPPORTED"; -// GTLRDataflow_Snapshot.state -NSString * const kGTLRDataflow_Snapshot_State_Deleted = @"DELETED"; -NSString * const kGTLRDataflow_Snapshot_State_Failed = @"FAILED"; -NSString * const kGTLRDataflow_Snapshot_State_Pending = @"PENDING"; -NSString * const kGTLRDataflow_Snapshot_State_Ready = @"READY"; -NSString * const kGTLRDataflow_Snapshot_State_Running = @"RUNNING"; -NSString * const kGTLRDataflow_Snapshot_State_UnknownSnapshotState = @"UNKNOWN_SNAPSHOT_STATE"; - // GTLRDataflow_SourceSplitResponse.outcome NSString * const kGTLRDataflow_SourceSplitResponse_Outcome_SourceSplitOutcomeSplittingHappened = @"SOURCE_SPLIT_OUTCOME_SPLITTING_HAPPENED"; NSString * const kGTLRDataflow_SourceSplitResponse_Outcome_SourceSplitOutcomeUnknown = @"SOURCE_SPLIT_OUTCOME_UNKNOWN"; @@ -474,15 +466,6 @@ @implementation GTLRDataflow_DatastoreIODetails @end -// ---------------------------------------------------------------------------- -// -// GTLRDataflow_DeleteSnapshotResponse -// - -@implementation GTLRDataflow_DeleteSnapshotResponse -@end - - // ---------------------------------------------------------------------------- // // GTLRDataflow_DerivedSource @@ -1183,24 +1166,6 @@ @implementation GTLRDataflow_ListJobsResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRDataflow_ListSnapshotsResponse -// - -@implementation GTLRDataflow_ListSnapshotsResponse -@dynamic snapshots; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"snapshots" : [GTLRDataflow_Snapshot class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataflow_MapTask @@ -1834,31 +1799,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataflow_Snapshot -// - -@implementation GTLRDataflow_Snapshot -@dynamic creationTime, identifier, projectId, sourceJobId, state, ttl; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"identifier" : @"id" }; -} - -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataflow_SnapshotJobRequest -// - -@implementation GTLRDataflow_SnapshotJobRequest -@dynamic location, ttl; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataflow_Source diff --git a/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.h b/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.h index 4bfe27b57..753712d6f 100644 --- a/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.h +++ b/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.h @@ -26,7 +26,6 @@ @class GTLRDataflow_ReportWorkItemStatusRequest; @class GTLRDataflow_SendDebugCaptureRequest; @class GTLRDataflow_SendWorkerMessagesRequest; -@class GTLRDataflow_SnapshotJobRequest; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -94,44 +93,6 @@ GTLR_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end -/** - * Deletes a snapshot. - * - * Method: dataflow.projects.deleteSnapshots - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsDeleteSnapshots : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsDeleteSnapshotsWithprojectId:] - -/** The location that contains this snapshot. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The ID of the Cloud Platform project that the snapshot belongs to. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** The ID of the snapshot. */ -@property(nonatomic, copy, nullable) NSString *snapshotId; - -/** - * Fetches a @c GTLRDataflow_DeleteSnapshotResponse. - * - * Deletes a snapshot. - * - * @param projectId The ID of the Cloud Platform project that the snapshot - * belongs to. - * - * @return GTLRDataflowQuery_ProjectsDeleteSnapshots - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId; - -@end - /** * List the jobs of a project across all regions. * @@ -655,45 +616,6 @@ GTLR_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end -/** - * Snapshot the state of a streaming job. - * - * Method: dataflow.projects.jobs.snapshot - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsJobsSnapshot : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsJobsSnapshotWithObject:projectId:jobId:] - -/** The job to be snapshotted. */ -@property(nonatomic, copy, nullable) NSString *jobId; - -/** The project which owns the job to be snapshotted. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** - * Fetches a @c GTLRDataflow_Snapshot. - * - * Snapshot the state of a streaming job. - * - * @param object The @c GTLRDataflow_SnapshotJobRequest to include in the - * query. - * @param projectId The project which owns the job to be snapshotted. - * @param jobId The job to be snapshotted. - * - * @return GTLRDataflowQuery_ProjectsJobsSnapshot - */ -+ (instancetype)queryWithObject:(GTLRDataflow_SnapshotJobRequest *)object - projectId:(NSString *)projectId - jobId:(NSString *)jobId; - -@end - /** * Updates the state of an existing Cloud Dataflow job. * To update the state of an existing job, we recommend using @@ -1320,91 +1242,6 @@ GTLR_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end -/** - * Snapshot the state of a streaming job. - * - * Method: dataflow.projects.locations.jobs.snapshot - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsLocationsJobsSnapshot : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsLocationsJobsSnapshotWithObject:projectId:location:jobId:] - -/** The job to be snapshotted. */ -@property(nonatomic, copy, nullable) NSString *jobId; - -/** The location that contains this job. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The project which owns the job to be snapshotted. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** - * Fetches a @c GTLRDataflow_Snapshot. - * - * Snapshot the state of a streaming job. - * - * @param object The @c GTLRDataflow_SnapshotJobRequest to include in the - * query. - * @param projectId The project which owns the job to be snapshotted. - * @param location The location that contains this job. - * @param jobId The job to be snapshotted. - * - * @return GTLRDataflowQuery_ProjectsLocationsJobsSnapshot - */ -+ (instancetype)queryWithObject:(GTLRDataflow_SnapshotJobRequest *)object - projectId:(NSString *)projectId - location:(NSString *)location - jobId:(NSString *)jobId; - -@end - -/** - * Lists snapshots. - * - * Method: dataflow.projects.locations.jobs.snapshots.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsLocationsJobsSnapshotsList : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsLocationsJobsSnapshotsListWithprojectId:location:jobId:] - -/** If specified, list snapshots created from this job. */ -@property(nonatomic, copy, nullable) NSString *jobId; - -/** The location to list snapshots in. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The project ID to list snapshots for. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** - * Fetches a @c GTLRDataflow_ListSnapshotsResponse. - * - * Lists snapshots. - * - * @param projectId The project ID to list snapshots for. - * @param location The location to list snapshots in. - * @param jobId If specified, list snapshots created from this job. - * - * @return GTLRDataflowQuery_ProjectsLocationsJobsSnapshotsList - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location - jobId:(NSString *)jobId; - -@end - /** * Updates the state of an existing Cloud Dataflow job. * To update the state of an existing job, we recommend using @@ -1565,129 +1402,6 @@ GTLR_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end -/** - * Deletes a snapshot. - * - * Method: dataflow.projects.locations.snapshots.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsLocationsSnapshotsDelete : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsLocationsSnapshotsDeleteWithprojectId:location:snapshotId:] - -/** The location that contains this snapshot. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The ID of the Cloud Platform project that the snapshot belongs to. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** The ID of the snapshot. */ -@property(nonatomic, copy, nullable) NSString *snapshotId; - -/** - * Fetches a @c GTLRDataflow_DeleteSnapshotResponse. - * - * Deletes a snapshot. - * - * @param projectId The ID of the Cloud Platform project that the snapshot - * belongs to. - * @param location The location that contains this snapshot. - * @param snapshotId The ID of the snapshot. - * - * @return GTLRDataflowQuery_ProjectsLocationsSnapshotsDelete - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location - snapshotId:(NSString *)snapshotId; - -@end - -/** - * Gets information about a snapshot. - * - * Method: dataflow.projects.locations.snapshots.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsLocationsSnapshotsGet : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsLocationsSnapshotsGetWithprojectId:location:snapshotId:] - -/** The location that contains this snapshot. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The ID of the Cloud Platform project that the snapshot belongs to. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** The ID of the snapshot. */ -@property(nonatomic, copy, nullable) NSString *snapshotId; - -/** - * Fetches a @c GTLRDataflow_Snapshot. - * - * Gets information about a snapshot. - * - * @param projectId The ID of the Cloud Platform project that the snapshot - * belongs to. - * @param location The location that contains this snapshot. - * @param snapshotId The ID of the snapshot. - * - * @return GTLRDataflowQuery_ProjectsLocationsSnapshotsGet - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location - snapshotId:(NSString *)snapshotId; - -@end - -/** - * Lists snapshots. - * - * Method: dataflow.projects.locations.snapshots.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsLocationsSnapshotsList : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsLocationsSnapshotsListWithprojectId:location:] - -/** If specified, list snapshots created from this job. */ -@property(nonatomic, copy, nullable) NSString *jobId; - -/** The location to list snapshots in. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The project ID to list snapshots for. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** - * Fetches a @c GTLRDataflow_ListSnapshotsResponse. - * - * Lists snapshots. - * - * @param projectId The project ID to list snapshots for. - * @param location The location to list snapshots in. - * - * @return GTLRDataflowQuery_ProjectsLocationsSnapshotsList - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location; - -@end - /** * Validates a GoogleSQL query for Cloud Dataflow syntax. Will always * confirm the given query parses correctly, and if able to look up @@ -1958,83 +1672,6 @@ GTLR_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end -/** - * Gets information about a snapshot. - * - * Method: dataflow.projects.snapshots.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsSnapshotsGet : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsSnapshotsGetWithprojectId:snapshotId:] - -/** The location that contains this snapshot. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The ID of the Cloud Platform project that the snapshot belongs to. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** The ID of the snapshot. */ -@property(nonatomic, copy, nullable) NSString *snapshotId; - -/** - * Fetches a @c GTLRDataflow_Snapshot. - * - * Gets information about a snapshot. - * - * @param projectId The ID of the Cloud Platform project that the snapshot - * belongs to. - * @param snapshotId The ID of the snapshot. - * - * @return GTLRDataflowQuery_ProjectsSnapshotsGet - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId - snapshotId:(NSString *)snapshotId; - -@end - -/** - * Lists snapshots. - * - * Method: dataflow.projects.snapshots.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - * @c kGTLRAuthScopeDataflowComputeReadonly - * @c kGTLRAuthScopeDataflowUserinfoEmail - */ -@interface GTLRDataflowQuery_ProjectsSnapshotsList : GTLRDataflowQuery -// Previous library name was -// +[GTLQueryDataflow queryForProjectsSnapshotsListWithprojectId:] - -/** If specified, list snapshots created from this job. */ -@property(nonatomic, copy, nullable) NSString *jobId; - -/** The location to list snapshots in. */ -@property(nonatomic, copy, nullable) NSString *location; - -/** The project ID to list snapshots for. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** - * Fetches a @c GTLRDataflow_ListSnapshotsResponse. - * - * Lists snapshots. - * - * @param projectId The project ID to list snapshots for. - * - * @return GTLRDataflowQuery_ProjectsSnapshotsList - */ -+ (instancetype)queryWithProjectId:(NSString *)projectId; - -@end - /** * Creates a Cloud Dataflow job from a template. * diff --git a/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.m b/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.m index 35fe0b17e..84a9f4087 100644 --- a/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.m +++ b/Source/GeneratedServices/Dataflow/GTLRDataflowQuery.m @@ -46,25 +46,6 @@ @implementation GTLRDataflowQuery @end -@implementation GTLRDataflowQuery_ProjectsDeleteSnapshots - -@dynamic location, projectId, snapshotId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId { - NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/snapshots"; - GTLRDataflowQuery_ProjectsDeleteSnapshots *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.projectId = projectId; - query.expectedObjectClass = [GTLRDataflow_DeleteSnapshotResponse class]; - query.loggingName = @"dataflow.projects.deleteSnapshots"; - return query; -} - -@end - @implementation GTLRDataflowQuery_ProjectsJobsAggregated @dynamic filter, location, pageSize, pageToken, projectId, view; @@ -256,35 +237,6 @@ + (instancetype)queryWithProjectId:(NSString *)projectId @end -@implementation GTLRDataflowQuery_ProjectsJobsSnapshot - -@dynamic jobId, projectId; - -+ (instancetype)queryWithObject:(GTLRDataflow_SnapshotJobRequest *)object - projectId:(NSString *)projectId - jobId:(NSString *)jobId { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ - @"jobId", @"projectId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/jobs/{jobId}:snapshot"; - GTLRDataflowQuery_ProjectsJobsSnapshot *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.projectId = projectId; - query.jobId = jobId; - query.expectedObjectClass = [GTLRDataflow_Snapshot class]; - query.loggingName = @"dataflow.projects.jobs.snapshot"; - return query; -} - -@end - @implementation GTLRDataflowQuery_ProjectsJobsUpdate @dynamic jobId, location, projectId; @@ -562,62 +514,6 @@ + (instancetype)queryWithProjectId:(NSString *)projectId @end -@implementation GTLRDataflowQuery_ProjectsLocationsJobsSnapshot - -@dynamic jobId, location, projectId; - -+ (instancetype)queryWithObject:(GTLRDataflow_SnapshotJobRequest *)object - projectId:(NSString *)projectId - location:(NSString *)location - jobId:(NSString *)jobId { - if (object == nil) { - GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); - return nil; - } - NSArray *pathParams = @[ - @"jobId", @"location", @"projectId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot"; - GTLRDataflowQuery_ProjectsLocationsJobsSnapshot *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.projectId = projectId; - query.location = location; - query.jobId = jobId; - query.expectedObjectClass = [GTLRDataflow_Snapshot class]; - query.loggingName = @"dataflow.projects.locations.jobs.snapshot"; - return query; -} - -@end - -@implementation GTLRDataflowQuery_ProjectsLocationsJobsSnapshotsList - -@dynamic jobId, location, projectId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location - jobId:(NSString *)jobId { - NSArray *pathParams = @[ - @"jobId", @"location", @"projectId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots"; - GTLRDataflowQuery_ProjectsLocationsJobsSnapshotsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.projectId = projectId; - query.location = location; - query.jobId = jobId; - query.expectedObjectClass = [GTLRDataflow_ListSnapshotsResponse class]; - query.loggingName = @"dataflow.projects.locations.jobs.snapshots.list"; - return query; -} - -@end - @implementation GTLRDataflowQuery_ProjectsLocationsJobsUpdate @dynamic jobId, location, projectId; @@ -711,79 +607,6 @@ + (instancetype)queryWithObject:(GTLRDataflow_ReportWorkItemStatusRequest *)obje @end -@implementation GTLRDataflowQuery_ProjectsLocationsSnapshotsDelete - -@dynamic location, projectId, snapshotId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location - snapshotId:(NSString *)snapshotId { - NSArray *pathParams = @[ - @"location", @"projectId", @"snapshotId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}"; - GTLRDataflowQuery_ProjectsLocationsSnapshotsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.projectId = projectId; - query.location = location; - query.snapshotId = snapshotId; - query.expectedObjectClass = [GTLRDataflow_DeleteSnapshotResponse class]; - query.loggingName = @"dataflow.projects.locations.snapshots.delete"; - return query; -} - -@end - -@implementation GTLRDataflowQuery_ProjectsLocationsSnapshotsGet - -@dynamic location, projectId, snapshotId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location - snapshotId:(NSString *)snapshotId { - NSArray *pathParams = @[ - @"location", @"projectId", @"snapshotId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}"; - GTLRDataflowQuery_ProjectsLocationsSnapshotsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.projectId = projectId; - query.location = location; - query.snapshotId = snapshotId; - query.expectedObjectClass = [GTLRDataflow_Snapshot class]; - query.loggingName = @"dataflow.projects.locations.snapshots.get"; - return query; -} - -@end - -@implementation GTLRDataflowQuery_ProjectsLocationsSnapshotsList - -@dynamic jobId, location, projectId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId - location:(NSString *)location { - NSArray *pathParams = @[ - @"location", @"projectId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/locations/{location}/snapshots"; - GTLRDataflowQuery_ProjectsLocationsSnapshotsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.projectId = projectId; - query.location = location; - query.expectedObjectClass = [GTLRDataflow_ListSnapshotsResponse class]; - query.loggingName = @"dataflow.projects.locations.snapshots.list"; - return query; -} - -@end - @implementation GTLRDataflowQuery_ProjectsLocationsSqlValidate @dynamic location, projectId, query; @@ -926,48 +749,6 @@ + (instancetype)queryWithObject:(GTLRDataflow_SendWorkerMessagesRequest *)object @end -@implementation GTLRDataflowQuery_ProjectsSnapshotsGet - -@dynamic location, projectId, snapshotId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId - snapshotId:(NSString *)snapshotId { - NSArray *pathParams = @[ - @"projectId", @"snapshotId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/snapshots/{snapshotId}"; - GTLRDataflowQuery_ProjectsSnapshotsGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.projectId = projectId; - query.snapshotId = snapshotId; - query.expectedObjectClass = [GTLRDataflow_Snapshot class]; - query.loggingName = @"dataflow.projects.snapshots.get"; - return query; -} - -@end - -@implementation GTLRDataflowQuery_ProjectsSnapshotsList - -@dynamic jobId, location, projectId; - -+ (instancetype)queryWithProjectId:(NSString *)projectId { - NSArray *pathParams = @[ @"projectId" ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/snapshots"; - GTLRDataflowQuery_ProjectsSnapshotsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.projectId = projectId; - query.expectedObjectClass = [GTLRDataflow_ListSnapshotsResponse class]; - query.loggingName = @"dataflow.projects.snapshots.list"; - return query; -} - -@end - @implementation GTLRDataflowQuery_ProjectsTemplatesCreate @dynamic projectId; diff --git a/Source/GeneratedServices/Dataproc/GTLRDataprocObjects.h b/Source/GeneratedServices/Dataproc/GTLRDataprocObjects.h index c8f4729a0..751cae5b4 100644 --- a/Source/GeneratedServices/Dataproc/GTLRDataprocObjects.h +++ b/Source/GeneratedServices/Dataproc/GTLRDataprocObjects.h @@ -1143,9 +1143,9 @@ GTLR_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted; @interface GTLRDataproc_GetPolicyOptions : GTLRObject /** - * Optional. The policy format version to be returned. Acceptable values are 0 - * and 1. If the value is 0, or the field is omitted, policy format version 1 - * will be returned. + * Optional. The policy format version to be returned. Acceptable values are 0, + * 1, and 3. If the value is 0, or the field is omitted, policy format version + * 1 will be returned. * * Uses NSNumber of intValue. */ @@ -1311,7 +1311,9 @@ GTLR_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted; @interface GTLRDataproc_InstanceGroupConfig : GTLRObject /** - * Optional. The Compute Engine accelerator configuration for these instances. + * Optional. The Compute Engine accelerator configuration for these + * instances.Beta Feature: This feature is still under development. It may be + * changed before final release. */ @property(nonatomic, strong, nullable) NSArray *accelerators; @@ -2863,7 +2865,14 @@ GTLR_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted; @property(nonatomic, copy, nullable) NSString *state; /** - * Output only. The "resource name" of the template. + * Output only. The resource name of the workflow template as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates, the resource name of the template + * has the following format: + * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates, the resource name of the template + * has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * Remapped to 'templateProperty' to avoid language reserved word 'template'. */ @@ -2963,9 +2972,14 @@ GTLR_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted; @property(nonatomic, strong, nullable) GTLRDataproc_WorkflowTemplate_Labels *labels; /** - * Output only. The "resource name" of the template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Output only. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates, the resource name of the template + * has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates, the resource name of the template + * has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Source/GeneratedServices/Dataproc/GTLRDataprocQuery.h b/Source/GeneratedServices/Dataproc/GTLRDataprocQuery.h index a0e673d61..dd40c49aa 100644 --- a/Source/GeneratedServices/Dataproc/GTLRDataprocQuery.h +++ b/Source/GeneratedServices/Dataproc/GTLRDataprocQuery.h @@ -76,9 +76,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsLocationsWorkflowTemplatesCreateWithObject:parent:] /** - * Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * Required. The resource name of the region or location, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,create, the resource name of the + * region has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.create, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -88,9 +92,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * Creates new workflow template. * * @param object The @c GTLRDataproc_WorkflowTemplate to include in the query. - * @param parent Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * @param parent Required. The resource name of the region or location, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,create, the resource name of the + * region has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.create, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesCreate */ @@ -112,9 +120,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsLocationsWorkflowTemplatesDeleteWithname:] /** - * Required. The "resource name" of the workflow template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.delete, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -130,10 +143,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * * Deletes a workflow template. It does not cancel in-progress workflows. * - * @param name Required. The "resource name" of the workflow template, as - * described in https://cloud.google.com/apis/design/resource_names of the - * form + * @param name Required. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.delete, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesDelete */ @@ -155,15 +172,20 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsLocationsWorkflowTemplatesGetWithname:] /** - * Required. The "resource name" of the workflow template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.get, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.get, the resource name of the + * template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Optional. The version of workflow template to retrieve. Only previously - * instatiated versions can be retrieved.If unspecified, retrieves the current + * instantiated versions can be retrieved.If unspecified, retrieves the current * version. */ @property(nonatomic, assign) NSInteger version; @@ -174,10 +196,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * Retrieves the latest workflow template.Can retrieve previously instantiated * template by specifying optional version parameter. * - * @param name Required. The "resource name" of the workflow template, as - * described in https://cloud.google.com/apis/design/resource_names of the - * form + * @param name Required. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.get, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.get, the resource name of the + * template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesGet */ @@ -242,9 +268,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsLocationsWorkflowTemplatesInstantiateWithObject:name:] /** - * Required. The "resource name" of the workflow template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.instantiate, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -261,10 +292,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * * @param object The @c GTLRDataproc_InstantiateWorkflowTemplateRequest to * include in the query. - * @param name Required. The "resource name" of the workflow template, as - * described in https://cloud.google.com/apis/design/resource_names of the - * form + * @param name Required. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.instantiate, the resource name of + * the template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesInstantiate */ @@ -294,9 +329,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsLocationsWorkflowTemplatesInstantiateInlineWithObject:parent:] /** - * Required. The "resource name" of the workflow template region, as described - * in https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the region or location, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,instantiateinline, the resource name + * of the region has the following format: * projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.instantiateinline, the resource + * name of the location has the following format: + * projects/{project_id}/locations/{location} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -324,9 +364,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * Operation.response will be Empty. * * @param object The @c GTLRDataproc_WorkflowTemplate to include in the query. - * @param parent Required. The "resource name" of the workflow template region, - * as described in https://cloud.google.com/apis/design/resource_names of the - * form projects/{project_id}/regions/{region} + * @param parent Required. The resource name of the region or location, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,instantiateinline, the resource + * name of the region has the following format: + * projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.instantiateinline, the resource + * name of the location has the following format: + * projects/{project_id}/locations/{location} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesInstantiateInline */ @@ -357,9 +402,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * Required. The resource name of the region or location, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,list, the resource name of the region + * has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.list, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -368,9 +417,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * * Lists workflows that match the specified filter in the request. * - * @param parent Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * @param parent Required. The resource name of the region or location, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,list, the resource name of the + * region has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.list, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesList * @@ -478,9 +531,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsLocationsWorkflowTemplatesUpdateWithObject:name:] /** - * Output only. The "resource name" of the template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Output only. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates, the resource name of the template + * has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates, the resource name of the template + * has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -491,9 +549,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * version that matches the current server version. * * @param object The @c GTLRDataproc_WorkflowTemplate to include in the query. - * @param name Output only. The "resource name" of the template, as described - * in https://cloud.google.com/apis/design/resource_names of the form + * @param name Output only. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates, the resource name of the template + * has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates, the resource name of the + * template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsLocationsWorkflowTemplatesUpdate */ @@ -503,7 +566,8 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; @end /** - * Creates a cluster in a project. + * Creates a cluster in a project. The returned Operation.metadata will be + * ClusterOperationMetadata. * * Method: dataproc.projects.regions.clusters.create * @@ -537,7 +601,8 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; /** * Fetches a @c GTLRDataproc_Operation. * - * Creates a cluster in a project. + * Creates a cluster in a project. The returned Operation.metadata will be + * ClusterOperationMetadata. * * @param object The @c GTLRDataproc_Cluster to include in the query. * @param projectId Required. The ID of the Google Cloud Platform project that @@ -554,7 +619,8 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; @end /** - * Deletes a cluster in a project. + * Deletes a cluster in a project. The returned Operation.metadata will be + * ClusterOperationMetadata. * * Method: dataproc.projects.regions.clusters.delete * @@ -597,7 +663,8 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; /** * Fetches a @c GTLRDataproc_Operation. * - * Deletes a cluster in a project. + * Deletes a cluster in a project. The returned Operation.metadata will be + * ClusterOperationMetadata. * * @param projectId Required. The ID of the Google Cloud Platform project that * the cluster belongs to. @@ -614,8 +681,9 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; @end /** - * Gets cluster diagnostic information. After the operation completes, the - * Operation.response field contains DiagnoseClusterOutputLocation. + * Gets cluster diagnostic information. The returned Operation.metadata will be + * ClusterOperationMetadata. After the operation completes, Operation.response + * contains DiagnoseClusterResults. * * Method: dataproc.projects.regions.clusters.diagnose * @@ -641,8 +709,9 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; /** * Fetches a @c GTLRDataproc_Operation. * - * Gets cluster diagnostic information. After the operation completes, the - * Operation.response field contains DiagnoseClusterOutputLocation. + * Gets cluster diagnostic information. The returned Operation.metadata will be + * ClusterOperationMetadata. After the operation completes, Operation.response + * contains DiagnoseClusterResults. * * @param object The @c GTLRDataproc_DiagnoseClusterRequest to include in the * query. @@ -806,7 +875,8 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; @end /** - * Updates a cluster in a project. + * Updates a cluster in a project. The returned Operation.metadata will be + * ClusterOperationMetadata. * * Method: dataproc.projects.regions.clusters.patch * @@ -890,7 +960,8 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; /** * Fetches a @c GTLRDataproc_Operation. * - * Updates a cluster in a project. + * Updates a cluster in a project. The returned Operation.metadata will be + * ClusterOperationMetadata. * * @param object The @c GTLRDataproc_Cluster to include in the query. * @param projectId Required. The ID of the Google Cloud Platform project the @@ -1721,9 +1792,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsRegionsWorkflowTemplatesCreateWithObject:parent:] /** - * Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * Required. The resource name of the region or location, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,create, the resource name of the + * region has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.create, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1733,9 +1808,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * Creates new workflow template. * * @param object The @c GTLRDataproc_WorkflowTemplate to include in the query. - * @param parent Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * @param parent Required. The resource name of the region or location, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,create, the resource name of the + * region has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.create, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesCreate */ @@ -1757,9 +1836,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsRegionsWorkflowTemplatesDeleteWithname:] /** - * Required. The "resource name" of the workflow template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.delete, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -1775,10 +1859,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * * Deletes a workflow template. It does not cancel in-progress workflows. * - * @param name Required. The "resource name" of the workflow template, as - * described in https://cloud.google.com/apis/design/resource_names of the - * form + * @param name Required. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.delete, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesDelete */ @@ -1800,15 +1888,20 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsRegionsWorkflowTemplatesGetWithname:] /** - * Required. The "resource name" of the workflow template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.get, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.get, the resource name of the + * template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Optional. The version of workflow template to retrieve. Only previously - * instatiated versions can be retrieved.If unspecified, retrieves the current + * instantiated versions can be retrieved.If unspecified, retrieves the current * version. */ @property(nonatomic, assign) NSInteger version; @@ -1819,10 +1912,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * Retrieves the latest workflow template.Can retrieve previously instantiated * template by specifying optional version parameter. * - * @param name Required. The "resource name" of the workflow template, as - * described in https://cloud.google.com/apis/design/resource_names of the - * form + * @param name Required. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.get, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.get, the resource name of the + * template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesGet */ @@ -1887,9 +1984,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsRegionsWorkflowTemplatesInstantiateWithObject:name:] /** - * Required. The "resource name" of the workflow template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.instantiate, the resource name of the + * template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -1906,10 +2008,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * * @param object The @c GTLRDataproc_InstantiateWorkflowTemplateRequest to * include in the query. - * @param name Required. The "resource name" of the workflow template, as - * described in https://cloud.google.com/apis/design/resource_names of the - * form + * @param name Required. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates.instantiate, the resource name of + * the template has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates.instantiate, the resource name of + * the template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesInstantiate */ @@ -1939,9 +2045,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsRegionsWorkflowTemplatesInstantiateInlineWithObject:parent:] /** - * Required. The "resource name" of the workflow template region, as described - * in https://cloud.google.com/apis/design/resource_names of the form + * Required. The resource name of the region or location, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,instantiateinline, the resource name + * of the region has the following format: * projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.instantiateinline, the resource + * name of the location has the following format: + * projects/{project_id}/locations/{location} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1969,9 +2080,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * Operation.response will be Empty. * * @param object The @c GTLRDataproc_WorkflowTemplate to include in the query. - * @param parent Required. The "resource name" of the workflow template region, - * as described in https://cloud.google.com/apis/design/resource_names of the - * form projects/{project_id}/regions/{region} + * @param parent Required. The resource name of the region or location, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,instantiateinline, the resource + * name of the region has the following format: + * projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.instantiateinline, the resource + * name of the location has the following format: + * projects/{project_id}/locations/{location} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesInstantiateInline */ @@ -2002,9 +2118,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * Required. The resource name of the region or location, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,list, the resource name of the region + * has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.list, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2013,9 +2133,13 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * * Lists workflows that match the specified filter in the request. * - * @param parent Required. The "resource name" of the region, as described in - * https://cloud.google.com/apis/design/resource_names of the form - * projects/{project_id}/regions/{region} + * @param parent Required. The resource name of the region or location, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates,list, the resource name of the + * region has the following format: projects/{project_id}/regions/{region} + * For projects.locations.workflowTemplates.list, the resource name of the + * location has the following format: + * projects/{project_id}/locations/{location} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesList * @@ -2123,9 +2247,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; // +[GTLQueryDataproc queryForProjectsRegionsWorkflowTemplatesUpdateWithObject:name:] /** - * Output only. The "resource name" of the template, as described in - * https://cloud.google.com/apis/design/resource_names of the form + * Output only. The resource name of the workflow template, as described in + * https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates, the resource name of the template + * has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates, the resource name of the template + * has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -2136,9 +2265,14 @@ GTLR_EXTERN NSString * const kGTLRDataprocJobStateMatcherNonActive; * version that matches the current server version. * * @param object The @c GTLRDataproc_WorkflowTemplate to include in the query. - * @param name Output only. The "resource name" of the template, as described - * in https://cloud.google.com/apis/design/resource_names of the form + * @param name Output only. The resource name of the workflow template, as + * described in https://cloud.google.com/apis/design/resource_names. + * For projects.regions.workflowTemplates, the resource name of the template + * has the following format: * projects/{project_id}/regions/{region}/workflowTemplates/{template_id} + * For projects.locations.workflowTemplates, the resource name of the + * template has the following format: + * projects/{project_id}/locations/{location}/workflowTemplates/{template_id} * * @return GTLRDataprocQuery_ProjectsRegionsWorkflowTemplatesUpdate */ diff --git a/Source/GeneratedServices/Datastore/GTLRDatastoreObjects.h b/Source/GeneratedServices/Datastore/GTLRDatastoreObjects.h index 2310eb3d5..b660b92a3 100644 --- a/Source/GeneratedServices/Datastore/GTLRDatastoreObjects.h +++ b/Source/GeneratedServices/Datastore/GTLRDatastoreObjects.h @@ -1522,7 +1522,7 @@ GTLR_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; /** * The server-assigned name, which is only unique within the same service that * originally returns it. If you use the default HTTP mapping, the - * `name` should have the format of `operations/some/unique/name`. + * `name` should be a resource name ending with `operations/{unique_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2300,45 +2300,10 @@ GTLR_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is - * used by [gRPC](https://github.com/grpc). The error model is designed to be: - * - Simple to use and understand for most users - * - Flexible enough to meet unexpected needs - * # Overview - * The `Status` message contains three pieces of data: error code, error - * message, and error details. The error code should be an enum value of - * google.rpc.Code, but it may accept additional error codes if needed. The - * error message should be a developer-facing English message that helps - * developers *understand* and *resolve* the error. If a localized user-facing - * error message is needed, put the localized message in the error details or - * localize it in the client. The optional error details may contain arbitrary - * information about the error. There is a predefined set of error detail types - * in the package `google.rpc` that can be used for common error conditions. - * # Language mapping - * The `Status` message is the logical representation of the error model, but - * it - * is not necessarily the actual wire format. When the `Status` message is - * exposed in different client libraries and different wire protocols, it can - * be - * mapped differently. For example, it will likely be mapped to some exceptions - * in Java, but more likely mapped to some error codes in C. - * # Other uses - * The error model and the `Status` message can be used in a variety of - * environments, either with or without APIs, to provide a - * consistent developer experience across different environments. - * Example uses of this error model include: - * - Partial errors. If a service needs to return partial errors to the client, - * it may embed the `Status` in the normal response to indicate the partial - * errors. - * - Workflow errors. A typical workflow has multiple steps. Each step may - * have a `Status` message for error reporting. - * - Batch operations. If a client uses batch request and batch response, the - * `Status` message should be used directly inside batch response, one for - * each error sub-response. - * - Asynchronous operations. If an API call embeds asynchronous operation - * results in its response, the status of those operations should be - * represented directly using the `Status` message. - * - Logging. If some API errors are stored in logs, the message `Status` could - * be used directly after any stripping needed for security/privacy reasons. + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). */ @interface GTLRDatastore_Status : GTLRObject diff --git a/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h b/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h index f9caab29c..5efb87332 100644 --- a/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h +++ b/Source/GeneratedServices/Dialogflow/GTLRDialogflowQuery.h @@ -1389,6 +1389,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Creates a session entity type. * If the specified session entity type already exists, overrides the session * entity type. + * This method doesn't work with Google Assistant integration. + * Contact Dialogflow support if you need to use session entities + * with Google Assistant integration. * * Method: dialogflow.projects.agent.sessions.entityTypes.create * @@ -1412,6 +1415,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Creates a session entity type. * If the specified session entity type already exists, overrides the session * entity type. + * This method doesn't work with Google Assistant integration. + * Contact Dialogflow support if you need to use session entities + * with Google Assistant integration. * * @param object The @c GTLRDialogflow_GoogleCloudDialogflowV2SessionEntityType * to include in the query. @@ -1427,6 +1433,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Deletes the specified session entity type. + * This method doesn't work with Google Assistant integration. + * Contact Dialogflow support if you need to use session entities + * with Google Assistant integration. * * Method: dialogflow.projects.agent.sessions.entityTypes.delete * @@ -1450,6 +1459,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleProtobufEmpty. * * Deletes the specified session entity type. + * This method doesn't work with Google Assistant integration. + * Contact Dialogflow support if you need to use session entities + * with Google Assistant integration. * * @param name Required. The name of the entity type to delete. Format: * `projects//agent/sessions//agent/sessions//agent/sessions/`. @@ -1550,6 +1574,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; /** * Updates the specified session entity type. + * This method doesn't work with Google Assistant integration. + * Contact Dialogflow support if you need to use session entities + * with Google Assistant integration. * * Method: dialogflow.projects.agent.sessions.entityTypes.patch * @@ -1582,6 +1609,9 @@ GTLR_EXTERN NSString * const kGTLRDialogflowIntentViewIntentViewUnspecified; * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowV2SessionEntityType. * * Updates the specified session entity type. + * This method doesn't work with Google Assistant integration. + * Contact Dialogflow support if you need to use session entities + * with Google Assistant integration. * * @param object The @c GTLRDialogflow_GoogleCloudDialogflowV2SessionEntityType * to include in the query. diff --git a/Source/GeneratedServices/Directory/GTLRDirectoryObjects.h b/Source/GeneratedServices/Directory/GTLRDirectoryObjects.h index d8cd38010..840cc85dd 100644 --- a/Source/GeneratedServices/Directory/GTLRDirectoryObjects.h +++ b/Source/GeneratedServices/Directory/GTLRDirectoryObjects.h @@ -583,6 +583,14 @@ NS_ASSUME_NONNULL_BEGIN /** User of the device */ @property(nonatomic, copy, nullable) NSString *annotatedUser; +/** + * (Read-only) The timestamp after which the device will stop receiving Chrome + * updates or support + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoUpdateExpiration; + /** Chromebook boot mode (Read-only) */ @property(nonatomic, copy, nullable) NSString *bootMode; @@ -598,12 +606,31 @@ NS_ASSUME_NONNULL_BEGIN /** Reports of disk space and other info about mounted/connected volumes. */ @property(nonatomic, strong, nullable) NSArray *diskVolumeReports; +/** + * (Read-only) Built-in MAC address for the docking station that the device + * connected to. Factory sets Media access control address (MAC address) + * assigned for use by a dock. Currently this is only supported on the Dell + * Arcada / Sarien devices and the Dell WD19 / WD19TB Docking Station. It is + * reserved specifically for MAC pass through device policy. The format is + * twelve (12) hexadecimal digits without any delimiter (uppercase letters). + * This is only relevant for Dell devices. + */ +@property(nonatomic, copy, nullable) NSString *dockMacAddress; + /** ETag of the resource. */ @property(nonatomic, copy, nullable) NSString *ETag; /** Chromebook Mac Address on ethernet network interface (Read-only) */ @property(nonatomic, copy, nullable) NSString *ethernetMacAddress; +/** + * (Read-only) MAC address used by the Chromebook’s internal ethernet port, and + * for onboard network (ethernet) interface. The format is twelve (12) + * hexadecimal digits without any delimiter (uppercase letters). This is only + * relevant for Dell devices. + */ +@property(nonatomic, copy, nullable) NSString *ethernetMacAddress0; + /** Chromebook firmware version (Read-only) */ @property(nonatomic, copy, nullable) NSString *firmwareVersion; @@ -622,6 +649,9 @@ NS_ASSUME_NONNULL_BEGIN /** Chromebook Mac Address on wifi network interface (Read-only) */ @property(nonatomic, copy, nullable) NSString *macAddress; +/** (Read-only) The date the device was manufactured in yyyy-mm-dd format. */ +@property(nonatomic, copy, nullable) NSString *manufactureDate; + /** * Mobile Equipment identifier for the 3G mobile card in the Chromebook * (Read-only) @@ -1298,8 +1328,9 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *ETag; /** - * Unique identifier of customer member (Read-only) Unique identifier of group - * (Read-only) Unique identifier of member (Read-only) + * The unique ID of the group member. A member id can be used as a member + * request URI's memberKey. Unique identifier of group (Read-only) Unique + * identifier of member (Read-only) * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -1755,7 +1786,10 @@ NS_ASSUME_NONNULL_BEGIN /** The name of the privilege. */ @property(nonatomic, copy, nullable) NSString *privilegeName; -/** The obfuscated ID of the service this privilege is for. */ +/** + * The obfuscated ID of the service this privilege is for. This value is + * returned with Privileges.list(). + */ @property(nonatomic, copy, nullable) NSString *serviceId; /** The name of the service this privilege is for. */ @@ -1843,7 +1877,10 @@ NS_ASSUME_NONNULL_BEGIN /** The name of the privilege. */ @property(nonatomic, copy, nullable) NSString *privilegeName; -/** The obfuscated ID of the service this privilege is for. */ +/** + * The obfuscated ID of the service this privilege is for. This value is + * returned with Privileges.list(). + */ @property(nonatomic, copy, nullable) NSString *serviceId; @end @@ -2405,6 +2442,15 @@ NS_ASSUME_NONNULL_BEGIN /** username of User */ @property(nonatomic, copy, nullable) NSString *primaryEmail; +/** Recovery email of the user. */ +@property(nonatomic, copy, nullable) NSString *recoveryEmail; + +/** + * Recovery phone of the user. The phone number must be in the E.164 format, + * starting with the plus sign (+). Example: +16506661212. + */ +@property(nonatomic, copy, nullable) NSString *recoveryPhone; + /** * relations * @@ -2800,7 +2846,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *domain; /** - * The full-time equivalent percent within the organization (100000 = 100%). + * The full-time equivalent millipercent within the organization (100000 = + * 100%). * * Uses NSNumber of intValue. */ diff --git a/Source/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Source/GeneratedServices/Directory/GTLRDirectoryObjects.m index feea87c5c..84ec73eb1 100644 --- a/Source/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Source/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -262,12 +262,13 @@ + (Class)classForAdditionalProperties { @implementation GTLRDirectory_ChromeOsDevice @dynamic activeTimeRanges, annotatedAssetId, annotatedLocation, annotatedUser, - bootMode, cpuStatusReports, deviceFiles, deviceId, diskVolumeReports, - ETag, ethernetMacAddress, firmwareVersion, kind, lastEnrollmentTime, - lastSync, macAddress, meid, model, notes, orderNumber, orgUnitPath, - osVersion, platformVersion, recentUsers, serialNumber, status, - supportEndDate, systemRamFreeReports, systemRamTotal, tpmVersionInfo, - willAutoRenew; + autoUpdateExpiration, bootMode, cpuStatusReports, deviceFiles, + deviceId, diskVolumeReports, dockMacAddress, ETag, ethernetMacAddress, + ethernetMacAddress0, firmwareVersion, kind, lastEnrollmentTime, + lastSync, macAddress, manufactureDate, meid, model, notes, orderNumber, + orgUnitPath, osVersion, platformVersion, recentUsers, serialNumber, + status, supportEndDate, systemRamFreeReports, systemRamTotal, + tpmVersionInfo, willAutoRenew; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1212,8 +1213,9 @@ @implementation GTLRDirectory_User isEnforcedIn2Sv, isEnrolledIn2Sv, isMailboxSetup, keywords, kind, languages, lastLoginTime, locations, name, nonEditableAliases, notes, organizations, orgUnitPath, password, phones, posixAccounts, - primaryEmail, relations, sshPublicKeys, suspended, suspensionReason, - thumbnailPhotoEtag, thumbnailPhotoUrl, websites; + primaryEmail, recoveryEmail, recoveryPhone, relations, sshPublicKeys, + suspended, suspensionReason, thumbnailPhotoEtag, thumbnailPhotoUrl, + websites; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/Directory/GTLRDirectoryQuery.h b/Source/GeneratedServices/Directory/GTLRDirectoryQuery.h index fd8237685..26d0913c1 100644 --- a/Source/GeneratedServices/Directory/GTLRDirectoryQuery.h +++ b/Source/GeneratedServices/Directory/GTLRDirectoryQuery.h @@ -497,7 +497,11 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; /** Immutable ID of the G Suite account */ @property(nonatomic, copy, nullable) NSString *customerId; -/** Maximum number of results to return. Default is 100 */ +/** + * Maximum number of results to return. Max allowed value is 200. + * + * @note If not set, the documented server-side default will be 100. + */ @property(nonatomic, assign) NSInteger maxResults; /** @@ -1251,7 +1255,11 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; */ @property(nonatomic, copy, nullable) NSString *domain; -/** Maximum number of results to return. Default is 200 */ +/** + * Maximum number of results to return. Max allowed value is 200. + * + * @note If not set, the documented server-side default will be 200. + */ @property(nonatomic, assign) NSInteger maxResults; /** @@ -1284,8 +1292,9 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; @property(nonatomic, copy, nullable) NSString *sortOrder; /** - * Email or immutable Id of the user if only those groups are to be listed, the - * given user is a member of. If Id, it should match with id of user object + * Email or immutable ID of the user if only those groups are to be listed, the + * given user is a member of. If it's an ID, it should match with the ID of the + * user object. */ @property(nonatomic, copy, nullable) NSString *userKey; @@ -1541,7 +1550,11 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; /** Whether to list indirect memberships. Default: false. */ @property(nonatomic, assign) BOOL includeDerivedMembership; -/** Maximum number of results to return. Default is 200 */ +/** + * Maximum number of results to return. Max allowed value is 200. + * + * @note If not set, the documented server-side default will be 200. + */ @property(nonatomic, assign) NSInteger maxResults; /** Token to specify next page in the list */ @@ -1793,7 +1806,11 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; /** Immutable ID of the G Suite account */ @property(nonatomic, copy, nullable) NSString *customerId; -/** Maximum number of results to return. Default is 100 */ +/** + * Maximum number of results to return. Max allowed value is 100. + * + * @note If not set, the documented server-side default will be 100. + */ @property(nonatomic, assign) NSInteger maxResults; /** @@ -4192,9 +4209,10 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; @property(nonatomic, copy, nullable) NSString *event; /** - * Maximum number of results to return. Default is 100. Max allowed is 500 + * Maximum number of results to return. * - * @note The documented range is 1..500. + * @note If not set, the documented server-side default will be 100 (from the + * range 1..500). */ @property(nonatomic, assign) NSInteger maxResults; @@ -4236,7 +4254,7 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; */ @property(nonatomic, copy, nullable) NSString *query; -/** If set to true retrieves the list of deleted users. Default is false */ +/** If set to true, retrieves the list of deleted users. (Default: false) */ @property(nonatomic, copy, nullable) NSString *showDeleted; /** @@ -4573,9 +4591,10 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; @property(nonatomic, copy, nullable) NSString *event; /** - * Maximum number of results to return. Default is 100. Max allowed is 500 + * Maximum number of results to return. * - * @note The documented range is 1..500. + * @note If not set, the documented server-side default will be 100 (from the + * range 1..500). */ @property(nonatomic, assign) NSInteger maxResults; @@ -4617,7 +4636,7 @@ GTLR_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; */ @property(nonatomic, copy, nullable) NSString *query; -/** If set to true retrieves the list of deleted users. Default is false */ +/** If set to true, retrieves the list of deleted users. (Default: false) */ @property(nonatomic, copy, nullable) NSString *showDeleted; /** diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAP.h b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAP.h new file mode 100644 index 000000000..56d9db0b4 --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAP.h @@ -0,0 +1,14 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#import "GTLRDomainsRDAPObjects.h" +#import "GTLRDomainsRDAPQuery.h" +#import "GTLRDomainsRDAPService.h" diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPObjects.h b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPObjects.h new file mode 100644 index 000000000..fe7ad317a --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPObjects.h @@ -0,0 +1,203 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRObject.h" +#else + #import "GTLRObject.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRDomainsRDAP_HttpBody; +@class GTLRDomainsRDAP_HttpBody_Extensions_Item; +@class GTLRDomainsRDAP_Link; +@class GTLRDomainsRDAP_Notice; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Message that represents an arbitrary HTTP body. It should only be used for + * payload formats that can't be represented as JSON, such as raw binary or + * an HTML page. + * This message can be used both in streaming and non-streaming API methods in + * the request as well as the response. + * It can be used as a top-level request field, which is convenient if one + * wants to extract parameters from either the URL or HTTP template into the + * request fields and also want access to the raw HTTP body. + * Example: + * message GetResourceRequest { + * // A unique request id. + * string request_id = 1; + * // The raw HTTP body is bound to this field. + * google.api.HttpBody http_body = 2; + * } + * service ResourceService { + * rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); + * rpc UpdateResource(google.api.HttpBody) returns + * (google.protobuf.Empty); + * } + * Example with streaming methods: + * service CaldavService { + * rpc GetCalendar(stream google.api.HttpBody) + * returns (stream google.api.HttpBody); + * rpc UpdateCalendar(stream google.api.HttpBody) + * returns (stream google.api.HttpBody); + * } + * Use of this type only changes how the request and response bodies are + * handled, all other features will continue to work unchanged. + */ +@interface GTLRDomainsRDAP_HttpBody : GTLRObject + +/** + * The HTTP Content-Type header value specifying the content type of the body. + */ +@property(nonatomic, copy, nullable) NSString *contentType; + +/** + * The HTTP request/response body as raw binary. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *data; + +/** + * Application specific response metadata. Must be set in the first response + * for streaming APIs. + */ +@property(nonatomic, strong, nullable) NSArray *extensions; + +@end + + +/** + * GTLRDomainsRDAP_HttpBody_Extensions_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 GTLRDomainsRDAP_HttpBody_Extensions_Item : GTLRObject +@end + + +/** + * Links object defined in [section 4.2 of RFC + * 7483](https://tools.ietf.org/html/rfc7483#section-4.2). + */ +@interface GTLRDomainsRDAP_Link : GTLRObject + +/** Target URL of a link. Example: "http://example.com/previous". */ +@property(nonatomic, copy, nullable) NSString *href; + +/** Language code of a link. Example: "en". */ +@property(nonatomic, copy, nullable) NSString *hreflang; + +/** Media type of the link destination. Example: "screen". */ +@property(nonatomic, copy, nullable) NSString *media; + +/** Relation type of a link. Example: "previous". */ +@property(nonatomic, copy, nullable) NSString *rel; + +/** Title of this link. Example: "title". */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Content type of the link. Example: "application/json". */ +@property(nonatomic, copy, nullable) NSString *type; + +/** URL giving context for the link. Example: "http://example.com/current". */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * Notices object defined in [section 4.3 of RFC + * 7483](https://tools.ietf.org/html/rfc7483#section-4.3). + */ +@interface GTLRDomainsRDAP_Notice : GTLRObject + +/** + * Description of the notice. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, strong, nullable) NSArray *descriptionProperty; + +/** Link to a document containing more information. */ +@property(nonatomic, strong, nullable) NSArray *links; + +/** Title of a notice. Example: "Terms of Service". */ +@property(nonatomic, copy, nullable) NSString *title; + +/** + * Type values defined in [section 10.2.1 of RFC + * 7483](https://tools.ietf.org/html/rfc7483#section-10.2.1) specific to a + * whole response: "result set truncated due to authorization", "result set + * truncated due to excessive load", "result set truncated due to + * unexplainable reasons". + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Response to a general RDAP query. + */ +@interface GTLRDomainsRDAP_RdapResponse : GTLRObject + +/** + * Error description. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, strong, nullable) NSArray *descriptionProperty; + +/** + * Error HTTP code. Example: "501". + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *errorCode; + +/** HTTP response with content type set to "application/json+rdap". */ +@property(nonatomic, strong, nullable) GTLRDomainsRDAP_HttpBody *jsonResponse; + +/** + * Error language code. Error response info fields are defined in [section 6 + * of RFC 7483](https://tools.ietf.org/html/rfc7483#section-6). + */ +@property(nonatomic, copy, nullable) NSString *lang; + +/** Notices applying to this response. */ +@property(nonatomic, strong, nullable) NSArray *notices; + +/** RDAP conformance level. */ +@property(nonatomic, strong, nullable) NSArray *rdapConformance; + +/** Error title. */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPObjects.m b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPObjects.m new file mode 100644 index 000000000..20c8feb47 --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPObjects.m @@ -0,0 +1,101 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#import "GTLRDomainsRDAPObjects.h" + +// ---------------------------------------------------------------------------- +// +// GTLRDomainsRDAP_HttpBody +// + +@implementation GTLRDomainsRDAP_HttpBody +@dynamic contentType, data, extensions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extensions" : [GTLRDomainsRDAP_HttpBody_Extensions_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDomainsRDAP_HttpBody_Extensions_Item +// + +@implementation GTLRDomainsRDAP_HttpBody_Extensions_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDomainsRDAP_Link +// + +@implementation GTLRDomainsRDAP_Link +@dynamic href, hreflang, media, rel, title, type, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDomainsRDAP_Notice +// + +@implementation GTLRDomainsRDAP_Notice +@dynamic descriptionProperty, links, title, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"description" : [NSString class], + @"links" : [GTLRDomainsRDAP_Link class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDomainsRDAP_RdapResponse +// + +@implementation GTLRDomainsRDAP_RdapResponse +@dynamic descriptionProperty, errorCode, jsonResponse, lang, notices, + rdapConformance, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"description" : [NSString class], + @"notices" : [GTLRDomainsRDAP_Notice class], + @"rdapConformance" : [NSString class] + }; + return map; +} + +@end diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPQuery.h b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPQuery.h new file mode 100644 index 000000000..f71fb9ff2 --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPQuery.h @@ -0,0 +1,282 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRQuery.h" +#else + #import "GTLRQuery.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Parent class for other Domains RDAP query classes. + */ +@interface GTLRDomainsRDAPQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.autnum.get + */ +@interface GTLRDomainsRDAPQuery_AutnumGet : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForAutnumGetWithautnumId:] + +@property(nonatomic, copy, nullable) NSString *autnumId; + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @param autnumId NSString + * + * @return GTLRDomainsRDAPQuery_AutnumGet + */ ++ (instancetype)queryWithAutnumId:(NSString *)autnumId; + +@end + +/** + * Look up RDAP information for a domain by name. + * + * Method: domainsrdap.domain.get + */ +@interface GTLRDomainsRDAPQuery_DomainGet : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForDomainGetWithdomainName:] + +/** Full domain name to look up. Example: "example.com" */ +@property(nonatomic, copy, nullable) NSString *domainName; + +/** + * Fetches a @c GTLRDomainsRDAP_HttpBody. + * + * Look up RDAP information for a domain by name. + * + * @param domainName Full domain name to look up. Example: "example.com" + * + * @return GTLRDomainsRDAPQuery_DomainGet + */ ++ (instancetype)queryWithDomainName:(NSString *)domainName; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.entity.get + */ +@interface GTLRDomainsRDAPQuery_EntityGet : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForEntityGetWithentityId:] + +@property(nonatomic, copy, nullable) NSString *entityId; + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @param entityId NSString + * + * @return GTLRDomainsRDAPQuery_EntityGet + */ ++ (instancetype)queryWithEntityId:(NSString *)entityId; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.ip.get + */ +@interface GTLRDomainsRDAPQuery_IpGet : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForIpGetWithipId:ipId1:] + +@property(nonatomic, copy, nullable) NSString *ipId; + +@property(nonatomic, copy, nullable) NSString *ipId1; + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @param ipId NSString + * @param ipId1 NSString + * + * @return GTLRDomainsRDAPQuery_IpGet + */ ++ (instancetype)queryWithIpId:(NSString *)ipId + ipId1:(NSString *)ipId1; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.nameserver.get + */ +@interface GTLRDomainsRDAPQuery_NameserverGet : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForNameserverGetWithnameserverId:] + +@property(nonatomic, copy, nullable) NSString *nameserverId; + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @param nameserverId NSString + * + * @return GTLRDomainsRDAPQuery_NameserverGet + */ ++ (instancetype)queryWithNameserverId:(NSString *)nameserverId; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.getDomains + */ +@interface GTLRDomainsRDAPQuery_V1GetDomains : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForGetDomains] + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @return GTLRDomainsRDAPQuery_V1GetDomains + */ ++ (instancetype)query; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.getEntities + */ +@interface GTLRDomainsRDAPQuery_V1GetEntities : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForGetEntities] + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @return GTLRDomainsRDAPQuery_V1GetEntities + */ ++ (instancetype)query; + +@end + +/** + * Get help information for the RDAP API, including links to documentation. + * + * Method: domainsrdap.getHelp + */ +@interface GTLRDomainsRDAPQuery_V1GetHelp : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForGetHelp] + +/** + * Fetches a @c GTLRDomainsRDAP_HttpBody. + * + * Get help information for the RDAP API, including links to documentation. + * + * @return GTLRDomainsRDAPQuery_V1GetHelp + */ ++ (instancetype)query; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.getIp + */ +@interface GTLRDomainsRDAPQuery_V1GetIp : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForGetIp] + +/** + * Fetches a @c GTLRDomainsRDAP_HttpBody. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @return GTLRDomainsRDAPQuery_V1GetIp + */ ++ (instancetype)query; + +@end + +/** + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * Method: domainsrdap.getNameservers + */ +@interface GTLRDomainsRDAPQuery_V1GetNameservers : GTLRDomainsRDAPQuery +// Previous library name was +// +[GTLQueryDomainsRDAP queryForGetNameservers] + +/** + * Fetches a @c GTLRDomainsRDAP_RdapResponse. + * + * The RDAP API recognizes this command from the RDAP specification but + * does not support it. The response is a formatted 501 error. + * + * @return GTLRDomainsRDAPQuery_V1GetNameservers + */ ++ (instancetype)query; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPQuery.m b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPQuery.m new file mode 100644 index 000000000..e0f35f384 --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPQuery.m @@ -0,0 +1,194 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#import "GTLRDomainsRDAPQuery.h" + +#import "GTLRDomainsRDAPObjects.h" + +@implementation GTLRDomainsRDAPQuery + +@dynamic fields; + +@end + +@implementation GTLRDomainsRDAPQuery_AutnumGet + +@dynamic autnumId; + ++ (instancetype)queryWithAutnumId:(NSString *)autnumId { + NSArray *pathParams = @[ @"autnumId" ]; + NSString *pathURITemplate = @"v1/autnum/{autnumId}"; + GTLRDomainsRDAPQuery_AutnumGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.autnumId = autnumId; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.autnum.get"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_DomainGet + +@dynamic domainName; + ++ (instancetype)queryWithDomainName:(NSString *)domainName { + NSArray *pathParams = @[ @"domainName" ]; + NSString *pathURITemplate = @"v1/domain/{+domainName}"; + GTLRDomainsRDAPQuery_DomainGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.domainName = domainName; + query.expectedObjectClass = [GTLRDomainsRDAP_HttpBody class]; + query.loggingName = @"domainsrdap.domain.get"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_EntityGet + +@dynamic entityId; + ++ (instancetype)queryWithEntityId:(NSString *)entityId { + NSArray *pathParams = @[ @"entityId" ]; + NSString *pathURITemplate = @"v1/entity/{entityId}"; + GTLRDomainsRDAPQuery_EntityGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.entityId = entityId; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.entity.get"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_IpGet + +@dynamic ipId, ipId1; + ++ (instancetype)queryWithIpId:(NSString *)ipId + ipId1:(NSString *)ipId1 { + NSArray *pathParams = @[ + @"ipId", @"ipId1" + ]; + NSString *pathURITemplate = @"v1/ip/{ipId}/{ipId1}"; + GTLRDomainsRDAPQuery_IpGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.ipId = ipId; + query.ipId1 = ipId1; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.ip.get"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_NameserverGet + +@dynamic nameserverId; + ++ (instancetype)queryWithNameserverId:(NSString *)nameserverId { + NSArray *pathParams = @[ @"nameserverId" ]; + NSString *pathURITemplate = @"v1/nameserver/{nameserverId}"; + GTLRDomainsRDAPQuery_NameserverGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.nameserverId = nameserverId; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.nameserver.get"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_V1GetDomains + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/domains"; + GTLRDomainsRDAPQuery_V1GetDomains *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.getDomains"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_V1GetEntities + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/entities"; + GTLRDomainsRDAPQuery_V1GetEntities *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.getEntities"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_V1GetHelp + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/help"; + GTLRDomainsRDAPQuery_V1GetHelp *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDomainsRDAP_HttpBody class]; + query.loggingName = @"domainsrdap.getHelp"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_V1GetIp + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/ip"; + GTLRDomainsRDAPQuery_V1GetIp *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDomainsRDAP_HttpBody class]; + query.loggingName = @"domainsrdap.getIp"; + return query; +} + +@end + +@implementation GTLRDomainsRDAPQuery_V1GetNameservers + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/nameservers"; + GTLRDomainsRDAPQuery_V1GetNameservers *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRDomainsRDAP_RdapResponse class]; + query.loggingName = @"domainsrdap.getNameservers"; + return query; +} + +@end diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPService.h b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPService.h new file mode 100644 index 000000000..6af1d466e --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPService.h @@ -0,0 +1,64 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRService.h" +#else + #import "GTLRService.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Service for executing Domains RDAP API queries. + * + * Read-only public API that lets users search for information about domain + * names. + */ +@interface GTLRDomainsRDAPService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRDomainsRDAPQuery.h. The query can the be sent with GTLRService's execute +// methods, +// +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// completionHandler:(void (^)(GTLRServiceTicket *ticket, +// id object, NSError *error))handler; +// or +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// delegate:(id)delegate +// didFinishSelector:(SEL)finishedSelector; +// +// where finishedSelector has a signature of: +// +// - (void)serviceTicket:(GTLRServiceTicket *)ticket +// finishedWithObject:(id)object +// error:(NSError *)error; +// +// The object passed to the completion handler or delegate method +// is a subclass of GTLRObject, determined by the query method executed. + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPService.m b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPService.m new file mode 100644 index 000000000..a26536d07 --- /dev/null +++ b/Source/GeneratedServices/DomainsRDAP/GTLRDomainsRDAPService.m @@ -0,0 +1,27 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Domains RDAP API (domainsrdap/v1) +// Description: +// Read-only public API that lets users search for information about domain +// names. +// Documentation: +// https://developers.google.com/domains/rdap/ + +#import "GTLRDomainsRDAP.h" + +@implementation GTLRDomainsRDAPService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://domainsrdap.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearch.h b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearch.h index 82da14ed2..ef6b0d6a0 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearch.h +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearch.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.h b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.h index 601d0144e..b7b6d7e70 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.h +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). @@ -364,7 +364,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Asynchronous report only. Contains a list of generated report files once the - * report has succesfully completed. + * report has successfully completed. */ @property(nonatomic, strong, nullable) NSArray *files; diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.m b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.m index b26de011c..23cc5af87 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.m +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchObjects.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.h b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.h index 8c90e8af7..7585e72f1 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.h +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.m b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.m index 8ec520cd2..af8844f0f 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.m +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchQuery.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.h b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.h index 5d04c8d9c..88aec2cab 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.h +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.h @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). @@ -42,7 +42,7 @@ GTLR_EXTERN NSString * const kGTLRAuthScopeDoubleClickSearch; // /** - * Service for executing DoubleClick Search API queries. + * Service for executing Search Ads 360 API queries. * * Reports and modifies your advertising data in DoubleClick Search (for * example, campaigns, ad groups, keywords, and conversions). diff --git a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.m b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.m index f9269101d..0a3c7cfb0 100644 --- a/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.m +++ b/Source/GeneratedServices/DoubleClickSearch/GTLRDoubleClickSearchService.m @@ -2,7 +2,7 @@ // ---------------------------------------------------------------------------- // API: -// DoubleClick Search API (doubleclicksearch/v2) +// Search Ads 360 API (doubleclicksearch/v2) // Description: // Reports and modifies your advertising data in DoubleClick Search (for // example, campaigns, ad groups, keywords, and conversions). diff --git a/Source/GeneratedServices/Drive/GTLRDriveObjects.h b/Source/GeneratedServices/Drive/GTLRDriveObjects.h index 33714b400..bbfbbe2ab 100644 --- a/Source/GeneratedServices/Drive/GTLRDriveObjects.h +++ b/Source/GeneratedServices/Drive/GTLRDriveObjects.h @@ -1331,7 +1331,9 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, strong, nullable) NSNumber *canDownload; /** - * Whether the current user can edit this file. + * Whether the current user can edit this file. Other factors may limit the + * type of changes a user can make to a file. For example, see + * canChangeCopyRequiresWriterPermission or canModifyContent. * * Uses NSNumber of boolValue. */ @@ -1345,6 +1347,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) NSNumber *canListChildren; +/** + * Whether the current user can modify the content of this file. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canModifyContent; + /** * Whether the current user can move children of this folder outside of the * shared drive. This is false when the item is not a folder. Only populated diff --git a/Source/GeneratedServices/Drive/GTLRDriveObjects.m b/Source/GeneratedServices/Drive/GTLRDriveObjects.m index 2b73fd89d..2978cdd39 100644 --- a/Source/GeneratedServices/Drive/GTLRDriveObjects.m +++ b/Source/GeneratedServices/Drive/GTLRDriveObjects.m @@ -377,13 +377,14 @@ @implementation GTLRDrive_File_Capabilities @dynamic canAddChildren, canChangeCopyRequiresWriterPermission, canChangeViewersCanCopyContent, canComment, canCopy, canDelete, canDeleteChildren, canDownload, canEdit, canListChildren, - canMoveChildrenOutOfDrive, canMoveChildrenOutOfTeamDrive, - canMoveChildrenWithinDrive, canMoveChildrenWithinTeamDrive, - canMoveItemIntoTeamDrive, canMoveItemOutOfDrive, - canMoveItemOutOfTeamDrive, canMoveItemWithinDrive, - canMoveItemWithinTeamDrive, canMoveTeamDriveItem, canReadDrive, - canReadRevisions, canReadTeamDrive, canRemoveChildren, canRename, - canShare, canTrash, canTrashChildren, canUntrash; + canModifyContent, canMoveChildrenOutOfDrive, + canMoveChildrenOutOfTeamDrive, canMoveChildrenWithinDrive, + canMoveChildrenWithinTeamDrive, canMoveItemIntoTeamDrive, + canMoveItemOutOfDrive, canMoveItemOutOfTeamDrive, + canMoveItemWithinDrive, canMoveItemWithinTeamDrive, + canMoveTeamDriveItem, canReadDrive, canReadRevisions, canReadTeamDrive, + canRemoveChildren, canRename, canShare, canTrash, canTrashChildren, + canUntrash; @end diff --git a/Source/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.h b/Source/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.h index a7fced628..acef57f2a 100644 --- a/Source/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.h +++ b/Source/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.h @@ -926,7 +926,10 @@ GTLR_EXTERN NSString * const kGTLRDriveActivity_SystemEvent_Type_UserDeletion; /** The Drive item is a file. */ @property(nonatomic, strong, nullable) GTLRDriveActivity_DriveFile *driveFile; -/** The Drive item is a folder. */ +/** + * The Drive item is a folder. Includes information about the type of + * folder. + */ @property(nonatomic, strong, nullable) GTLRDriveActivity_DriveFolder *driveFolder; /** This field is deprecated; please use the `driveFile` field instead. */ diff --git a/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.h b/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.h index 816af705b..8af043f87 100644 --- a/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.h +++ b/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.h @@ -92,6 +92,9 @@ NS_ASSUME_NONNULL_BEGIN /** Corresponds to `ClaimReview.reviewRating.image`. */ @property(nonatomic, copy, nullable) NSString *imageUrl; +/** Corresponds to `ClaimReview.reviewRating.ratingExplanation`. */ +@property(nonatomic, copy, nullable) NSString *ratingExplanation; + /** * A numeric rating of this claim, in the range worstRating — bestRating * inclusive.
diff --git a/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.m b/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.m index ae71bd8dd..9fa9220b1 100644 --- a/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.m +++ b/Source/GeneratedServices/FactCheckTools/GTLRFactCheckToolsObjects.m @@ -42,7 +42,8 @@ @implementation GTLRFactCheckTools_GoogleFactcheckingFactchecktoolsV1alpha1Claim // @implementation GTLRFactCheckTools_GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating -@dynamic bestRating, imageUrl, ratingValue, textualRating, worstRating; +@dynamic bestRating, imageUrl, ratingExplanation, ratingValue, textualRating, + worstRating; @end diff --git a/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.h b/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.h index 469bd5824..be02309bb 100644 --- a/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.h +++ b/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.h @@ -27,7 +27,9 @@ @class GTLRFirebaseCloudMessaging_ApnsConfig_Headers; @class GTLRFirebaseCloudMessaging_ApnsConfig_Payload; @class GTLRFirebaseCloudMessaging_ApnsFcmOptions; +@class GTLRFirebaseCloudMessaging_Color; @class GTLRFirebaseCloudMessaging_FcmOptions; +@class GTLRFirebaseCloudMessaging_LightSettings; @class GTLRFirebaseCloudMessaging_Message; @class GTLRFirebaseCloudMessaging_Message_Data; @class GTLRFirebaseCloudMessaging_Notification; @@ -75,6 +77,85 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ */ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_Normal; +// ---------------------------------------------------------------------------- +// GTLRFirebaseCloudMessaging_AndroidNotification.notificationPriority + +/** + * Default notification priority. If the application does not prioritize its + * own notifications, use this value for all notifications. + * + * Value: "PRIORITY_DEFAULT" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityDefault; +/** + * Higher notification priority. Use this for more important notifications + * or alerts. The UI may choose to show these notifications larger, or at a + * different position in the notification lists, compared with notifications + * with `PRIORITY_DEFAULT`. + * + * Value: "PRIORITY_HIGH" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityHigh; +/** + * Lower notification priority. The UI may choose to show the notifications + * smaller, or at a different position in the list, compared with + * notifications with `PRIORITY_DEFAULT`. + * + * Value: "PRIORITY_LOW" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityLow; +/** + * Highest notification priority. Use this for the application's most + * important items that require the user's prompt attention or input. + * + * Value: "PRIORITY_MAX" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityMax; +/** + * Lowest notification priority. Notifications with this `PRIORITY_MIN` + * might not be shown to the user except under special circumstances, + * such as detailed notification logs. + * + * Value: "PRIORITY_MIN" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityMin; +/** + * If priority is unspecified, notification priority is set to + * `PRIORITY_DEFAULT`. + * + * Value: "PRIORITY_UNSPECIFIED" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseCloudMessaging_AndroidNotification.visibility + +/** + * Show this notification on all lockscreens, but conceal sensitive or + * private information on secure lockscreens. + * + * Value: "PRIVATE" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Private; +/** + * Show this notification in its entirety on all lockscreens. + * + * Value: "PUBLIC" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Public; +/** + * Do not reveal any part of this notification on a secure lockscreen. + * + * Value: "SECRET" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Secret; +/** + * If unspecified, default to `Visibility.PRIVATE`. + * + * Value: "VISIBILITY_UNSPECIFIED" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_VisibilityUnspecified; + /** * Android specific options for messages sent through * [FCM connection server](https://goo.gl/4GLdUl). @@ -223,6 +304,46 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ /** The notification's icon color, expressed in #rrggbb format. */ @property(nonatomic, copy, nullable) NSString *color; +/** + * If set to true, use the Android framework's default LED light settings for + * the notification. Default values are specified in + * [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). + * If `default_light_settings` is set to true and `light_settings` is also + * set, the user-specified `light_settings` is used instead of the + * default value. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultLightSettings; + +/** + * If set to true, use the Android framework's default sound for the + * notification. Default values are specified in + * [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultSound; + +/** + * If set to true, use the Android framework's default vibrate pattern for the + * notification. Default values are specified in + * [config.xml](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/config.xml). + * If `default_vibrate_timings` is set to true and `vibrate_timings` is also + * set, the default value is used instead of the user-specified + * `vibrate_timings`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultVibrateTimings; + +/** + * Set the time that the event in the notification occurred. Notifications in + * the panel are sorted by this time. A point in time is represented using + * [protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/Timestamp). + */ +@property(nonatomic, strong, nullable) GTLRDateTime *eventTime; + /** * The notification's icon. * Sets the notification icon to myicon for drawable resource myicon. @@ -238,6 +359,84 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ */ @property(nonatomic, copy, nullable) NSString *image; +/** + * Settings to control the notification's LED blinking rate and color if LED + * is available on the device. The total blinking time is controlled by the + * OS. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseCloudMessaging_LightSettings *lightSettings; + +/** + * Set whether or not this notification is relevant only to the current + * device. Some notifications can be bridged to other devices for remote + * display, such as a Wear OS watch. This hint can be set to recommend this + * notification not be bridged. See [Wear OS + * guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging) + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *localOnly; + +/** + * Sets the number of items this notification represents. May be displayed as + * a badge count for launchers that support badging.See [Notification + * Badge](https://developer.android.com/training/notify-user/badges). + * For example, this might be useful if you're using just one notification to + * represent multiple new messages but you want the count here to represent + * the number of total new messages. + * If zero or unspecified, systems that support badging use the default, which + * is to increment a number displayed on the long-press menu each time a new + * notification arrives. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *notificationCount; + +/** + * Set the relative priority for this notification. Priority is an indication + * of how much of the user's attention should be consumed by this + * notification. Low-priority notifications may be hidden from the user in + * certain situations, while the user might be interrupted for a + * higher-priority notification. The effect of setting the same priorities may + * differ slightly on different platforms. Note this priority differs from + * `AndroidMessagePriority`. This priority is processed by the client after + * the message has been delivered, whereas + * [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) + * is an FCM concept that controls when the message is delivered. + * + * Likely values: + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityDefault + * Default notification priority. If the application does not prioritize + * its + * own notifications, use this value for all notifications. (Value: + * "PRIORITY_DEFAULT") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityHigh + * Higher notification priority. Use this for more important + * notifications + * or alerts. The UI may choose to show these notifications larger, or at + * a + * different position in the notification lists, compared with + * notifications + * with `PRIORITY_DEFAULT`. (Value: "PRIORITY_HIGH") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityLow + * Lower notification priority. The UI may choose to show the + * notifications + * smaller, or at a different position in the list, compared with + * notifications with `PRIORITY_DEFAULT`. (Value: "PRIORITY_LOW") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityMax + * Highest notification priority. Use this for the application's most + * important items that require the user's prompt attention or input. + * (Value: "PRIORITY_MAX") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityMin + * Lowest notification priority. Notifications with this `PRIORITY_MIN` + * might not be shown to the user except under special circumstances, + * such as detailed notification logs. (Value: "PRIORITY_MIN") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityUnspecified + * If priority is unspecified, notification priority is set to + * `PRIORITY_DEFAULT`. (Value: "PRIORITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *notificationPriority; + /** * The sound to play when the device receives the notification. * Supports "default" or the filename of a sound resource bundled in the app. @@ -245,6 +444,15 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ */ @property(nonatomic, copy, nullable) NSString *sound; +/** + * When set to false or unset, the notification is automatically + * dismissed when the user clicks it in the panel. When set to true, the + * notification persists even when the user clicks it. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sticky; + /** * Identifier used to replace existing notifications in the notification * drawer. @@ -254,6 +462,13 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ */ @property(nonatomic, copy, nullable) NSString *tag; +/** + * Sets the "ticker" text, which is sent to accessibility services. + * Prior to API level 21 (`Lollipop`), sets the text that is displayed in the + * status bar when the notification first arrives. + */ +@property(nonatomic, copy, nullable) NSString *ticker; + /** * The notification's title. If present, it will override * google.firebase.fcm.v1.Notification.title. @@ -275,6 +490,39 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ */ @property(nonatomic, copy, nullable) NSString *titleLocKey; +/** + * Set the vibration pattern to use. Pass in an array of + * [protobuf.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) + * to turn on or off the vibrator. The first value indicates the `Duration` to + * wait before turning the vibrator on. The next value indicates the + * `Duration` to keep the vibrator on. Subsequent values alternate between + * `Duration` to turn the vibrator off and to turn the vibrator on. + * If `vibrate_timings` is set and `default_vibrate_timings` is set to `true`, + * the default value is used instead of the user-specified `vibrate_timings`. + */ +@property(nonatomic, strong, nullable) NSArray *vibrateTimings; + +/** + * Set the + * [Notification.visibility](https://developer.android.com/reference/android/app/Notification.html#visibility) + * of the notification. + * + * Likely values: + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Private + * Show this notification on all lockscreens, but conceal sensitive or + * private information on secure lockscreens. (Value: "PRIVATE") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Public + * Show this notification in its entirety on all lockscreens. (Value: + * "PUBLIC") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Secret + * Do not reveal any part of this notification on a secure lockscreen. + * (Value: "SECRET") + * @arg @c kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_VisibilityUnspecified + * If unspecified, default to `Visibility.PRIVATE`. (Value: + * "VISIBILITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *visibility; + @end @@ -351,6 +599,153 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ @end +/** + * Represents a color in the RGBA color space. This representation is designed + * for simplicity of conversion to/from color representations in various + * languages over compactness; for example, the fields of this representation + * can be trivially provided to the constructor of "java.awt.Color" in Java; it + * can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + * method in iOS; and, with just a little work, it can be easily formatted into + * a CSS "rgba()" string in JavaScript, as well. + * Note: this proto does not carry information about the absolute color space + * that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, + * DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB + * color + * space. + * Example (Java): + * import com.google.type.Color; + * // ... + * public static java.awt.Color fromProto(Color protocolor) { + * float alpha = protocolor.hasAlpha() + * ? protocolor.getAlpha().getValue() + * : 1.0; + * return new java.awt.Color( + * protocolor.getRed(), + * protocolor.getGreen(), + * protocolor.getBlue(), + * alpha); + * } + * public static Color toProto(java.awt.Color color) { + * float red = (float) color.getRed(); + * float green = (float) color.getGreen(); + * float blue = (float) color.getBlue(); + * float denominator = 255.0; + * Color.Builder resultBuilder = + * Color + * .newBuilder() + * .setRed(red / denominator) + * .setGreen(green / denominator) + * .setBlue(blue / denominator); + * int alpha = color.getAlpha(); + * if (alpha != 255) { + * result.setAlpha( + * FloatValue + * .newBuilder() + * .setValue(((float) alpha) / denominator) + * .build()); + * } + * return resultBuilder.build(); + * } + * // ... + * Example (iOS / Obj-C): + * // ... + * static UIColor* fromProto(Color* protocolor) { + * float red = [protocolor red]; + * float green = [protocolor green]; + * float blue = [protocolor blue]; + * FloatValue* alpha_wrapper = [protocolor alpha]; + * float alpha = 1.0; + * if (alpha_wrapper != nil) { + * alpha = [alpha_wrapper value]; + * } + * return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + * } + * static Color* toProto(UIColor* color) { + * CGFloat red, green, blue, alpha; + * if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { + * return nil; + * } + * Color* result = [[Color alloc] init]; + * [result setRed:red]; + * [result setGreen:green]; + * [result setBlue:blue]; + * if (alpha <= 0.9999) { + * [result setAlpha:floatWrapperWithValue(alpha)]; + * } + * [result autorelease]; + * return result; + * } + * // ... + * Example (JavaScript): + * // ... + * var protoToCssColor = function(rgb_color) { + * var redFrac = rgb_color.red || 0.0; + * var greenFrac = rgb_color.green || 0.0; + * var blueFrac = rgb_color.blue || 0.0; + * var red = Math.floor(redFrac * 255); + * var green = Math.floor(greenFrac * 255); + * var blue = Math.floor(blueFrac * 255); + * if (!('alpha' in rgb_color)) { + * return rgbToCssColor_(red, green, blue); + * } + * var alphaFrac = rgb_color.alpha.value || 0.0; + * var rgbParams = [red, green, blue].join(','); + * return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + * }; + * var rgbToCssColor_ = function(red, green, blue) { + * var rgbNumber = new Number((red << 16) | (green << 8) | blue); + * var hexString = rgbNumber.toString(16); + * var missingZeros = 6 - hexString.length; + * var resultBuilder = ['#']; + * for (var i = 0; i < missingZeros; i++) { + * resultBuilder.push('0'); + * } + * resultBuilder.push(hexString); + * return resultBuilder.join(''); + * }; + * // ... + */ +@interface GTLRFirebaseCloudMessaging_Color : GTLRObject + +/** + * The fraction of this color that should be applied to the pixel. That is, + * the final pixel color is defined by the equation: + * pixel color = alpha * (this color) + (1.0 - alpha) * (background color) + * This means that a value of 1.0 corresponds to a solid color, whereas + * a value of 0.0 corresponds to a completely transparent color. This + * uses a wrapper message rather than a simple float scalar so that it is + * possible to distinguish between a default value and the value being unset. + * If omitted, this color object is to be rendered as a solid color + * (as if the alpha value had been explicitly given with a value of 1.0). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *alpha; + +/** + * The amount of blue in the color as a value in the interval [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blue; + +/** + * The amount of green in the color as a value in the interval [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *green; + +/** + * The amount of red in the color as a value in the interval [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *red; + +@end + + /** * Platform independent options for features provided by the FCM SDKs. */ @@ -362,6 +757,34 @@ GTLR_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_ @end +/** + * Settings to control notification LED. + */ +@interface GTLRFirebaseCloudMessaging_LightSettings : GTLRObject + +/** + * Required. Set `color` of the LED with + * [google.type.Color](https://github.com/googleapis/googleapis/blob/master/google/type/color.proto). + */ +@property(nonatomic, strong, nullable) GTLRFirebaseCloudMessaging_Color *color; + +/** + * Required. Along with `light_on_duration `, define the blink rate of LED + * flashes. Resolution defined by + * [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) + */ +@property(nonatomic, strong, nullable) GTLRDuration *lightOffDuration; + +/** + * Required. Along with `light_off_duration`, define the blink rate of LED + * flashes. Resolution defined by + * [proto.Duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration) + */ +@property(nonatomic, strong, nullable) GTLRDuration *lightOnDuration; + +@end + + /** * Message to send by Firebase Cloud Messaging Service. */ diff --git a/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m b/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m index 2cdacd0fc..6b92e44c4 100644 --- a/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m +++ b/Source/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m @@ -18,6 +18,20 @@ NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_High = @"HIGH"; NSString * const kGTLRFirebaseCloudMessaging_AndroidConfig_Priority_Normal = @"NORMAL"; +// GTLRFirebaseCloudMessaging_AndroidNotification.notificationPriority +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityDefault = @"PRIORITY_DEFAULT"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityHigh = @"PRIORITY_HIGH"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityLow = @"PRIORITY_LOW"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityMax = @"PRIORITY_MAX"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityMin = @"PRIORITY_MIN"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_NotificationPriority_PriorityUnspecified = @"PRIORITY_UNSPECIFIED"; + +// GTLRFirebaseCloudMessaging_AndroidNotification.visibility +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Private = @"PRIVATE"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Public = @"PUBLIC"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_Secret = @"SECRET"; +NSString * const kGTLRFirebaseCloudMessaging_AndroidNotification_Visibility_VisibilityUnspecified = @"VISIBILITY_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRFirebaseCloudMessaging_AndroidConfig @@ -59,13 +73,17 @@ @implementation GTLRFirebaseCloudMessaging_AndroidFcmOptions // @implementation GTLRFirebaseCloudMessaging_AndroidNotification -@dynamic body, bodyLocArgs, bodyLocKey, channelId, clickAction, color, icon, - image, sound, tag, title, titleLocArgs, titleLocKey; +@dynamic body, bodyLocArgs, bodyLocKey, channelId, clickAction, color, + defaultLightSettings, defaultSound, defaultVibrateTimings, eventTime, + icon, image, lightSettings, localOnly, notificationCount, + notificationPriority, sound, sticky, tag, ticker, title, titleLocArgs, + titleLocKey, vibrateTimings, visibility; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"bodyLocArgs" : [NSString class], - @"titleLocArgs" : [NSString class] + @"titleLocArgs" : [NSString class], + @"vibrateTimings" : [GTLRDuration class] }; return map; } @@ -121,6 +139,16 @@ @implementation GTLRFirebaseCloudMessaging_ApnsFcmOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseCloudMessaging_Color +// + +@implementation GTLRFirebaseCloudMessaging_Color +@dynamic alpha, blue, green, red; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirebaseCloudMessaging_FcmOptions @@ -131,6 +159,16 @@ @implementation GTLRFirebaseCloudMessaging_FcmOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseCloudMessaging_LightSettings +// + +@implementation GTLRFirebaseCloudMessaging_LightSettings +@dynamic color, lightOffDuration, lightOnDuration; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirebaseCloudMessaging_Message diff --git a/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.h b/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.h index 1b8a3094e..d6d40b6a4 100644 --- a/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.h +++ b/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.h @@ -593,8 +593,8 @@ GTLR_EXTERN NSString * const kGTLRFirebaseHosting_VersionFile_Status_StatusUnspe @interface GTLRFirebaseHosting_Header : GTLRObject /** - * Required. The user-supplied - * [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match + * The user-supplied [glob + * pattern](/docs/hosting/full-config#glob_pattern_matching) to match * against the request URL path. */ @property(nonatomic, copy, nullable) NSString *glob; @@ -602,6 +602,12 @@ GTLR_EXTERN NSString * const kGTLRFirebaseHosting_VersionFile_Status_StatusUnspe /** Required. The additional headers to add to the response. */ @property(nonatomic, strong, nullable) GTLRFirebaseHosting_Header_Headers *headers; +/** + * The user-supplied RE2 regular expression to match against the request + * URL path. + */ +@property(nonatomic, copy, nullable) NSString *regex; + @end @@ -755,8 +761,8 @@ GTLR_EXTERN NSString * const kGTLRFirebaseHosting_VersionFile_Status_StatusUnspe @interface GTLRFirebaseHosting_Redirect : GTLRObject /** - * Required. The user-supplied - * [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match + * The user-supplied [glob + * pattern](/docs/hosting/full-config#glob_pattern_matching) to match * against the request URL path. */ @property(nonatomic, copy, nullable) NSString *glob; @@ -773,6 +779,12 @@ GTLR_EXTERN NSString * const kGTLRFirebaseHosting_VersionFile_Status_StatusUnspe */ @property(nonatomic, copy, nullable) NSString *location; +/** + * The user-supplied RE2 regular expression to match against the request + * URL path. + */ +@property(nonatomic, copy, nullable) NSString *regex; + /** * Required. The status HTTP code to return in the response. It must be a * valid 3xx status code. @@ -859,8 +871,8 @@ GTLR_EXTERN NSString * const kGTLRFirebaseHosting_VersionFile_Status_StatusUnspe @property(nonatomic, copy, nullable) NSString *function; /** - * Required. The user-supplied - * [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match + * The user-supplied [glob + * pattern](/docs/hosting/full-config#glob_pattern_matching) to match * against the request URL path. */ @property(nonatomic, copy, nullable) NSString *glob; @@ -868,6 +880,12 @@ GTLR_EXTERN NSString * const kGTLRFirebaseHosting_VersionFile_Status_StatusUnspe /** The URL path to rewrite the request to. */ @property(nonatomic, copy, nullable) NSString *path; +/** + * The user-supplied RE2 regular expression to match against the request + * URL path. + */ +@property(nonatomic, copy, nullable) NSString *regex; + /** The request will be forwarded to Cloud Run. */ @property(nonatomic, strong, nullable) GTLRFirebaseHosting_CloudRunRewrite *run; diff --git a/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.m b/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.m index 005519ad7..fe7df2063 100644 --- a/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.m +++ b/Source/GeneratedServices/FirebaseHosting/GTLRFirebaseHostingObjects.m @@ -167,7 +167,7 @@ @implementation GTLRFirebaseHosting_Empty // @implementation GTLRFirebaseHosting_Header -@dynamic glob, headers; +@dynamic glob, headers, regex; @end @@ -299,7 +299,7 @@ @implementation GTLRFirebaseHosting_PopulateVersionFilesResponse // @implementation GTLRFirebaseHosting_Redirect -@dynamic glob, location, statusCode; +@dynamic glob, location, regex, statusCode; @end @@ -319,7 +319,7 @@ @implementation GTLRFirebaseHosting_Release // @implementation GTLRFirebaseHosting_Rewrite -@dynamic dynamicLinks, function, glob, path, run; +@dynamic dynamicLinks, function, glob, path, regex, run; @end diff --git a/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.h b/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.h index 134e41196..1db354983 100644 --- a/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.h +++ b/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.h @@ -142,6 +142,29 @@ GTLR_EXTERN NSString * const kGTLRFirebaseRules_TestCase_Expectation_Deny; */ GTLR_EXTERN NSString * const kGTLRFirebaseRules_TestCase_Expectation_ExpectationUnspecified; +// ---------------------------------------------------------------------------- +// GTLRFirebaseRules_TestCase.pathEncoding + +/** + * No encoding has been specified. Defaults to "URL_ENCODED" behavior. + * + * Value: "ENCODING_UNSPECIFIED" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseRules_TestCase_PathEncoding_EncodingUnspecified; +/** + * Treats total path as non-URL encoded e.g. raw. + * + * Value: "PLAIN" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseRules_TestCase_PathEncoding_Plain; +/** + * Treats path segments as URL encoded but with non-encoded separators + * ("/"). This is the default behavior. + * + * Value: "URL_ENCODED" + */ +GTLR_EXTERN NSString * const kGTLRFirebaseRules_TestCase_PathEncoding_UrlEncoded; + // ---------------------------------------------------------------------------- // GTLRFirebaseRules_TestResult.state @@ -578,6 +601,21 @@ GTLR_EXTERN NSString * const kGTLRFirebaseRules_TestResult_State_Success; */ @property(nonatomic, strong, nullable) NSArray *functionMocks; +/** + * Specifies whether paths (such as request.path) are encoded and how. + * + * Likely values: + * @arg @c kGTLRFirebaseRules_TestCase_PathEncoding_EncodingUnspecified No + * encoding has been specified. Defaults to "URL_ENCODED" behavior. + * (Value: "ENCODING_UNSPECIFIED") + * @arg @c kGTLRFirebaseRules_TestCase_PathEncoding_Plain Treats total path + * as non-URL encoded e.g. raw. (Value: "PLAIN") + * @arg @c kGTLRFirebaseRules_TestCase_PathEncoding_UrlEncoded Treats path + * segments as URL encoded but with non-encoded separators + * ("/"). This is the default behavior. (Value: "URL_ENCODED") + */ +@property(nonatomic, copy, nullable) NSString *pathEncoding; + /** * Request context. * The exact format of the request context is service-dependent. See the diff --git a/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m b/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m index 8c1a6be71..a03416357 100644 --- a/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m +++ b/Source/GeneratedServices/FirebaseRules/GTLRFirebaseRulesObjects.m @@ -35,6 +35,11 @@ NSString * const kGTLRFirebaseRules_TestCase_Expectation_Deny = @"DENY"; NSString * const kGTLRFirebaseRules_TestCase_Expectation_ExpectationUnspecified = @"EXPECTATION_UNSPECIFIED"; +// GTLRFirebaseRules_TestCase.pathEncoding +NSString * const kGTLRFirebaseRules_TestCase_PathEncoding_EncodingUnspecified = @"ENCODING_UNSPECIFIED"; +NSString * const kGTLRFirebaseRules_TestCase_PathEncoding_Plain = @"PLAIN"; +NSString * const kGTLRFirebaseRules_TestCase_PathEncoding_UrlEncoded = @"URL_ENCODED"; + // GTLRFirebaseRules_TestResult.state NSString * const kGTLRFirebaseRules_TestResult_State_Failure = @"FAILURE"; NSString * const kGTLRFirebaseRules_TestResult_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -239,7 +244,7 @@ @implementation GTLRFirebaseRules_SourcePosition // @implementation GTLRFirebaseRules_TestCase -@dynamic expectation, functionMocks, request, resource; +@dynamic expectation, functionMocks, pathEncoding, request, resource; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.h b/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.h index a813331b1..3cb9bab4e 100644 --- a/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.h +++ b/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.h @@ -333,6 +333,14 @@ GTLR_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1ImportDocument * Value: "COLLECTION" */ GTLR_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_Collection; +/** + * Indexes with a collection group query scope specified allow queries + * against all collections that has the collection id specified by the + * index. + * + * Value: "COLLECTION_GROUP" + */ +GTLR_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_CollectionGroup; /** * The query scope is unspecified. Not a valid option. * @@ -568,7 +576,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_TargetChange_TargetChangeType_Reset; */ GTLR_EXTERN NSString * const kGTLRFirestore_UnaryFilter_Op_IsNan; /** - * Test if an exprestion evaluates to Null. + * Test if an expression evaluates to Null. * * Value: "IS_NULL" */ @@ -1550,8 +1558,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @property(nonatomic, strong, nullable) NSArray *fields; /** - * Output only. - * A server defined name for this index. + * Output only. A server defined name for this index. * The form of this name for composite indexes will be: * `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{composite_index_id}` * For single field indexes, this field will be empty. @@ -1573,6 +1580,10 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; * specified * at query time, and that has the collection id specified by the index. * (Value: "COLLECTION") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_CollectionGroup + * Indexes with a collection group query scope specified allow queries + * against all collections that has the collection id specified by the + * index. (Value: "COLLECTION_GROUP") * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_QueryScopeUnspecified * The query scope is unspecified. Not a valid option. (Value: * "QUERY_SCOPE_UNSPECIFIED") @@ -1580,8 +1591,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @property(nonatomic, copy, nullable) NSString *queryScope; /** - * Output only. - * The serving state of the index. + * Output only. The serving state of the index. * * Likely values: * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1Index_State_Creating The @@ -1618,8 +1628,8 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @interface GTLRFirestore_GoogleFirestoreAdminV1IndexConfig : GTLRObject /** - * Output only. - * Specifies the resource name of the `Field` from which this field's + * Output only. Specifies the resource name of the `Field` from which this + * field's * index configuration is set (when `uses_ancestor_config` is true), * or from which it *would* be set if this field had no index configuration * (when `uses_ancestor_config` is false). @@ -1641,8 +1651,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @property(nonatomic, strong, nullable) NSNumber *reverting; /** - * Output only. - * When true, the `Field`'s index configuration is set from the + * Output only. When true, the `Field`'s index configuration is set from the * configuration specified by the `ancestor_field`. * When false, the `Field`'s index configuration is defined explicitly. * @@ -1925,7 +1934,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; /** * The server-assigned name, which is only unique within the same service that * originally returns it. If you use the default HTTP mapping, the - * `name` should have the format of `operations/some/unique/name`. + * `name` should be a resource name ending with `operations/{unique_id}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2453,45 +2462,10 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is - * used by [gRPC](https://github.com/grpc). The error model is designed to be: - * - Simple to use and understand for most users - * - Flexible enough to meet unexpected needs - * # Overview - * The `Status` message contains three pieces of data: error code, error - * message, and error details. The error code should be an enum value of - * google.rpc.Code, but it may accept additional error codes if needed. The - * error message should be a developer-facing English message that helps - * developers *understand* and *resolve* the error. If a localized user-facing - * error message is needed, put the localized message in the error details or - * localize it in the client. The optional error details may contain arbitrary - * information about the error. There is a predefined set of error detail types - * in the package `google.rpc` that can be used for common error conditions. - * # Language mapping - * The `Status` message is the logical representation of the error model, but - * it - * is not necessarily the actual wire format. When the `Status` message is - * exposed in different client libraries and different wire protocols, it can - * be - * mapped differently. For example, it will likely be mapped to some exceptions - * in Java, but more likely mapped to some error codes in C. - * # Other uses - * The error model and the `Status` message can be used in a variety of - * environments, either with or without APIs, to provide a - * consistent developer experience across different environments. - * Example uses of this error model include: - * - Partial errors. If a service needs to return partial errors to the client, - * it may embed the `Status` in the normal response to indicate the partial - * errors. - * - Workflow errors. A typical workflow has multiple steps. Each step may - * have a `Status` message for error reporting. - * - Batch operations. If a client uses batch request and batch response, the - * `Status` message should be used directly inside batch response, one for - * each error sub-response. - * - Asynchronous operations. If an API call embeds asynchronous operation - * results in its response, the status of those operations should be - * represented directly using the `Status` message. - * - Logging. If some API errors are stored in logs, the message `Status` could - * be used directly after any stripping needed for security/privacy reasons. + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. + * You can find out more about this error model and how to work with it in the + * [API Design Guide](https://cloud.google.com/apis/design/errors). */ @interface GTLRFirestore_Status : GTLRObject @@ -2623,12 +2597,8 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @property(nonatomic, copy, nullable) NSString *resumeToken; /** - * A client provided target ID. - * If not set, the server will assign an ID for the target. - * Used for resuming a target without changing IDs. The IDs can either be - * client-assigned or be server-assigned in a previous stream. All targets - * with client provided IDs must be added before adding a target that needs - * a server-assigned id. + * The target ID that identifies the target on the stream. Must be a positive + * number and non-zero. * * Uses NSNumber of intValue. */ @@ -2697,10 +2667,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; /** * The target IDs of targets that have changed. * If empty, the change applies to all targets. - * For `target_change_type=ADD`, the order of the target IDs matches the order - * of the requests to add the targets. This allows clients to unambiguously - * associate server-assigned target IDs with added targets. - * For other states, the order of the target IDs is not defined. + * The order of the target IDs is not defined. * * Uses NSNumber of intValue. */ @@ -2737,7 +2704,7 @@ GTLR_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; * Likely values: * @arg @c kGTLRFirestore_UnaryFilter_Op_IsNan Test if a field is equal to * NaN. (Value: "IS_NAN") - * @arg @c kGTLRFirestore_UnaryFilter_Op_IsNull Test if an exprestion + * @arg @c kGTLRFirestore_UnaryFilter_Op_IsNull Test if an expression * evaluates to Null. (Value: "IS_NULL") * @arg @c kGTLRFirestore_UnaryFilter_Op_OperatorUnspecified Unspecified. * This value must not be used. (Value: "OPERATOR_UNSPECIFIED") diff --git a/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.m index a80e7219c..77225e74d 100644 --- a/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Source/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -63,6 +63,7 @@ // GTLRFirestore_GoogleFirestoreAdminV1Index.queryScope NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_Collection = @"COLLECTION"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_CollectionGroup = @"COLLECTION_GROUP"; NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Index_QueryScope_QueryScopeUnspecified = @"QUERY_SCOPE_UNSPECIFIED"; // GTLRFirestore_GoogleFirestoreAdminV1Index.state diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphService.h b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphService.h new file mode 100644 index 000000000..496af7134 --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphService.h @@ -0,0 +1,11 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#import "GTLRHomeGraphServiceObjects.h" +#import "GTLRHomeGraphServiceQuery.h" +#import "GTLRHomeGraphServiceService.h" diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceObjects.h b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceObjects.h new file mode 100644 index 000000000..8e4cd493f --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceObjects.h @@ -0,0 +1,575 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRObject.h" +#else + #import "GTLRObject.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRHomeGraphService_AgentDeviceId; +@class GTLRHomeGraphService_AgentOtherDeviceId; +@class GTLRHomeGraphService_Device; +@class GTLRHomeGraphService_Device_Attributes; +@class GTLRHomeGraphService_DeviceInfo; +@class GTLRHomeGraphService_DeviceNames; +@class GTLRHomeGraphService_QueryRequestInput; +@class GTLRHomeGraphService_QueryRequestPayload; +@class GTLRHomeGraphService_QueryResponsePayload; +@class GTLRHomeGraphService_QueryResponsePayload_Devices; +@class GTLRHomeGraphService_QueryResponsePayload_Devices_Device; +@class GTLRHomeGraphService_ReportStateAndNotificationDevice; +@class GTLRHomeGraphService_ReportStateAndNotificationDevice_Notifications; +@class GTLRHomeGraphService_ReportStateAndNotificationDevice_States; +@class GTLRHomeGraphService_StateAndNotificationPayload; +@class GTLRHomeGraphService_SyncResponsePayload; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Third-party partner's device ID for one device. + */ +@interface GTLRHomeGraphService_AgentDeviceId : GTLRObject + +/** + * Third-party partner's device ID. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +@end + + +/** + * Identifies a device in the third party or first party system. + */ +@interface GTLRHomeGraphService_AgentOtherDeviceId : GTLRObject + +/** The agent's ID. Generally it is the agent's AoG project id. */ +@property(nonatomic, copy, nullable) NSString *agentId; + +/** Device ID defined by the agent. The device_id must be unique. */ +@property(nonatomic, copy, nullable) NSString *deviceId; + +@end + + +/** + * Third-party partner's device definition. + */ +@interface GTLRHomeGraphService_Device : GTLRObject + +/** Attributes for the traits supported by the device. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_Device_Attributes *attributes; + +/** + * Custom JSON data provided by the manufacturer and attached to QUERY and + * EXECUTE requests in AoG. + */ +@property(nonatomic, copy, nullable) NSString *customData; + +/** Device manufacturer, model, hardware version, and software version. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_DeviceInfo *deviceInfo; + +/** + * Third-party partner's device ID. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Name of the device given by the third party. This includes names given to + * the device via third party device manufacturer's app, model names for the + * device, etc. + */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_DeviceNames *name; + +/** + * IDs of other devices associated with this device. This is used to + * represent a device group (e.g. bonded zone) or "facets" synced + * through different flows (e.g. Google Nest Hub Max with a Nest Camera). + * This may also be used to pass in alternate IDs used to identify a cloud + * synced device for local execution (i.e. local verification). If used for + * local verification, this field is synced from the cloud. + */ +@property(nonatomic, strong, nullable) NSArray *otherDeviceIds; + +/** + * If the third-party partner's cloud configuration includes placing devices + * in rooms, the name of the room can be provided here. + */ +@property(nonatomic, copy, nullable) NSString *roomHint; + +/** + * As in roomHint, for structures that users set up in the partner's system. + */ +@property(nonatomic, copy, nullable) NSString *structureHint; + +/** Traits supported by the device. */ +@property(nonatomic, strong, nullable) NSArray *traits; + +/** Hardware type of the device (e.g. light, outlet, etc). */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * Indicates whether the state of this device is being reported to Google + * through ReportStateAndNotification call. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *willReportState; + +@end + + +/** + * Attributes for the traits supported by the device. + * + * @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 GTLRHomeGraphService_Device_Attributes : GTLRObject +@end + + +/** + * Device information. + */ +@interface GTLRHomeGraphService_DeviceInfo : GTLRObject + +/** Device hardware version. */ +@property(nonatomic, copy, nullable) NSString *hwVersion; + +/** Device manufacturer. */ +@property(nonatomic, copy, nullable) NSString *manufacturer; + +/** Device model. */ +@property(nonatomic, copy, nullable) NSString *model; + +/** Device software version. */ +@property(nonatomic, copy, nullable) NSString *swVersion; + +@end + + +/** + * Different names for the device. + */ +@interface GTLRHomeGraphService_DeviceNames : GTLRObject + +/** + * List of names provided by the partner rather than the user, often + * manufacturer names, SKUs, etc. + */ +@property(nonatomic, strong, nullable) NSArray *defaultNames; + +/** Primary name of the device, generally provided by the user. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Additional names provided by the user for the device. */ +@property(nonatomic, strong, nullable) NSArray *nicknames; + +@end + + +/** + * A generic empty message that you can re-use to avoid defining duplicated + * empty messages in your APIs. A typical example is to use it as the request + * or the response type of an API method. For instance: + * service Foo { + * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + * } + * The JSON representation for `Empty` is empty JSON object `{}`. + */ +@interface GTLRHomeGraphService_Empty : GTLRObject +@end + + +/** + * Request type for the + * [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should + * be the same format as the Actions on Google `action.devices.QUERY` + * [request](/actions/smarthome/create-app#actiondevicesquery) with the + * exception of the extra `agent_user_id` and no `intent` and `customData` + * fields. + */ +@interface GTLRHomeGraphService_QueryRequest : GTLRObject + +/** Required. Third-party user ID. */ +@property(nonatomic, copy, nullable) NSString *agentUserId; + +/** + * Required. Inputs containing third-party partner's device IDs for which to + * get the device states. + */ +@property(nonatomic, strong, nullable) NSArray *inputs; + +/** Request ID used for debugging. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + +/** + * Device ID inputs to QueryRequest. + */ +@interface GTLRHomeGraphService_QueryRequestInput : GTLRObject + +/** Payload containing third-party partner's device IDs. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_QueryRequestPayload *payload; + +@end + + +/** + * Payload containing device IDs. + */ +@interface GTLRHomeGraphService_QueryRequestPayload : GTLRObject + +/** Third-party partner's device IDs for which to get the device states. */ +@property(nonatomic, strong, nullable) NSArray *devices; + +@end + + +/** + * Response type for the + * [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should + * follow the same format as the Actions on Google `action.devices.QUERY` + * [response](/actions/smarthome/create-app#actiondevicesquery). + * # Example + * ```json + * { + * "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", + * "payload": { + * "devices": { + * "123": { + * "on": true, + * "online": true + * }, + * "456": { + * "on": true, + * "online": true, + * "brightness": 80, + * "color": { + * "name": "cerulean", + * "spectrumRGB": 31655 + * } + * } + * } + * } + * } + * ``` + */ +@interface GTLRHomeGraphService_QueryResponse : GTLRObject + +/** Device states for the devices given in the request. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_QueryResponsePayload *payload; + +/** Request ID used for debugging. Copied from the request. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + +/** + * Payload containing device states information. + */ +@interface GTLRHomeGraphService_QueryResponsePayload : GTLRObject + +/** + * States of the devices. Map of third-party device ID to struct of device + * states. + */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_QueryResponsePayload_Devices *devices; + +@end + + +/** + * States of the devices. Map of third-party device ID to struct of device + * states. + * + * @note This class is documented as having more properties of + * GTLRHomeGraphService_QueryResponsePayload_Devices_Device. 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 GTLRHomeGraphService_QueryResponsePayload_Devices : GTLRObject +@end + + +/** + * GTLRHomeGraphService_QueryResponsePayload_Devices_Device + * + * @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 GTLRHomeGraphService_QueryResponsePayload_Devices_Device : GTLRObject +@end + + +/** + * The states and notifications specific to a device. + */ +@interface GTLRHomeGraphService_ReportStateAndNotificationDevice : GTLRObject + +/** Notifications metadata for devices. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_ReportStateAndNotificationDevice_Notifications *notifications; + +/** States of devices to update. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_ReportStateAndNotificationDevice_States *states; + +@end + + +/** + * Notifications metadata for devices. + * + * @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 GTLRHomeGraphService_ReportStateAndNotificationDevice_Notifications : GTLRObject +@end + + +/** + * States of devices to update. + * + * @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 GTLRHomeGraphService_ReportStateAndNotificationDevice_States : GTLRObject +@end + + +/** + * Request type for the + * [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) + * call. It may include States, Notifications, or both. This request uses + * globally unique flattened state names instead of namespaces based on traits + * to align with the existing QUERY and EXECUTE APIs implemented by 90+ Smart + * Home partners. States and notifications are defined per `device_id` (for + * example, "123" + * and "456" in the following example). # Example + * ```json + * { + * "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", + * "agentUserId": "1234", + * "payload": { + * "devices": { + * "states": { + * "123": { + * "on": true + * }, + * "456": { + * "on": true, + * "brightness": 10 + * } + * }, + * } + * } + * } + * ``` + */ +@interface GTLRHomeGraphService_ReportStateAndNotificationRequest : GTLRObject + +/** Required. Third-party user ID. */ +@property(nonatomic, copy, nullable) NSString *agentUserId; + +/** Unique identifier per event (for example, a doorbell press). */ +@property(nonatomic, copy, nullable) NSString *eventId; + +/** Token to maintain state in the follow up notification response. */ +@property(nonatomic, copy, nullable) NSString *followUpToken; + +/** + * State of devices to update and notification metadata for devices. For + * example, if a user turns a light on manually, a state update should be + * sent so that the information is always the current status of the device. + * Notifications are independent from the state and its piece of the payload + * should contain everything necessary to notify the user. Although it may be + * related to a state change, it does not need to be. For example, if a + * device can turn on/off and change temperature, the states reported would + * include both "on" and "70 degrees" but the 3p may choose not to send any + * notification for that, or to only say that the "the room is heating up", + * keeping state and notification independent. + */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_StateAndNotificationPayload *payload; + +/** Request ID used for debugging. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + +/** + * Response type for the + * [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) + * call. + */ +@interface GTLRHomeGraphService_ReportStateAndNotificationResponse : GTLRObject + +/** Request ID copied from ReportStateAndNotificationRequest. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + +/** + * Request type for the + * [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) + * call. + */ +@interface GTLRHomeGraphService_RequestSyncDevicesRequest : GTLRObject + +/** + * Required. Third-party user ID issued by agent's third-party identity + * provider. + */ +@property(nonatomic, copy, nullable) NSString *agentUserId; + +/** + * Optional. If set, the request will be added to a queue and a response will + * be returned immediately. The queue allows for de-duplication of + * simultaneous requests. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *async; + +@end + + +/** + * Response type for the + * [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) + * call. Intentionally empty upon success. An HTTP response code is returned + * with more details upon failure. + */ +@interface GTLRHomeGraphService_RequestSyncDevicesResponse : GTLRObject +@end + + +/** + * Payload containing the state and notification information for devices. + */ +@interface GTLRHomeGraphService_StateAndNotificationPayload : GTLRObject + +/** The devices for updating state and sending notifications. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_ReportStateAndNotificationDevice *devices; + +@end + + +/** + * Request type for the + * [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) + * call. This should follow the same format as the Actions on Google + * `action.devices.SYNC` + * [request](/actions/smarthome/create-app#actiondevicessync) with the + * exception + * of the extra `agent_user_id` and no `intent` field. + */ +@interface GTLRHomeGraphService_SyncRequest : GTLRObject + +/** Required. Third-party user ID. */ +@property(nonatomic, copy, nullable) NSString *agentUserId; + +/** Request ID used for debugging. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + +/** + * Response type for the + * [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. This should + * follow the same format as the Actions on Google `action.devices.SYNC` + * [response](/actions/smarthome/create-app#actiondevicessync). + * # Example + * ```json + * { + * "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", + * "payload": { + * "agentUserId": "1836.15267389", + * "devices": [{ + * "id": "123", + * "type": "action.devices.types.OUTLET", + * "traits": [ + * "action.devices.traits.OnOff" + * ], + * "name": { + * "defaultNames": ["My Outlet 1234"], + * "name": "Night light", + * "nicknames": ["wall plug"] + * }, + * "willReportState": false, + * "deviceInfo": { + * "manufacturer": "lights-out-inc", + * "model": "hs1234", + * "hwVersion": "3.2", + * "swVersion": "11.4" + * }, + * "customData": { + * "fooValue": 74, + * "barValue": true, + * "bazValue": "foo" + * } + * }] + * } + * } + * ``` + */ +@interface GTLRHomeGraphService_SyncResponse : GTLRObject + +/** Devices associated with the third-party user. */ +@property(nonatomic, strong, nullable) GTLRHomeGraphService_SyncResponsePayload *payload; + +/** Request ID used for debugging. Copied from the request. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +@end + + +/** + * Payload containing device information. + */ +@interface GTLRHomeGraphService_SyncResponsePayload : GTLRObject + +/** Third-party user ID */ +@property(nonatomic, copy, nullable) NSString *agentUserId; + +/** Devices associated with the third-party user. */ +@property(nonatomic, strong, nullable) NSArray *devices; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceObjects.m b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceObjects.m new file mode 100644 index 000000000..49d23af8c --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceObjects.m @@ -0,0 +1,328 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#import "GTLRHomeGraphServiceObjects.h" + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_AgentDeviceId +// + +@implementation GTLRHomeGraphService_AgentDeviceId +@dynamic identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_AgentOtherDeviceId +// + +@implementation GTLRHomeGraphService_AgentOtherDeviceId +@dynamic agentId, deviceId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_Device +// + +@implementation GTLRHomeGraphService_Device +@dynamic attributes, customData, deviceInfo, identifier, name, otherDeviceIds, + roomHint, structureHint, traits, type, willReportState; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"otherDeviceIds" : [GTLRHomeGraphService_AgentOtherDeviceId class], + @"traits" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_Device_Attributes +// + +@implementation GTLRHomeGraphService_Device_Attributes + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_DeviceInfo +// + +@implementation GTLRHomeGraphService_DeviceInfo +@dynamic hwVersion, manufacturer, model, swVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_DeviceNames +// + +@implementation GTLRHomeGraphService_DeviceNames +@dynamic defaultNames, name, nicknames; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"defaultNames" : [NSString class], + @"nicknames" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_Empty +// + +@implementation GTLRHomeGraphService_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryRequest +// + +@implementation GTLRHomeGraphService_QueryRequest +@dynamic agentUserId, inputs, requestId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inputs" : [GTLRHomeGraphService_QueryRequestInput class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryRequestInput +// + +@implementation GTLRHomeGraphService_QueryRequestInput +@dynamic payload; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryRequestPayload +// + +@implementation GTLRHomeGraphService_QueryRequestPayload +@dynamic devices; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"devices" : [GTLRHomeGraphService_AgentDeviceId class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryResponse +// + +@implementation GTLRHomeGraphService_QueryResponse +@dynamic payload, requestId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryResponsePayload +// + +@implementation GTLRHomeGraphService_QueryResponsePayload +@dynamic devices; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryResponsePayload_Devices +// + +@implementation GTLRHomeGraphService_QueryResponsePayload_Devices + ++ (Class)classForAdditionalProperties { + return [GTLRHomeGraphService_QueryResponsePayload_Devices_Device class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_QueryResponsePayload_Devices_Device +// + +@implementation GTLRHomeGraphService_QueryResponsePayload_Devices_Device + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_ReportStateAndNotificationDevice +// + +@implementation GTLRHomeGraphService_ReportStateAndNotificationDevice +@dynamic notifications, states; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_ReportStateAndNotificationDevice_Notifications +// + +@implementation GTLRHomeGraphService_ReportStateAndNotificationDevice_Notifications + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_ReportStateAndNotificationDevice_States +// + +@implementation GTLRHomeGraphService_ReportStateAndNotificationDevice_States + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_ReportStateAndNotificationRequest +// + +@implementation GTLRHomeGraphService_ReportStateAndNotificationRequest +@dynamic agentUserId, eventId, followUpToken, payload, requestId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_ReportStateAndNotificationResponse +// + +@implementation GTLRHomeGraphService_ReportStateAndNotificationResponse +@dynamic requestId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_RequestSyncDevicesRequest +// + +@implementation GTLRHomeGraphService_RequestSyncDevicesRequest +@dynamic agentUserId, async; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_RequestSyncDevicesResponse +// + +@implementation GTLRHomeGraphService_RequestSyncDevicesResponse +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_StateAndNotificationPayload +// + +@implementation GTLRHomeGraphService_StateAndNotificationPayload +@dynamic devices; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_SyncRequest +// + +@implementation GTLRHomeGraphService_SyncRequest +@dynamic agentUserId, requestId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_SyncResponse +// + +@implementation GTLRHomeGraphService_SyncResponse +@dynamic payload, requestId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHomeGraphService_SyncResponsePayload +// + +@implementation GTLRHomeGraphService_SyncResponsePayload +@dynamic agentUserId, devices; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"devices" : [GTLRHomeGraphService_Device class] + }; + return map; +} + +@end diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceQuery.h b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceQuery.h new file mode 100644 index 000000000..f4a4e065e --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceQuery.h @@ -0,0 +1,249 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRQuery.h" +#else + #import "GTLRQuery.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRHomeGraphService_QueryRequest; +@class GTLRHomeGraphService_ReportStateAndNotificationRequest; +@class GTLRHomeGraphService_RequestSyncDevicesRequest; +@class GTLRHomeGraphService_SyncRequest; + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Parent class for other Home Graph Service query classes. + */ +@interface GTLRHomeGraphServiceQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Unlinks an agent user from Google. As a result, all data related to this + * user will be deleted. + * Here is how the agent user is created in Google: + * 1. When a user opens their Google Home App, they can begin linking a 3p + * partner. + * 2. User is guided through the OAuth process. + * 3. After entering the 3p credentials, Google gets the 3p OAuth token and + * uses it to make a Sync call to the 3p partner and gets back all of the + * user's data, including `agent_user_id` and devices. + * 4. Google creates the agent user and stores a mapping from the + * `agent_user_id` -> Google ID mapping. Google also + * stores all of the user's devices under that Google ID. + * The mapping from `agent_user_id` to Google ID is many to many, since one + * Google user can have multiple 3p accounts, and multiple Google users can + * map to one `agent_user_id` (e.g., a husband and wife share one Nest account + * username/password). + * The third-party user's identity is passed in as `agent_user_id`. + * The agent is identified by the JWT signed by the partner's service account. + * Note: Special characters (except "/") in `agent_user_id` must be + * URL-encoded. + * + * Method: homegraph.agentUsers.delete + */ +@interface GTLRHomeGraphServiceQuery_AgentUsersDelete : GTLRHomeGraphServiceQuery +// Previous library name was +// +[GTLQueryHomeGraphService queryForAgentUsersDeleteWithagentUserId:] + +/** Required. Third-party user ID. */ +@property(nonatomic, copy, nullable) NSString *agentUserId; + +/** Request ID used for debugging. */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRHomeGraphService_Empty. + * + * Unlinks an agent user from Google. As a result, all data related to this + * user will be deleted. + * Here is how the agent user is created in Google: + * 1. When a user opens their Google Home App, they can begin linking a 3p + * partner. + * 2. User is guided through the OAuth process. + * 3. After entering the 3p credentials, Google gets the 3p OAuth token and + * uses it to make a Sync call to the 3p partner and gets back all of the + * user's data, including `agent_user_id` and devices. + * 4. Google creates the agent user and stores a mapping from the + * `agent_user_id` -> Google ID mapping. Google also + * stores all of the user's devices under that Google ID. + * The mapping from `agent_user_id` to Google ID is many to many, since one + * Google user can have multiple 3p accounts, and multiple Google users can + * map to one `agent_user_id` (e.g., a husband and wife share one Nest account + * username/password). + * The third-party user's identity is passed in as `agent_user_id`. + * The agent is identified by the JWT signed by the partner's service account. + * Note: Special characters (except "/") in `agent_user_id` must be + * URL-encoded. + * + * @param agentUserId Required. Third-party user ID. + * + * @return GTLRHomeGraphServiceQuery_AgentUsersDelete + */ ++ (instancetype)queryWithAgentUserId:(NSString *)agentUserId; + +@end + +/** + * Gets the device states for the devices in QueryRequest. + * The third-party user's identity is passed in as `agent_user_id`. The agent + * is identified by the JWT signed by the third-party partner's service + * account. + * + * Method: homegraph.devices.query + */ +@interface GTLRHomeGraphServiceQuery_DevicesQuery : GTLRHomeGraphServiceQuery +// Previous library name was +// +[GTLQueryHomeGraphService queryForDevicesQueryWithObject:] + +/** + * Fetches a @c GTLRHomeGraphService_QueryResponse. + * + * Gets the device states for the devices in QueryRequest. + * The third-party user's identity is passed in as `agent_user_id`. The agent + * is identified by the JWT signed by the third-party partner's service + * account. + * + * @param object The @c GTLRHomeGraphService_QueryRequest to include in the + * query. + * + * @return GTLRHomeGraphServiceQuery_DevicesQuery + */ ++ (instancetype)queryWithObject:(GTLRHomeGraphService_QueryRequest *)object; + +@end + +/** + * Reports device state and optionally sends device notifications. Called by + * an agent when the device state of a third-party changes or the agent wants + * to send a notification about the device. See + * [Implement Report State](/actions/smarthome/report-state) for more + * information. + * This method updates a predefined set of states for a device, which all + * devices have according to their prescribed traits (for example, a light + * will have the [OnOff](/actions/smarthome/traits/onoff) trait that reports + * the state `on` as a boolean value). + * A new state may not be created and an INVALID_ARGUMENT code will be thrown + * if so. It also optionally takes in a list of Notifications that may be + * created, which are associated to this state change. + * The third-party user's identity is passed in as `agent_user_id`. + * The agent is identified by the JWT signed by the partner's service account. + * + * Method: homegraph.devices.reportStateAndNotification + */ +@interface GTLRHomeGraphServiceQuery_DevicesReportStateAndNotification : GTLRHomeGraphServiceQuery +// Previous library name was +// +[GTLQueryHomeGraphService queryForDevicesReportStateAndNotificationWithObject:] + +/** + * Fetches a @c GTLRHomeGraphService_ReportStateAndNotificationResponse. + * + * Reports device state and optionally sends device notifications. Called by + * an agent when the device state of a third-party changes or the agent wants + * to send a notification about the device. See + * [Implement Report State](/actions/smarthome/report-state) for more + * information. + * This method updates a predefined set of states for a device, which all + * devices have according to their prescribed traits (for example, a light + * will have the [OnOff](/actions/smarthome/traits/onoff) trait that reports + * the state `on` as a boolean value). + * A new state may not be created and an INVALID_ARGUMENT code will be thrown + * if so. It also optionally takes in a list of Notifications that may be + * created, which are associated to this state change. + * The third-party user's identity is passed in as `agent_user_id`. + * The agent is identified by the JWT signed by the partner's service account. + * + * @param object The @c GTLRHomeGraphService_ReportStateAndNotificationRequest + * to include in the query. + * + * @return GTLRHomeGraphServiceQuery_DevicesReportStateAndNotification + */ ++ (instancetype)queryWithObject:(GTLRHomeGraphService_ReportStateAndNotificationRequest *)object; + +@end + +/** + * Requests a `SYNC` call from Google to a 3p partner's home control agent for + * a user. + * The third-party user's identity is passed in as `agent_user_id` + * (see RequestSyncDevicesRequest) and forwarded back to the agent. + * The agent is identified by the API key or JWT signed by the partner's + * service account. + * + * Method: homegraph.devices.requestSync + */ +@interface GTLRHomeGraphServiceQuery_DevicesRequestSync : GTLRHomeGraphServiceQuery +// Previous library name was +// +[GTLQueryHomeGraphService queryForDevicesRequestSyncWithObject:] + +/** + * Fetches a @c GTLRHomeGraphService_RequestSyncDevicesResponse. + * + * Requests a `SYNC` call from Google to a 3p partner's home control agent for + * a user. + * The third-party user's identity is passed in as `agent_user_id` + * (see RequestSyncDevicesRequest) and forwarded back to the agent. + * The agent is identified by the API key or JWT signed by the partner's + * service account. + * + * @param object The @c GTLRHomeGraphService_RequestSyncDevicesRequest to + * include in the query. + * + * @return GTLRHomeGraphServiceQuery_DevicesRequestSync + */ ++ (instancetype)queryWithObject:(GTLRHomeGraphService_RequestSyncDevicesRequest *)object; + +@end + +/** + * Gets all the devices associated with the given third-party user. + * The third-party user's identity is passed in as `agent_user_id`. The agent + * is identified by the JWT signed by the third-party partner's service + * account. + * + * Method: homegraph.devices.sync + */ +@interface GTLRHomeGraphServiceQuery_DevicesSync : GTLRHomeGraphServiceQuery +// Previous library name was +// +[GTLQueryHomeGraphService queryForDevicesSyncWithObject:] + +/** + * Fetches a @c GTLRHomeGraphService_SyncResponse. + * + * Gets all the devices associated with the given third-party user. + * The third-party user's identity is passed in as `agent_user_id`. The agent + * is identified by the JWT signed by the third-party partner's service + * account. + * + * @param object The @c GTLRHomeGraphService_SyncRequest to include in the + * query. + * + * @return GTLRHomeGraphServiceQuery_DevicesSync + */ ++ (instancetype)queryWithObject:(GTLRHomeGraphService_SyncRequest *)object; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceQuery.m b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceQuery.m new file mode 100644 index 000000000..9acfdfabd --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceQuery.m @@ -0,0 +1,116 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#import "GTLRHomeGraphServiceQuery.h" + +#import "GTLRHomeGraphServiceObjects.h" + +@implementation GTLRHomeGraphServiceQuery + +@dynamic fields; + +@end + +@implementation GTLRHomeGraphServiceQuery_AgentUsersDelete + +@dynamic agentUserId, requestId; + ++ (instancetype)queryWithAgentUserId:(NSString *)agentUserId { + NSArray *pathParams = @[ @"agentUserId" ]; + NSString *pathURITemplate = @"v1/{+agentUserId}"; + GTLRHomeGraphServiceQuery_AgentUsersDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.agentUserId = agentUserId; + query.expectedObjectClass = [GTLRHomeGraphService_Empty class]; + query.loggingName = @"homegraph.agentUsers.delete"; + return query; +} + +@end + +@implementation GTLRHomeGraphServiceQuery_DevicesQuery + ++ (instancetype)queryWithObject:(GTLRHomeGraphService_QueryRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"v1/devices:query"; + GTLRHomeGraphServiceQuery_DevicesQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRHomeGraphService_QueryResponse class]; + query.loggingName = @"homegraph.devices.query"; + return query; +} + +@end + +@implementation GTLRHomeGraphServiceQuery_DevicesReportStateAndNotification + ++ (instancetype)queryWithObject:(GTLRHomeGraphService_ReportStateAndNotificationRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"v1/devices:reportStateAndNotification"; + GTLRHomeGraphServiceQuery_DevicesReportStateAndNotification *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRHomeGraphService_ReportStateAndNotificationResponse class]; + query.loggingName = @"homegraph.devices.reportStateAndNotification"; + return query; +} + +@end + +@implementation GTLRHomeGraphServiceQuery_DevicesRequestSync + ++ (instancetype)queryWithObject:(GTLRHomeGraphService_RequestSyncDevicesRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"v1/devices:requestSync"; + GTLRHomeGraphServiceQuery_DevicesRequestSync *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRHomeGraphService_RequestSyncDevicesResponse class]; + query.loggingName = @"homegraph.devices.requestSync"; + return query; +} + +@end + +@implementation GTLRHomeGraphServiceQuery_DevicesSync + ++ (instancetype)queryWithObject:(GTLRHomeGraphService_SyncRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"v1/devices:sync"; + GTLRHomeGraphServiceQuery_DevicesSync *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRHomeGraphService_SyncResponse class]; + query.loggingName = @"homegraph.devices.sync"; + return query; +} + +@end diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceService.h b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceService.h new file mode 100644 index 000000000..5e36ed03a --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceService.h @@ -0,0 +1,58 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#if GTLR_BUILT_AS_FRAMEWORK + #import "GTLR/GTLRService.h" +#else + #import "GTLRService.h" +#endif + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +/** + * Service for executing HomeGraph API queries. + */ +@interface GTLRHomeGraphServiceService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRHomeGraphServiceQuery.h. The query can the be sent with GTLRService's +// execute methods, +// +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// completionHandler:(void (^)(GTLRServiceTicket *ticket, +// id object, NSError *error))handler; +// or +// - (GTLRServiceTicket *)executeQuery:(GTLRQuery *)query +// delegate:(id)delegate +// didFinishSelector:(SEL)finishedSelector; +// +// where finishedSelector has a signature of: +// +// - (void)serviceTicket:(GTLRServiceTicket *)ticket +// finishedWithObject:(id)object +// error:(NSError *)error; +// +// The object passed to the completion handler or delegate method +// is a subclass of GTLRObject, determined by the query method executed. + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceService.m b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceService.m new file mode 100644 index 000000000..6047ed9e8 --- /dev/null +++ b/Source/GeneratedServices/HomeGraphService/GTLRHomeGraphServiceService.m @@ -0,0 +1,24 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// HomeGraph API (homegraph/v1) +// Documentation: +// https://developers.google.com/actions/smarthome/create-app#request-sync + +#import "GTLRHomeGraphService.h" + +@implementation GTLRHomeGraphServiceService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://homegraph.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Source/GeneratedServices/Iam/GTLRIamObjects.h b/Source/GeneratedServices/Iam/GTLRIamObjects.h index 0a5b3939e..4de7531b9 100644 --- a/Source/GeneratedServices/Iam/GTLRIamObjects.h +++ b/Source/GeneratedServices/Iam/GTLRIamObjects.h @@ -620,8 +620,8 @@ GTLR_EXTERN NSString * const kGTLRIam_ServiceAccountKey_PrivateKeyType_TypeUnspe @property(nonatomic, copy, nullable) NSString *action; /** - * Unimplemented. The condition that is associated with this binding. - * This field is logged only for Cloud Audit Logging. + * The condition that is associated with this binding. This field is logged + * only for Cloud Audit Logging. */ @property(nonatomic, strong, nullable) GTLRIam_Expr *condition; @@ -1796,6 +1796,25 @@ GTLR_EXTERN NSString * const kGTLRIam_ServiceAccountKey_PrivateKeyType_TypeUnspe @end + +/** + * The service account key upload request. + */ +@interface GTLRIam_UploadServiceAccountKeyRequest : GTLRObject + +/** + * A field that allows clients to upload their own public key. If set, + * use this public key data to create a service account key for given + * service account. + * Please note, the expected format for this field is X509_PEM. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *publicKeyData; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Source/GeneratedServices/Iam/GTLRIamObjects.m b/Source/GeneratedServices/Iam/GTLRIamObjects.m index 8d6c6a2b7..355cabccc 100644 --- a/Source/GeneratedServices/Iam/GTLRIamObjects.m +++ b/Source/GeneratedServices/Iam/GTLRIamObjects.m @@ -723,3 +723,13 @@ @implementation GTLRIam_UndeleteServiceAccountRequest @implementation GTLRIam_UndeleteServiceAccountResponse @dynamic restoredAccount; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRIam_UploadServiceAccountKeyRequest +// + +@implementation GTLRIam_UploadServiceAccountKeyRequest +@dynamic publicKeyData; +@end diff --git a/Source/GeneratedServices/Iam/GTLRIamQuery.h b/Source/GeneratedServices/Iam/GTLRIamQuery.h index e2d75bf94..691b7041d 100644 --- a/Source/GeneratedServices/Iam/GTLRIamQuery.h +++ b/Source/GeneratedServices/Iam/GTLRIamQuery.h @@ -38,6 +38,7 @@ @class GTLRIam_TestIamPermissionsRequest; @class GTLRIam_UndeleteRoleRequest; @class GTLRIam_UndeleteServiceAccountRequest; +@class GTLRIam_UploadServiceAccountKeyRequest; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -1653,6 +1654,54 @@ GTLR_EXTERN NSString * const kGTLRIamViewFull; @end +/** + * Upload public key for a given service account. + * This rpc will create a + * ServiceAccountKey that has the + * provided public key and returns it. + * + * Method: iam.projects.serviceAccounts.keys.upload + * + * Authorization scope(s): + * @c kGTLRAuthScopeIamCloudPlatform + */ +@interface GTLRIamQuery_ProjectsServiceAccountsKeysUpload : GTLRIamQuery +// Previous library name was +// +[GTLQueryIam queryForProjectsServiceAccountsKeysUploadWithObject:name:] + +/** + * The resource name of the service account in the following format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRIam_ServiceAccountKey. + * + * Upload public key for a given service account. + * This rpc will create a + * ServiceAccountKey that has the + * provided public key and returns it. + * + * @param object The @c GTLRIam_UploadServiceAccountKeyRequest to include in + * the query. + * @param name The resource name of the service account in the following + * format: + * `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. + * Using `-` as a wildcard for the `PROJECT_ID` will infer the project from + * the account. The `ACCOUNT` value can be the `email` address or the + * `unique_id` of the service account. + * + * @return GTLRIamQuery_ProjectsServiceAccountsKeysUpload + */ ++ (instancetype)queryWithObject:(GTLRIam_UploadServiceAccountKeyRequest *)object + name:(NSString *)name; + +@end + /** * Lists ServiceAccounts for a project. * diff --git a/Source/GeneratedServices/Iam/GTLRIamQuery.m b/Source/GeneratedServices/Iam/GTLRIamQuery.m index c9b523c26..d1f042ea6 100644 --- a/Source/GeneratedServices/Iam/GTLRIamQuery.m +++ b/Source/GeneratedServices/Iam/GTLRIamQuery.m @@ -598,6 +598,31 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRIamQuery_ProjectsServiceAccountsKeysUpload + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRIam_UploadServiceAccountKeyRequest *)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}/keys:upload"; + GTLRIamQuery_ProjectsServiceAccountsKeysUpload *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRIam_ServiceAccountKey class]; + query.loggingName = @"iam.projects.serviceAccounts.keys.upload"; + return query; +} + +@end + @implementation GTLRIamQuery_ProjectsServiceAccountsList @dynamic name, pageSize, pageToken; diff --git a/Source/GeneratedServices/Libraryagent/GTLRLibraryagentQuery.h b/Source/GeneratedServices/Libraryagent/GTLRLibraryagentQuery.h index f4beaf3db..f1dcfc0c7 100644 --- a/Source/GeneratedServices/Libraryagent/GTLRLibraryagentQuery.h +++ b/Source/GeneratedServices/Libraryagent/GTLRLibraryagentQuery.h @@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN // Previous library name was // +[GTLQueryLibraryagent queryForShelvesBooksBorrowWithname:] -/** The name of the book to borrow. */ +/** Required. The name of the book to borrow. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN * Returns quota exceeded error if the amount of books borrowed exceeds * allocation quota in any dimensions. * - * @param name The name of the book to borrow. + * @param name Required. The name of the book to borrow. * * @return GTLRLibraryagentQuery_ShelvesBooksBorrow */ @@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN // Previous library name was // +[GTLQueryLibraryagent queryForShelvesBooksGetWithname:] -/** The name of the book to retrieve. */ +/** Required. The name of the book to retrieve. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -89,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN * * Gets a book. Returns NOT_FOUND if the book does not exist. * - * @param name The name of the book to retrieve. + * @param name Required. The name of the book to retrieve. * * @return GTLRLibraryagentQuery_ShelvesBooksGet */ @@ -125,7 +125,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** The name of the shelf whose books we'd like to list. */ +/** Required. The name of the shelf whose books we'd like to list. */ @property(nonatomic, copy, nullable) NSString *parent; /** @@ -135,7 +135,7 @@ NS_ASSUME_NONNULL_BEGIN * created books will not necessarily be added to the end of this list. * Returns NOT_FOUND if the shelf does not exist. * - * @param parent The name of the shelf whose books we'd like to list. + * @param parent Required. The name of the shelf whose books we'd like to list. * * @return GTLRLibraryagentQuery_ShelvesBooksList * @@ -162,7 +162,7 @@ NS_ASSUME_NONNULL_BEGIN // Previous library name was // +[GTLQueryLibraryagent queryForShelvesBooksReturnWithname:] -/** The name of the book to return. */ +/** Required. The name of the book to return. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -173,7 +173,7 @@ NS_ASSUME_NONNULL_BEGIN * Returns error if the book does not belong to the library * or the users didn't borrow before. * - * @param name The name of the book to return. + * @param name Required. The name of the book to return. * * @return GTLRLibraryagentQuery_ShelvesBooksReturn */ @@ -193,7 +193,7 @@ NS_ASSUME_NONNULL_BEGIN // Previous library name was // +[GTLQueryLibraryagent queryForShelvesGetWithname:] -/** The name of the shelf to retrieve. */ +/** Required. The name of the shelf to retrieve. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -201,7 +201,7 @@ NS_ASSUME_NONNULL_BEGIN * * Gets a shelf. Returns NOT_FOUND if the shelf does not exist. * - * @param name The name of the shelf to retrieve. + * @param name Required. The name of the shelf to retrieve. * * @return GTLRLibraryagentQuery_ShelvesGet */ diff --git a/Source/GeneratedServices/Logging/GTLRLoggingObjects.h b/Source/GeneratedServices/Logging/GTLRLoggingObjects.h index 27d52316d..fa43b2e14 100644 --- a/Source/GeneratedServices/Logging/GTLRLoggingObjects.h +++ b/Source/GeneratedServices/Logging/GTLRLoggingObjects.h @@ -928,8 +928,8 @@ GTLR_EXTERN NSString * const kGTLRLogging_MonitoredResourceDescriptor_LaunchStag @interface GTLRLogging_ListLogsResponse : GTLRObject /** - * A list of log names. For example, "projects/my-project/logs/syslog" or - * "organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity". + * A list of log names. For example, "projects/my-project/syslog" or + * "organizations/123/cloudresourcemanager.googleapis.com%2Factivity". */ @property(nonatomic, strong, nullable) NSArray *logNames; diff --git a/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.h b/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.h index f161ae33e..7b18cd033 100644 --- a/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.h +++ b/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.h @@ -81,6 +81,7 @@ @class GTLRMonitoring_TypedValue; @class GTLRMonitoring_UptimeCheckConfig; @class GTLRMonitoring_UptimeCheckIp; +@class GTLRMonitoring_UptimeCheckResult; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -3964,8 +3965,8 @@ GTLR_EXTERN NSString * const kGTLRMonitoring_UptimeCheckIp_Region_Usa; * is specified, the start time defaults to the value of the end time, and the * interval represents a single point in time. Such an interval is valid only * for GAUGE metrics, which are point-in-time measurements. - * For DELTA and CUMULATIVE metrics, the start time must be later than the end - * time. + * For DELTA and CUMULATIVE metrics, the start time must be earlier than the + * end time. * In all cases, the start time of the next interval must be at least a * microsecond after the end time of the previous interval. Because the * interval is closed, if the start time of a new interval is the same as the @@ -4298,6 +4299,65 @@ GTLR_EXTERN NSString * const kGTLRMonitoring_UptimeCheckIp_Region_Usa; @end +/** + * The result of a single uptime check execution. For group checks, this + * corresponds to one member of the group. + */ +@interface GTLRMonitoring_UptimeCheckResult : GTLRObject + +/** + * True if the resource passed the check. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *checkPassed; + +/** + * True if the response had content that did not match the check. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *contentMismatch; + +/** + * For HTTP checks, error, if any, that prevented contact with the resource + * (ex: DNS_NAME_UNKNOWN, INVALID_URL). + */ +@property(nonatomic, copy, nullable) NSString *errorCode; + +/** + * For HTTP checks, HTTP response code returned by the resource. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *httpStatus; + +/** + * The monitored resource (https://cloud.google.com/monitoring/api/resources) + * for the Uptime check result. + */ +@property(nonatomic, strong, nullable) GTLRMonitoring_MonitoredResource *monitoredResource; + +/** The request latency when executing the uptime check. */ +@property(nonatomic, strong, nullable) GTLRDuration *requestLatency; + +@end + + +/** + * The protocol for the ValidateUptimeCheckConfigResponse response. + */ +@interface GTLRMonitoring_ValidateUptimeCheckConfigResponse : GTLRObject + +/** + * The results of the uptime check execution (includes one result per group + * member, up to a maximum of 3 randomly selected group members). + */ +@property(nonatomic, strong, nullable) NSArray *uptimeCheckResults; + +@end + + /** * The VerifyNotificationChannel request. */ diff --git a/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.m b/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.m index 569a54aa1..bd2400dee 100644 --- a/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.m +++ b/Source/GeneratedServices/Monitoring/GTLRMonitoringObjects.m @@ -1361,6 +1361,35 @@ @implementation GTLRMonitoring_UptimeCheckIp @end +// ---------------------------------------------------------------------------- +// +// GTLRMonitoring_UptimeCheckResult +// + +@implementation GTLRMonitoring_UptimeCheckResult +@dynamic checkPassed, contentMismatch, errorCode, httpStatus, monitoredResource, + requestLatency; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMonitoring_ValidateUptimeCheckConfigResponse +// + +@implementation GTLRMonitoring_ValidateUptimeCheckConfigResponse +@dynamic uptimeCheckResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"uptimeCheckResults" : [GTLRMonitoring_UptimeCheckResult class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRMonitoring_VerifyNotificationChannelRequest diff --git a/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.h b/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.h index 3398f798e..9ebdaa13b 100644 --- a/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.h +++ b/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.h @@ -1952,6 +1952,42 @@ GTLR_EXTERN NSString * const kGTLRMonitoringViewHeaders; @end +/** + * Validates a new uptime check configuration, and also executes the Uptime + * check. The results of the Uptime check are returned, but not stored. + * + * Method: monitoring.projects.validateUptimeCheckConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeMonitoring + * @c kGTLRAuthScopeMonitoringCloudPlatform + * @c kGTLRAuthScopeMonitoringRead + */ +@interface GTLRMonitoringQuery_ProjectsValidateUptimeCheckConfig : GTLRMonitoringQuery +// Previous library name was +// +[GTLQueryMonitoring queryForProjectsValidateUptimeCheckConfigWithObject:parent:] + +/** The project for the uptime check. The format is projects/[PROJECT_ID]. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRMonitoring_ValidateUptimeCheckConfigResponse. + * + * Validates a new uptime check configuration, and also executes the Uptime + * check. The results of the Uptime check are returned, but not stored. + * + * @param object The @c GTLRMonitoring_UptimeCheckConfig to include in the + * query. + * @param parent The project for the uptime check. The format is + * projects/[PROJECT_ID]. + * + * @return GTLRMonitoringQuery_ProjectsValidateUptimeCheckConfig + */ ++ (instancetype)queryWithObject:(GTLRMonitoring_UptimeCheckConfig *)object + parent:(NSString *)parent; + +@end + /** * Returns the list of IPs that checkers run from * diff --git a/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.m b/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.m index 92dc8c1e9..17dace452 100644 --- a/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.m +++ b/Source/GeneratedServices/Monitoring/GTLRMonitoringQuery.m @@ -851,6 +851,31 @@ + (instancetype)queryWithObject:(GTLRMonitoring_UptimeCheckConfig *)object @end +@implementation GTLRMonitoringQuery_ProjectsValidateUptimeCheckConfig + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRMonitoring_UptimeCheckConfig *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}:validateUptimeCheckConfig"; + GTLRMonitoringQuery_ProjectsValidateUptimeCheckConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRMonitoring_ValidateUptimeCheckConfigResponse class]; + query.loggingName = @"monitoring.projects.validateUptimeCheckConfig"; + return query; +} + +@end + @implementation GTLRMonitoringQuery_UptimeCheckIpsList @dynamic pageSize, pageToken; diff --git a/Source/GeneratedServices/PeopleService/GTLRPeopleServiceQuery.h b/Source/GeneratedServices/PeopleService/GTLRPeopleServiceQuery.h index 94ec9bad5..b0faf8331 100644 --- a/Source/GeneratedServices/PeopleService/GTLRPeopleServiceQuery.h +++ b/Source/GeneratedServices/PeopleService/GTLRPeopleServiceQuery.h @@ -767,10 +767,11 @@ GTLR_EXTERN NSString * const kGTLRPeopleServiceSortOrderLastNameAscending; * The request throws a 400 error if `person.metadata.sources` is not * specified for the contact to be updated. *
- * The request throws a 412 error if `person.metadata.sources.etag` is - * different than the contact's etag, which indicates the contact has changed - * since its data was read. Clients should get the latest person and re-apply - * their updates to the latest person. + * The request throws a 400 error with an error with reason + * `"failedPrecondition"` if `person.metadata.sources.etag` is different than + * the contact's etag, which indicates the contact has changed since its data + * was read. Clients should get the latest person and re-apply their updates + * to the latest person. * * Method: people.people.updateContact * @@ -827,10 +828,11 @@ GTLR_EXTERN NSString * const kGTLRPeopleServiceSortOrderLastNameAscending; * The request throws a 400 error if `person.metadata.sources` is not * specified for the contact to be updated. *
- * The request throws a 412 error if `person.metadata.sources.etag` is - * different than the contact's etag, which indicates the contact has changed - * since its data was read. Clients should get the latest person and re-apply - * their updates to the latest person. + * The request throws a 400 error with an error with reason + * `"failedPrecondition"` if `person.metadata.sources.etag` is different than + * the contact's etag, which indicates the contact has changed since its data + * was read. Clients should get the latest person and re-apply their updates + * to the latest person. * * @param object The @c GTLRPeopleService_Person to include in the query. * @param resourceName The resource name for the person, assigned by the diff --git a/Source/GeneratedServices/Pubsub/GTLRPubsubObjects.h b/Source/GeneratedServices/Pubsub/GTLRPubsubObjects.h index fc04e620c..32ddaf6a4 100644 --- a/Source/GeneratedServices/Pubsub/GTLRPubsubObjects.h +++ b/Source/GeneratedServices/Pubsub/GTLRPubsubObjects.h @@ -579,8 +579,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRPubsub_PullRequest : GTLRObject /** - * The maximum number of messages returned for this request. The Pub/Sub - * system may return fewer than the number specified. + * The maximum number of messages to return for this request. Must be a + * positive integer. The Pub/Sub system may return fewer than the number + * specified. * * Uses NSNumber of intValue. */ diff --git a/Source/GeneratedServices/Pubsub/GTLRPubsubQuery.h b/Source/GeneratedServices/Pubsub/GTLRPubsubQuery.h index a07bbd930..ebebfeee4 100644 --- a/Source/GeneratedServices/Pubsub/GTLRPubsubQuery.h +++ b/Source/GeneratedServices/Pubsub/GTLRPubsubQuery.h @@ -241,7 +241,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -655,7 +655,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ @@ -1172,7 +1172,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. The policy format version to be returned. - * Acceptable values are 0 and 1. + * Acceptable values are 0, 1, and 3. * If the value is 0, or the field is omitted, policy format version 1 will be * returned. */ diff --git a/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.h b/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.h index f24ade13a..9486f6110 100644 --- a/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.h +++ b/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.h @@ -160,6 +160,18 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Disk encryption configuration specific to a backup. Applies only to Second + * Generation instances. + */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_DiskEncryptionConfiguration *diskEncryptionConfiguration; + +/** + * Disk encryption status specific to a backup. Applies only to Second + * Generation instances. + */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_DiskEncryptionStatus *diskEncryptionStatus; + /** * The time the backup operation completed in UTC timezone in RFC 3339 format, * for example 2012-11-15T16:19:00.094Z. diff --git a/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index 96dac5e7b..b406f459d 100644 --- a/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -48,9 +48,9 @@ @implementation GTLRSQLAdmin_BackupConfiguration // @implementation GTLRSQLAdmin_BackupRun -@dynamic descriptionProperty, endTime, enqueuedTime, error, identifier, - instance, kind, location, selfLink, startTime, status, type, - windowStartTime; +@dynamic descriptionProperty, diskEncryptionConfiguration, diskEncryptionStatus, + endTime, enqueuedTime, error, identifier, instance, kind, location, + selfLink, startTime, status, type, windowStartTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.h b/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.h index 1aeee5478..1ddc0c3f9 100644 --- a/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.h +++ b/Source/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.h @@ -1739,7 +1739,10 @@ NS_ASSUME_NONNULL_BEGIN // Previous library name was // +[GTLQuerySQLAdmin queryForUsersUpdateWithObject:project:instance:name:] -/** Host of the user in the instance. */ +/** + * Host of the user in the instance. For a MySQL instance, it's required; For a + * PostgreSQL instance, it's optional. + */ @property(nonatomic, copy, nullable) NSString *host; /** Database instance ID. This does not include the project ID. */ diff --git a/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.h b/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.h index 40fe2acb0..7841bee69 100644 --- a/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.h +++ b/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.h @@ -466,15 +466,6 @@ GTLR_EXTERN NSString * const kGTLRSecurityCommandCenter_SetFindingStateRequest_S */ @property(nonatomic, strong, nullable) NSArray *exemptedMembers; -/** - * Specifies whether principals can be exempted for the same LogType in - * lower-level resource policies. If true, any lower-level exemptions will - * be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreChildExemptions; - /** * The log type that this config enables. * diff --git a/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 3292a5c8e..b3c8f2d98 100644 --- a/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Source/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -127,7 +127,7 @@ @implementation GTLRSecurityCommandCenter_AuditConfig // @implementation GTLRSecurityCommandCenter_AuditLogConfig -@dynamic exemptedMembers, ignoreChildExemptions, logType; +@dynamic exemptedMembers, logType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h b/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h index 72c0f3e50..328521d34 100644 --- a/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h +++ b/Source/GeneratedServices/ServiceControl/GTLRServiceControlObjects.h @@ -626,7 +626,8 @@ GTLR_EXTERN NSString * const kGTLRServiceControl_QuotaProperties_QuotaMode_Relea * A list of label keys that were unused by the server in processing the * request. Thus, for similar requests repeated in a certain future time * window, the caller can choose to ignore these labels in the requests - * to achieve better client-side cache hits and quota aggregation. + * to achieve better client-side cache hits and quota aggregation for rate + * quota. This field is not populated for allocation quota checks. */ @property(nonatomic, strong, nullable) NSArray *unusedArguments; diff --git a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h index c4754419b..3b54a3324 100644 --- a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h +++ b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.h @@ -1041,15 +1041,6 @@ GTLR_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProto3; */ @property(nonatomic, strong, nullable) NSArray *exemptedMembers; -/** - * Specifies whether principals can be exempted for the same LogType in - * lower-level resource policies. If true, any lower-level exemptions will - * be ignored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreChildExemptions; - /** * The log type that this config enables. * diff --git a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m index 81915cdb2..fbb3ed12c 100644 --- a/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m +++ b/Source/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m @@ -207,7 +207,7 @@ @implementation GTLRServiceManagement_AuditConfig // @implementation GTLRServiceManagement_AuditLogConfig -@dynamic exemptedMembers, ignoreChildExemptions, logType; +@dynamic exemptedMembers, logType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Source/GeneratedServices/Sheets/GTLRSheetsObjects.h b/Source/GeneratedServices/Sheets/GTLRSheetsObjects.h index f20cedd54..3abfc6040 100644 --- a/Source/GeneratedServices/Sheets/GTLRSheetsObjects.h +++ b/Source/GeneratedServices/Sheets/GTLRSheetsObjects.h @@ -5390,9 +5390,11 @@ GTLR_EXTERN NSString * const kGTLRSheets_WaterfallChartSpec_StackedType_Waterfal /** - * Removes rows within this range containing duplicate values in the specified - * columns. Rows with identical values but different letter cases, formatting, - * or formulas are considered to be duplicates. + * Removes rows within this range that contain values in the specified columns + * that are duplicates of values in any previous row. Rows with identical + * values + * but different letter cases, formatting, or formulas are considered to be + * duplicates. * This request also removes duplicate rows hidden from view (for example, due * to a filter). When removing duplicates, the first instance of each duplicate * row scanning from the top downwards is kept in the resulting range. Content @@ -8672,11 +8674,10 @@ GTLR_EXTERN NSString * const kGTLRSheets_WaterfallChartSpec_StackedType_Waterfal /** * Trims the whitespace (such as spaces, tabs, or new lines) in every cell in * the specified range. This request removes all whitespace from the start and - * end of each cell's text, and reduces any sub-sequence of remaining - * whitespace + * end of each cell's text, and reduces any subsequence of remaining whitespace * characters to a single space. If the resulting trimmed text starts with a * '+' - * or '=' character, the text remains as a string value and is not interpreted + * or '=' character, the text remains as a string value and isn't interpreted * as a formula. */ @interface GTLRSheets_TrimWhitespaceRequest : GTLRObject diff --git a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.h b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.h index 59d00fede..678c13992 100644 --- a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.h +++ b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.h @@ -141,6 +141,15 @@ @class GTLRShoppingContent_RegionalInventory; @class GTLRShoppingContent_RegionalinventoryCustomBatchRequestEntry; @class GTLRShoppingContent_RegionalinventoryCustomBatchResponseEntry; +@class GTLRShoppingContent_ReturnAddress; +@class GTLRShoppingContent_ReturnAddressAddress; +@class GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry; +@class GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry; +@class GTLRShoppingContent_ReturnPolicy; +@class GTLRShoppingContent_ReturnpolicyCustomBatchRequestEntry; +@class GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry; +@class GTLRShoppingContent_ReturnPolicyPolicy; +@class GTLRShoppingContent_ReturnPolicySeasonalOverride; @class GTLRShoppingContent_ReturnShipment; @class GTLRShoppingContent_Row; @class GTLRShoppingContent_Service; @@ -2650,7 +2659,7 @@ NS_ASSUME_NONNULL_BEGIN /** The details of the customer who placed the order. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_OrderCustomer *customer; -/** Delivery details for shipments. */ +/** Delivery details for shipments of type delivery. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_OrderDeliveryDetails *deliveryDetails; /** @@ -3099,6 +3108,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) NSNumber *quantityShipped; +/** + * Number of items undeliverable. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *quantityUndeliverable; + /** Details of the return policy for the line item. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_OrderLineItemReturnInfo *returnInfo; @@ -3937,7 +3953,7 @@ NS_ASSUME_NONNULL_BEGIN * - "gls" * - "dpd" * - "bpost" - * - "colis priv�" + * - "colis prive" * - "boxtal" * - "geodis" */ @@ -5999,6 +6015,385 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Return address resource. + */ +@interface GTLRShoppingContent_ReturnAddress : GTLRObject + +/** The address. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnAddressAddress *address; + +/** The country of sale where the return address is applicable. */ +@property(nonatomic, copy, nullable) NSString *country; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnAddress". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * The user-defined label of the return address. For the default address, use + * the label "default". + */ +@property(nonatomic, copy, nullable) NSString *label; + +/** The merchant's contact phone number regarding the return. */ +@property(nonatomic, copy, nullable) NSString *phoneNumber; + +/** Return address ID generated by Google. */ +@property(nonatomic, copy, nullable) NSString *returnAddressId; + +@end + + +/** + * GTLRShoppingContent_ReturnAddressAddress + */ +@interface GTLRShoppingContent_ReturnAddressAddress : GTLRObject + +/** CLDR country code (e.g. "US"). */ +@property(nonatomic, copy, nullable) NSString *country; + +/** + * City, town or commune. May also include dependent localities or + * sublocalities (e.g. neighborhoods or suburbs). + */ +@property(nonatomic, copy, nullable) NSString *locality; + +/** Postal code or ZIP (e.g. "94043"). */ +@property(nonatomic, copy, nullable) NSString *postalCode; + +/** Name of the recipient to address returns to. */ +@property(nonatomic, copy, nullable) NSString *recipientName; + +/** + * Top-level administrative subdivision of the country. For example, a state + * like California ("CA") or a province like Quebec ("QC"). + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * Street-level part of the address. May be up to two lines, each line + * specified as an array element. + */ +@property(nonatomic, strong, nullable) NSArray *streetAddress; + +@end + + +/** + * GTLRShoppingContent_ReturnaddressCustomBatchRequest + */ +@interface GTLRShoppingContent_ReturnaddressCustomBatchRequest : GTLRObject + +/** The request entries to be processed in the batch. */ +@property(nonatomic, strong, nullable) NSArray *entries; + +@end + + +/** + * GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry + */ +@interface GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry : GTLRObject + +/** + * An entry ID, unique within the batch request. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *batchId; + +/** + * The Merchant Center account ID. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *merchantId; + +@property(nonatomic, copy, nullable) NSString *method; + +/** The return address to submit. Set this only if the method is insert. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnAddress *returnAddress; + +/** The return address ID. Set this only if the method is delete or get. */ +@property(nonatomic, copy, nullable) NSString *returnAddressId; + +@end + + +/** + * GTLRShoppingContent_ReturnaddressCustomBatchResponse + */ +@interface GTLRShoppingContent_ReturnaddressCustomBatchResponse : GTLRObject + +/** The result of the execution of the batch requests. */ +@property(nonatomic, strong, nullable) NSArray *entries; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnaddressCustomBatchResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +@end + + +/** + * GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry + */ +@interface GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry : GTLRObject + +/** + * The ID of the request entry to which this entry responds. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *batchId; + +/** A list of errors defined if, and only if, the request failed. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_Errors *errors; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnaddressCustomBatchResponseEntry". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The retrieved return address. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnAddress *returnAddress; + +@end + + +/** + * GTLRShoppingContent_ReturnaddressListResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "resources" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRShoppingContent_ReturnaddressListResponse : GTLRCollectionObject + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnaddressListResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The token for the retrieval of the next page of addresses. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * resources + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * Return policy resource. + */ +@interface GTLRShoppingContent_ReturnPolicy : GTLRObject + +/** The country of sale where the return policy is applicable. */ +@property(nonatomic, copy, nullable) NSString *country; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnPolicy". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * The user-defined label of the return policy. For the default policy, use the + * label "default". + */ +@property(nonatomic, copy, nullable) NSString *label; + +/** The name of the policy as shown in Merchant Center. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Return reasons that will incur return fees. */ +@property(nonatomic, strong, nullable) NSArray *nonFreeReturnReasons; + +/** The policy. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnPolicyPolicy *policy; + +/** Return policy ID generated by Google. */ +@property(nonatomic, copy, nullable) NSString *returnPolicyId; + +/** An optional list of seasonal overrides. */ +@property(nonatomic, strong, nullable) NSArray *seasonalOverrides; + +@end + + +/** + * GTLRShoppingContent_ReturnpolicyCustomBatchRequest + */ +@interface GTLRShoppingContent_ReturnpolicyCustomBatchRequest : GTLRObject + +/** The request entries to be processed in the batch. */ +@property(nonatomic, strong, nullable) NSArray *entries; + +@end + + +/** + * GTLRShoppingContent_ReturnpolicyCustomBatchRequestEntry + */ +@interface GTLRShoppingContent_ReturnpolicyCustomBatchRequestEntry : GTLRObject + +/** + * An entry ID, unique within the batch request. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *batchId; + +/** + * The Merchant Center account ID. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *merchantId; + +@property(nonatomic, copy, nullable) NSString *method; + +/** The return policy to submit. Set this only if the method is insert. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnPolicy *returnPolicy; + +/** The return policy ID. Set this only if the method is delete or get. */ +@property(nonatomic, copy, nullable) NSString *returnPolicyId; + +@end + + +/** + * GTLRShoppingContent_ReturnpolicyCustomBatchResponse + */ +@interface GTLRShoppingContent_ReturnpolicyCustomBatchResponse : GTLRObject + +/** The result of the execution of the batch requests. */ +@property(nonatomic, strong, nullable) NSArray *entries; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnpolicyCustomBatchResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +@end + + +/** + * GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry + */ +@interface GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry : GTLRObject + +/** + * The ID of the request entry to which this entry responds. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *batchId; + +/** A list of errors defined if, and only if, the request failed. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_Errors *errors; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnpolicyCustomBatchResponseEntry". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The retrieved return policy. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnPolicy *returnPolicy; + +@end + + +/** + * GTLRShoppingContent_ReturnpolicyListResponse + */ +@interface GTLRShoppingContent_ReturnpolicyListResponse : GTLRObject + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "content#returnpolicyListResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +@property(nonatomic, strong, nullable) NSArray *resources; + +@end + + +/** + * GTLRShoppingContent_ReturnPolicyPolicy + */ +@interface GTLRShoppingContent_ReturnPolicyPolicy : GTLRObject + +/** + * Last day for returning the items. In ISO 8601 format. When specifying the + * return window like this, set the policy type to "lastReturnDate". Use this + * for seasonal overrides only. + */ +@property(nonatomic, copy, nullable) NSString *lastReturnDate; + +/** + * The number of days items can be returned after delivery, where one day is + * defined to be 24 hours after the delivery timestamp. When specifying the + * return window like this, set the policy type to "numberOfDaysAfterDelivery". + * Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default + * policy. Additional policies further allow 14, 15, 21 and 28 days, but note + * that for most items a minimum of 30 days is required for returns. Exceptions + * may be made for electronics. A policy of less than 30 days can only be + * applied to those items. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numberOfDays; + +/** + * Policy type. Use "lastReturnDate" for seasonal overrides only. Note that for + * most items a minimum of 30 days is required for returns. Exceptions may be + * made for electronics or non-returnable items such as food, perishables, and + * living things. A policy of less than 30 days can only be applied to those + * items. + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * GTLRShoppingContent_ReturnPolicySeasonalOverride + */ +@interface GTLRShoppingContent_ReturnPolicySeasonalOverride : GTLRObject + +/** Last day on which the override applies. In ISO 8601 format. */ +@property(nonatomic, copy, nullable) NSString *endDate; + +/** The name of the seasonal override as shown in Merchant Center. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The policy which is in effect during that time. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_ReturnPolicyPolicy *policy; + +/** First day on which the override applies. In ISO 8601 format. */ +@property(nonatomic, copy, nullable) NSString *startDate; + +@end + + /** * GTLRShoppingContent_ReturnShipment */ diff --git a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index f29c8e9a1..2f4688a90 100644 --- a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -1561,8 +1561,8 @@ @implementation GTLRShoppingContent_OrderinvoicesCustomBatchRequestEntryCreateRe @implementation GTLRShoppingContent_OrderLineItem @dynamic adjustments, annotations, cancellations, identifier, price, product, quantityCanceled, quantityDelivered, quantityOrdered, quantityPending, - quantityReturned, quantityShipped, returnInfo, returns, - shippingDetails, tax; + quantityReturned, quantityShipped, quantityUndeliverable, returnInfo, + returns, shippingDetails, tax; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2893,6 +2893,226 @@ @implementation GTLRShoppingContent_RegionalinventoryCustomBatchResponseEntry @end +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnAddress +// + +@implementation GTLRShoppingContent_ReturnAddress +@dynamic address, country, kind, label, phoneNumber, returnAddressId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnAddressAddress +// + +@implementation GTLRShoppingContent_ReturnAddressAddress +@dynamic country, locality, postalCode, recipientName, region, streetAddress; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"streetAddress" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnaddressCustomBatchRequest +// + +@implementation GTLRShoppingContent_ReturnaddressCustomBatchRequest +@dynamic entries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entries" : [GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry +// + +@implementation GTLRShoppingContent_ReturnaddressCustomBatchRequestEntry +@dynamic batchId, merchantId, method, returnAddress, returnAddressId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnaddressCustomBatchResponse +// + +@implementation GTLRShoppingContent_ReturnaddressCustomBatchResponse +@dynamic entries, kind; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entries" : [GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry +// + +@implementation GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry +@dynamic batchId, errors, kind, returnAddress; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnaddressListResponse +// + +@implementation GTLRShoppingContent_ReturnaddressListResponse +@dynamic kind, nextPageToken, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRShoppingContent_ReturnAddress class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"resources"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnPolicy +// + +@implementation GTLRShoppingContent_ReturnPolicy +@dynamic country, kind, label, name, nonFreeReturnReasons, policy, + returnPolicyId, seasonalOverrides; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"nonFreeReturnReasons" : [NSString class], + @"seasonalOverrides" : [GTLRShoppingContent_ReturnPolicySeasonalOverride class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnpolicyCustomBatchRequest +// + +@implementation GTLRShoppingContent_ReturnpolicyCustomBatchRequest +@dynamic entries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entries" : [GTLRShoppingContent_ReturnpolicyCustomBatchRequestEntry class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnpolicyCustomBatchRequestEntry +// + +@implementation GTLRShoppingContent_ReturnpolicyCustomBatchRequestEntry +@dynamic batchId, merchantId, method, returnPolicy, returnPolicyId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnpolicyCustomBatchResponse +// + +@implementation GTLRShoppingContent_ReturnpolicyCustomBatchResponse +@dynamic entries, kind; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"entries" : [GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry +// + +@implementation GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry +@dynamic batchId, errors, kind, returnPolicy; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnpolicyListResponse +// + +@implementation GTLRShoppingContent_ReturnpolicyListResponse +@dynamic kind, resources; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resources" : [GTLRShoppingContent_ReturnPolicy class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnPolicyPolicy +// + +@implementation GTLRShoppingContent_ReturnPolicyPolicy +@dynamic lastReturnDate, numberOfDays, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRShoppingContent_ReturnPolicySeasonalOverride +// + +@implementation GTLRShoppingContent_ReturnPolicySeasonalOverride +@dynamic endDate, name, policy, startDate; +@end + + // ---------------------------------------------------------------------------- // // GTLRShoppingContent_ReturnShipment diff --git a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.h b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.h index 5f4eab854..10e1c726e 100644 --- a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.h +++ b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.h @@ -55,6 +55,10 @@ @class GTLRShoppingContent_ProductstatusesCustomBatchRequest; @class GTLRShoppingContent_RegionalInventory; @class GTLRShoppingContent_RegionalinventoryCustomBatchRequest; +@class GTLRShoppingContent_ReturnAddress; +@class GTLRShoppingContent_ReturnaddressCustomBatchRequest; +@class GTLRShoppingContent_ReturnPolicy; +@class GTLRShoppingContent_ReturnpolicyCustomBatchRequest; @class GTLRShoppingContent_ShippingSettings; @class GTLRShoppingContent_ShippingsettingsCustomBatchRequest; @@ -3349,6 +3353,333 @@ GTLR_EXTERN NSString * const kGTLRShoppingContentTemplateNameTemplate2; @end +/** + * Batches multiple return address related calls in a single request. + * + * Method: content.returnaddress.custombatch + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnaddressCustombatch : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnaddressCustombatchWithObject:] + +/** + * Fetches a @c GTLRShoppingContent_ReturnaddressCustomBatchResponse. + * + * Batches multiple return address related calls in a single request. + * + * @param object The @c GTLRShoppingContent_ReturnaddressCustomBatchRequest to + * include in the query. + * + * @return GTLRShoppingContentQuery_ReturnaddressCustombatch + */ ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnaddressCustomBatchRequest *)object; + +@end + +/** + * Deletes a return address for the given Merchant Center account. + * + * Method: content.returnaddress.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnaddressDelete : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnaddressDeleteWithmerchantId:returnAddressId:] + +/** + * The Merchant Center account from which to delete the given return address. + */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** Return address ID generated by Google. */ +@property(nonatomic, copy, nullable) NSString *returnAddressId; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes a return address for the given Merchant Center account. + * + * @param merchantId The Merchant Center account from which to delete the given + * return address. + * @param returnAddressId Return address ID generated by Google. + * + * @return GTLRShoppingContentQuery_ReturnaddressDelete + */ ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnAddressId:(NSString *)returnAddressId; + +@end + +/** + * Gets a return address of the Merchant Center account. + * + * Method: content.returnaddress.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnaddressGet : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnaddressGetWithmerchantId:returnAddressId:] + +/** The Merchant Center account to get a return address for. */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** Return address ID generated by Google. */ +@property(nonatomic, copy, nullable) NSString *returnAddressId; + +/** + * Fetches a @c GTLRShoppingContent_ReturnAddress. + * + * Gets a return address of the Merchant Center account. + * + * @param merchantId The Merchant Center account to get a return address for. + * @param returnAddressId Return address ID generated by Google. + * + * @return GTLRShoppingContentQuery_ReturnaddressGet + */ ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnAddressId:(NSString *)returnAddressId; + +@end + +/** + * Inserts a return address for the Merchant Center account. + * + * Method: content.returnaddress.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnaddressInsert : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnaddressInsertWithObject:merchantId:] + +/** The Merchant Center account to insert a return address for. */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** + * Fetches a @c GTLRShoppingContent_ReturnAddress. + * + * Inserts a return address for the Merchant Center account. + * + * @param object The @c GTLRShoppingContent_ReturnAddress to include in the + * query. + * @param merchantId The Merchant Center account to insert a return address + * for. + * + * @return GTLRShoppingContentQuery_ReturnaddressInsert + */ ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnAddress *)object + merchantId:(unsigned long long)merchantId; + +@end + +/** + * Lists the return addresses of the Merchant Center account. + * + * Method: content.returnaddress.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnaddressList : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnaddressListWithmerchantId:] + +/** + * List only return addresses applicable to the given country of sale. When + * omitted, all return addresses are listed. + */ +@property(nonatomic, copy, nullable) NSString *country; + +/** The maximum number of addresses in the response, used for paging. */ +@property(nonatomic, assign) NSUInteger maxResults; + +/** The Merchant Center account to list return addresses for. */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** The token returned by the previous request. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRShoppingContent_ReturnaddressListResponse. + * + * Lists the return addresses of the Merchant Center account. + * + * @param merchantId The Merchant Center account to list return addresses for. + * + * @return GTLRShoppingContentQuery_ReturnaddressList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId; + +@end + +/** + * Batches multiple return policy related calls in a single request. + * + * Method: content.returnpolicy.custombatch + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnpolicyCustombatch : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnpolicyCustombatchWithObject:] + +/** + * Fetches a @c GTLRShoppingContent_ReturnpolicyCustomBatchResponse. + * + * Batches multiple return policy related calls in a single request. + * + * @param object The @c GTLRShoppingContent_ReturnpolicyCustomBatchRequest to + * include in the query. + * + * @return GTLRShoppingContentQuery_ReturnpolicyCustombatch + */ ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnpolicyCustomBatchRequest *)object; + +@end + +/** + * Deletes a return policy for the given Merchant Center account. + * + * Method: content.returnpolicy.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnpolicyDelete : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnpolicyDeleteWithmerchantId:returnPolicyId:] + +/** + * The Merchant Center account from which to delete the given return policy. + */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** Return policy ID generated by Google. */ +@property(nonatomic, copy, nullable) NSString *returnPolicyId; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes a return policy for the given Merchant Center account. + * + * @param merchantId The Merchant Center account from which to delete the given + * return policy. + * @param returnPolicyId Return policy ID generated by Google. + * + * @return GTLRShoppingContentQuery_ReturnpolicyDelete + */ ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnPolicyId:(NSString *)returnPolicyId; + +@end + +/** + * Gets a return policy of the Merchant Center account. + * + * Method: content.returnpolicy.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnpolicyGet : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnpolicyGetWithmerchantId:returnPolicyId:] + +/** The Merchant Center account to get a return policy for. */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** Return policy ID generated by Google. */ +@property(nonatomic, copy, nullable) NSString *returnPolicyId; + +/** + * Fetches a @c GTLRShoppingContent_ReturnPolicy. + * + * Gets a return policy of the Merchant Center account. + * + * @param merchantId The Merchant Center account to get a return policy for. + * @param returnPolicyId Return policy ID generated by Google. + * + * @return GTLRShoppingContentQuery_ReturnpolicyGet + */ ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnPolicyId:(NSString *)returnPolicyId; + +@end + +/** + * Inserts a return policy for the Merchant Center account. + * + * Method: content.returnpolicy.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnpolicyInsert : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnpolicyInsertWithObject:merchantId:] + +/** The Merchant Center account to insert a return policy for. */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** + * Fetches a @c GTLRShoppingContent_ReturnPolicy. + * + * Inserts a return policy for the Merchant Center account. + * + * @param object The @c GTLRShoppingContent_ReturnPolicy to include in the + * query. + * @param merchantId The Merchant Center account to insert a return policy for. + * + * @return GTLRShoppingContentQuery_ReturnpolicyInsert + */ ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnPolicy *)object + merchantId:(unsigned long long)merchantId; + +@end + +/** + * Lists the return policies of the Merchant Center account. + * + * Method: content.returnpolicy.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeShoppingContent + */ +@interface GTLRShoppingContentQuery_ReturnpolicyList : GTLRShoppingContentQuery +// Previous library name was +// +[GTLQueryShoppingContent queryForReturnpolicyListWithmerchantId:] + +/** The Merchant Center account to list return policies for. */ +@property(nonatomic, assign) unsigned long long merchantId; + +/** + * Fetches a @c GTLRShoppingContent_ReturnpolicyListResponse. + * + * Lists the return policies of the Merchant Center account. + * + * @param merchantId The Merchant Center account to list return policies for. + * + * @return GTLRShoppingContentQuery_ReturnpolicyList + */ ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId; + +@end + /** * Retrieves and updates the shipping settings of multiple accounts in a single * request. diff --git a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m index 21259d874..f99b9f652 100644 --- a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m +++ b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentQuery.m @@ -1963,6 +1963,224 @@ + (instancetype)queryWithObject:(GTLRShoppingContent_RegionalInventory *)object @end +@implementation GTLRShoppingContentQuery_ReturnaddressCustombatch + ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnaddressCustomBatchRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"returnaddress/batch"; + GTLRShoppingContentQuery_ReturnaddressCustombatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRShoppingContent_ReturnaddressCustomBatchResponse class]; + query.loggingName = @"content.returnaddress.custombatch"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnaddressDelete + +@dynamic merchantId, returnAddressId; + ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnAddressId:(NSString *)returnAddressId { + NSArray *pathParams = @[ + @"merchantId", @"returnAddressId" + ]; + NSString *pathURITemplate = @"{merchantId}/returnaddress/{returnAddressId}"; + GTLRShoppingContentQuery_ReturnaddressDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.merchantId = merchantId; + query.returnAddressId = returnAddressId; + query.loggingName = @"content.returnaddress.delete"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnaddressGet + +@dynamic merchantId, returnAddressId; + ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnAddressId:(NSString *)returnAddressId { + NSArray *pathParams = @[ + @"merchantId", @"returnAddressId" + ]; + NSString *pathURITemplate = @"{merchantId}/returnaddress/{returnAddressId}"; + GTLRShoppingContentQuery_ReturnaddressGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.merchantId = merchantId; + query.returnAddressId = returnAddressId; + query.expectedObjectClass = [GTLRShoppingContent_ReturnAddress class]; + query.loggingName = @"content.returnaddress.get"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnaddressInsert + +@dynamic merchantId; + ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnAddress *)object + merchantId:(unsigned long long)merchantId { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"merchantId" ]; + NSString *pathURITemplate = @"{merchantId}/returnaddress"; + GTLRShoppingContentQuery_ReturnaddressInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.merchantId = merchantId; + query.expectedObjectClass = [GTLRShoppingContent_ReturnAddress class]; + query.loggingName = @"content.returnaddress.insert"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnaddressList + +@dynamic country, maxResults, merchantId, pageToken; + ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId { + NSArray *pathParams = @[ @"merchantId" ]; + NSString *pathURITemplate = @"{merchantId}/returnaddress"; + GTLRShoppingContentQuery_ReturnaddressList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.merchantId = merchantId; + query.expectedObjectClass = [GTLRShoppingContent_ReturnaddressListResponse class]; + query.loggingName = @"content.returnaddress.list"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnpolicyCustombatch + ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnpolicyCustomBatchRequest *)object { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSString *pathURITemplate = @"returnpolicy/batch"; + GTLRShoppingContentQuery_ReturnpolicyCustombatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRShoppingContent_ReturnpolicyCustomBatchResponse class]; + query.loggingName = @"content.returnpolicy.custombatch"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnpolicyDelete + +@dynamic merchantId, returnPolicyId; + ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnPolicyId:(NSString *)returnPolicyId { + NSArray *pathParams = @[ + @"merchantId", @"returnPolicyId" + ]; + NSString *pathURITemplate = @"{merchantId}/returnpolicy/{returnPolicyId}"; + GTLRShoppingContentQuery_ReturnpolicyDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.merchantId = merchantId; + query.returnPolicyId = returnPolicyId; + query.loggingName = @"content.returnpolicy.delete"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnpolicyGet + +@dynamic merchantId, returnPolicyId; + ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId + returnPolicyId:(NSString *)returnPolicyId { + NSArray *pathParams = @[ + @"merchantId", @"returnPolicyId" + ]; + NSString *pathURITemplate = @"{merchantId}/returnpolicy/{returnPolicyId}"; + GTLRShoppingContentQuery_ReturnpolicyGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.merchantId = merchantId; + query.returnPolicyId = returnPolicyId; + query.expectedObjectClass = [GTLRShoppingContent_ReturnPolicy class]; + query.loggingName = @"content.returnpolicy.get"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnpolicyInsert + +@dynamic merchantId; + ++ (instancetype)queryWithObject:(GTLRShoppingContent_ReturnPolicy *)object + merchantId:(unsigned long long)merchantId { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"merchantId" ]; + NSString *pathURITemplate = @"{merchantId}/returnpolicy"; + GTLRShoppingContentQuery_ReturnpolicyInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.merchantId = merchantId; + query.expectedObjectClass = [GTLRShoppingContent_ReturnPolicy class]; + query.loggingName = @"content.returnpolicy.insert"; + return query; +} + +@end + +@implementation GTLRShoppingContentQuery_ReturnpolicyList + +@dynamic merchantId; + ++ (instancetype)queryWithMerchantId:(unsigned long long)merchantId { + NSArray *pathParams = @[ @"merchantId" ]; + NSString *pathURITemplate = @"{merchantId}/returnpolicy"; + GTLRShoppingContentQuery_ReturnpolicyList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.merchantId = merchantId; + query.expectedObjectClass = [GTLRShoppingContent_ReturnpolicyListResponse class]; + query.loggingName = @"content.returnpolicy.list"; + return query; +} + +@end + @implementation GTLRShoppingContentQuery_ShippingsettingsCustombatch + (instancetype)queryWithObject:(GTLRShoppingContent_ShippingsettingsCustomBatchRequest *)object { diff --git a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentService.m b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentService.m index 97af7fb45..1bca807d8 100644 --- a/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentService.m +++ b/Source/GeneratedServices/ShoppingContent/GTLRShoppingContentService.m @@ -110,6 +110,14 @@ - (instancetype)init { @"content#regionalInventory" : [GTLRShoppingContent_RegionalInventory class], @"content#regionalinventoryCustomBatchResponse" : [GTLRShoppingContent_RegionalinventoryCustomBatchResponse class], @"content#regionalinventoryCustomBatchResponseEntry" : [GTLRShoppingContent_RegionalinventoryCustomBatchResponseEntry class], + @"content#returnAddress" : [GTLRShoppingContent_ReturnAddress class], + @"content#returnaddressCustomBatchResponse" : [GTLRShoppingContent_ReturnaddressCustomBatchResponse class], + @"content#returnaddressCustomBatchResponseEntry" : [GTLRShoppingContent_ReturnaddressCustomBatchResponseEntry class], + @"content#returnaddressListResponse" : [GTLRShoppingContent_ReturnaddressListResponse class], + @"content#returnPolicy" : [GTLRShoppingContent_ReturnPolicy class], + @"content#returnpolicyCustomBatchResponse" : [GTLRShoppingContent_ReturnpolicyCustomBatchResponse class], + @"content#returnpolicyCustomBatchResponseEntry" : [GTLRShoppingContent_ReturnpolicyCustomBatchResponseEntry class], + @"content#returnpolicyListResponse" : [GTLRShoppingContent_ReturnpolicyListResponse class], @"content#shippingsettingsCustomBatchResponse" : [GTLRShoppingContent_ShippingsettingsCustomBatchResponse class], @"content#shippingsettingsCustomBatchResponseEntry" : [GTLRShoppingContent_ShippingsettingsCustomBatchResponseEntry class], @"content#shippingsettingsGetSupportedCarriersResponse" : [GTLRShoppingContent_ShippingsettingsGetSupportedCarriersResponse class], diff --git a/Source/GeneratedServices/Spanner/GTLRSpannerObjects.h b/Source/GeneratedServices/Spanner/GTLRSpannerObjects.h index e55bb7dfd..2e4d7fe3e 100644 --- a/Source/GeneratedServices/Spanner/GTLRSpannerObjects.h +++ b/Source/GeneratedServices/Spanner/GTLRSpannerObjects.h @@ -27,6 +27,7 @@ @class GTLRSpanner_ExecuteSqlRequest_ParamTypes; @class GTLRSpanner_Expr; @class GTLRSpanner_Field; +@class GTLRSpanner_GetPolicyOptions; @class GTLRSpanner_Instance; @class GTLRSpanner_Instance_Labels; @class GTLRSpanner_InstanceConfig; @@ -295,6 +296,40 @@ GTLR_EXTERN NSString * const kGTLRSpanner_Type_Code_Timestamp; */ GTLR_EXTERN NSString * const kGTLRSpanner_Type_Code_TypeCodeUnspecified; +/** + * The request for BatchCreateSessions. + */ +@interface GTLRSpanner_BatchCreateSessionsRequest : GTLRObject + +/** + * Required. The number of sessions to be created in this batch call. + * The API may return fewer than the requested number of sessions. If a + * specific number of sessions are desired, the client can make additional + * calls to BatchCreateSessions (adjusting + * session_count as necessary). + * The maximum allowed sessions are documented at https://goo.gl/hBUQED. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sessionCount; + +/** Parameters to be applied to each created session. */ +@property(nonatomic, strong, nullable) GTLRSpanner_Session *sessionTemplate; + +@end + + +/** + * The response for BatchCreateSessions. + */ +@interface GTLRSpanner_BatchCreateSessionsResponse : GTLRObject + +/** The freshly created sessions. */ +@property(nonatomic, strong, nullable) NSArray *session; + +@end + + /** * The request for BeginTransaction. */ @@ -327,7 +362,7 @@ GTLR_EXTERN NSString * const kGTLRSpanner_Type_Code_TypeCodeUnspecified; * * `allAuthenticatedUsers`: A special identifier that represents anyone * who is authenticated with a Google account or a service account. * * `user:{emailid}`: An email address that represents a specific Google - * account. For example, `alice\@gmail.com` . + * account. For example, `alice\@example.com` . * * `serviceAccount:{emailid}`: An email address that represents a service * account. For example, `my-other-app\@appspot.gserviceaccount.com`. * * `group:{emailid}`: An email address that represents a Google group. @@ -886,6 +921,31 @@ GTLR_EXTERN NSString * const kGTLRSpanner_Type_Code_TypeCodeUnspecified; * Request message for `GetIamPolicy` method. */ @interface GTLRSpanner_GetIamPolicyRequest : GTLRObject + +/** + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. This field is only used by Cloud IAM. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_GetPolicyOptions *options; + +@end + + +/** + * Encapsulates settings provided to GetIamPolicy. + */ +@interface GTLRSpanner_GetPolicyOptions : GTLRObject + +/** + * Optional. The policy format version to be returned. + * Acceptable values are 0 and 1. + * If the value is 0, or the field is omitted, policy format version 1 will be + * returned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedPolicyVersion; + @end @@ -1904,7 +1964,7 @@ GTLR_EXTERN NSString * const kGTLRSpanner_Type_Code_TypeCodeUnspecified; * systems are expected to put that etag in the request to `setIamPolicy` to * ensure that their change will be applied to the same version of the policy. * If no `etag` is provided in the call to `setIamPolicy`, then the existing - * policy is overwritten blindly. + * policy is overwritten. * * Contains encoded binary data; GTLRBase64 can encode/decode (probably * web-safe format). diff --git a/Source/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Source/GeneratedServices/Spanner/GTLRSpannerObjects.m index 8630fbb21..2fae4379e 100644 --- a/Source/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Source/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -52,6 +52,34 @@ NSString * const kGTLRSpanner_Type_Code_Timestamp = @"TIMESTAMP"; NSString * const kGTLRSpanner_Type_Code_TypeCodeUnspecified = @"TYPE_CODE_UNSPECIFIED"; +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_BatchCreateSessionsRequest +// + +@implementation GTLRSpanner_BatchCreateSessionsRequest +@dynamic sessionCount, sessionTemplate; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_BatchCreateSessionsResponse +// + +@implementation GTLRSpanner_BatchCreateSessionsResponse +@dynamic session; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"session" : [GTLRSpanner_Session class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_BeginTransactionRequest @@ -329,6 +357,17 @@ @implementation GTLRSpanner_GetDatabaseDdlResponse // @implementation GTLRSpanner_GetIamPolicyRequest +@dynamic options; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_GetPolicyOptions +// + +@implementation GTLRSpanner_GetPolicyOptions +@dynamic requestedPolicyVersion; @end diff --git a/Source/GeneratedServices/Spanner/GTLRSpannerQuery.h b/Source/GeneratedServices/Spanner/GTLRSpannerQuery.h index 9dbd074b8..bc465abf5 100644 --- a/Source/GeneratedServices/Spanner/GTLRSpannerQuery.h +++ b/Source/GeneratedServices/Spanner/GTLRSpannerQuery.h @@ -19,6 +19,7 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRSpanner_BatchCreateSessionsRequest; @class GTLRSpanner_BeginTransactionRequest; @class GTLRSpanner_CommitRequest; @class GTLRSpanner_CreateDatabaseRequest; @@ -647,6 +648,47 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates multiple new sessions. If the requested number of sessions would + * cause the database to exceed its session limit, returns a + * RESOURCE_EXHAUSTED error. + * This API can be used to initialize a session cache on the clients. + * See https://goo.gl/TgSFN2 for best practices on session cache management. + * + * Method: spanner.projects.instances.databases.sessions.batchCreate + * + * Authorization scope(s): + * @c kGTLRAuthScopeSpannerCloudPlatform + * @c kGTLRAuthScopeSpannerData + */ +@interface GTLRSpannerQuery_ProjectsInstancesDatabasesSessionsBatchCreate : GTLRSpannerQuery +// Previous library name was +// +[GTLQuerySpanner queryForProjectsInstancesDatabasesSessionsBatchCreateWithObject:database:] + +/** Required. The database in which the new sessions are created. */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Fetches a @c GTLRSpanner_BatchCreateSessionsResponse. + * + * Creates multiple new sessions. If the requested number of sessions would + * cause the database to exceed its session limit, returns a + * RESOURCE_EXHAUSTED error. + * This API can be used to initialize a session cache on the clients. + * See https://goo.gl/TgSFN2 for best practices on session cache management. + * + * @param object The @c GTLRSpanner_BatchCreateSessionsRequest to include in + * the query. + * @param database Required. The database in which the new sessions are + * created. + * + * @return GTLRSpannerQuery_ProjectsInstancesDatabasesSessionsBatchCreate + */ ++ (instancetype)queryWithObject:(GTLRSpanner_BatchCreateSessionsRequest *)object + database:(NSString *)database; + +@end + /** * Begins a new transaction. This step can often be skipped: * Read, ExecuteSql and diff --git a/Source/GeneratedServices/Spanner/GTLRSpannerQuery.m b/Source/GeneratedServices/Spanner/GTLRSpannerQuery.m index 906305db8..24bbdb23a 100644 --- a/Source/GeneratedServices/Spanner/GTLRSpannerQuery.m +++ b/Source/GeneratedServices/Spanner/GTLRSpannerQuery.m @@ -284,6 +284,31 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRSpannerQuery_ProjectsInstancesDatabasesSessionsBatchCreate + +@dynamic database; + ++ (instancetype)queryWithObject:(GTLRSpanner_BatchCreateSessionsRequest *)object + database:(NSString *)database { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"database" ]; + NSString *pathURITemplate = @"v1/{+database}/sessions:batchCreate"; + GTLRSpannerQuery_ProjectsInstancesDatabasesSessionsBatchCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.database = database; + query.expectedObjectClass = [GTLRSpanner_BatchCreateSessionsResponse class]; + query.loggingName = @"spanner.projects.instances.databases.sessions.batchCreate"; + return query; +} + +@end + @implementation GTLRSpannerQuery_ProjectsInstancesDatabasesSessionsBeginTransaction @dynamic session; diff --git a/Source/GeneratedServices/Speech/GTLRSpeechObjects.h b/Source/GeneratedServices/Speech/GTLRSpeechObjects.h index c18b527cb..4e33a18d9 100644 --- a/Source/GeneratedServices/Speech/GTLRSpeechObjects.h +++ b/Source/GeneratedServices/Speech/GTLRSpeechObjects.h @@ -288,7 +288,7 @@ GTLR_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDeviceType * to improve the accuracy for specific words and phrases, for example, if * specific commands are typically spoken by the user. This can also be used * to add additional words to the vocabulary of the recognizer. See - * [usage limits](/speech-to-text/quotas#content). + * [usage limits](https://cloud.google.com/speech-to-text/quotas#content). * List items can also be set to classes for groups of words that represent * common concepts that occur in natural language. For example, rather than * providing phrase hints for every month of the year, using the $MONTH class @@ -504,7 +504,7 @@ GTLR_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDeviceType * Contains audio data in the encoding specified in the `RecognitionConfig`. * Either `content` or `uri` must be supplied. Supplying both or neither * returns google.rpc.Code.INVALID_ARGUMENT. See - * [content limits](/speech-to-text/quotas#content). + * [content limits](https://cloud.google.com/speech-to-text/quotas#content). */ @interface GTLRSpeech_RecognitionAudio : GTLRObject @@ -642,8 +642,9 @@ GTLR_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDeviceType * *Required* The language of the supplied audio as a * [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. * Example: "en-US". - * See [Language Support](/speech-to-text/docs/languages) - * for a list of the currently supported language codes. + * See [Language + * Support](https://cloud.google.com/speech-to-text/docs/languages) for a list + * of the currently supported language codes. */ @property(nonatomic, copy, nullable) NSString *languageCode; @@ -724,7 +725,9 @@ GTLR_EXTERN NSString * const kGTLRSpeech_RecognitionMetadata_RecordingDeviceType /** * *Optional* array of SpeechContext. * A means to provide context to assist the speech recognition. For more - * information, see [Phrase Hints](/speech-to-text/docs/basics#phrase-hints). + * information, see + * [speech + * adaptation](https://cloud.google.com/speech-to-text/docs/context-strength). */ @property(nonatomic, strong, nullable) NSArray *speechContexts; diff --git a/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.h b/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.h index c7f117bd4..9552aa668 100644 --- a/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.h +++ b/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.h @@ -567,14 +567,14 @@ GTLR_EXTERN NSString * const kGTLRStorageTransfer_TransferOperation_Status_Succe /** - * In a GcsData resource, an object's name is the Google Cloud Storage object's + * In a GcsData resource, an object's name is the Cloud Storage object's * name and its `lastModificationTime` refers to the object's updated time, * which changes when the content or the metadata of the object is updated. */ @interface GTLRStorageTransfer_GcsData : GTLRObject /** - * Required. Google Cloud Storage bucket name (see + * Required. Cloud Storage bucket name (see * [Bucket Name * Requirements](https://cloud.google.com/storage/docs/naming#requirements)). */ @@ -618,7 +618,7 @@ GTLR_EXTERN NSString * const kGTLRStorageTransfer_TransferOperation_Status_Succe * bytes, the object transfer will fail. For more information, see * [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5) * * Ensure that each URL you specify is publicly accessible. For - * example, in Google Cloud Storage you can + * example, in Cloud Storage you can * [share an object publicly] * (https://cloud.google.com/storage/docs/cloud-console#_sharingdata) and get * a link to it. @@ -691,7 +691,7 @@ GTLR_EXTERN NSString * const kGTLRStorageTransfer_TransferOperation_Status_Succe /** * Conditions that determine which objects will be transferred. Applies only - * to S3 and GCS objects. + * to S3 and Cloud Storage objects. */ @interface GTLRStorageTransfer_ObjectConditions : GTLRObject @@ -740,7 +740,8 @@ GTLR_EXTERN NSString * const kGTLRStorageTransfer_TransferOperation_Status_Succe * `NOW` refers to the `start_time` of the 'TransferOperation`. Also, * `lastModificationTime` refers to the time of the last change to the * object's content or metadata - specifically, this would be the `updated` - * property of GCS objects and the `LastModified` field of S3 objects. + * property of Cloud Storage objects and the `LastModified` field of S3 + * objects. */ @property(nonatomic, strong, nullable) GTLRDuration *maxTimeElapsedSinceLastModification; @@ -752,7 +753,8 @@ GTLR_EXTERN NSString * const kGTLRStorageTransfer_TransferOperation_Status_Succe * `NOW` refers to the `start_time` of the 'TransferOperation`. Also, * `lastModificationTime` refers to the time of the last change to the * object's content or metadata - specifically, this would be the `updated` - * property of GCS objects and the `LastModified` field of S3 objects. + * property of Cloud Storage objects and the `LastModified` field of S3 + * objects. */ @property(nonatomic, strong, nullable) GTLRDuration *minTimeElapsedSinceLastModification; @@ -1253,10 +1255,10 @@ GTLR_EXTERN NSString * const kGTLRStorageTransfer_TransferOperation_Status_Succe /** An AWS S3 data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AwsS3Data *awsS3DataSource; -/** A Google Cloud Storage data sink. */ +/** A Cloud Storage data sink. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsDataSink; -/** A Google Cloud Storage data source. */ +/** A Cloud Storage data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsDataSource; /** An HTTP URL data source. */ diff --git a/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferQuery.h b/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferQuery.h index f527211b4..22ddecd6c 100644 --- a/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferQuery.h +++ b/Source/GeneratedServices/StorageTransfer/GTLRStorageTransferQuery.h @@ -319,15 +319,7 @@ NS_ASSUME_NONNULL_BEGIN @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. + * Lists transfer operations. * * Method: storagetransfer.transferOperations.list * @@ -364,15 +356,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRStorageTransfer_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. + * Lists transfer operations. * * @param name Required. The value `transferOperations`. * diff --git a/Source/GeneratedServices/TPU/GTLRTPUObjects.h b/Source/GeneratedServices/TPU/GTLRTPUObjects.h index f58bb2701..422d277bb 100644 --- a/Source/GeneratedServices/TPU/GTLRTPUObjects.h +++ b/Source/GeneratedServices/TPU/GTLRTPUObjects.h @@ -228,6 +228,9 @@ GTLR_EXTERN NSString * const kGTLRTPU_Node_State_Unhiding; /** The next page token or empty if none. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -327,6 +330,9 @@ GTLR_EXTERN NSString * const kGTLRTPU_Node_State_Unhiding; */ @property(nonatomic, strong, nullable) NSArray *tensorflowVersions; +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end diff --git a/Source/GeneratedServices/TPU/GTLRTPUObjects.m b/Source/GeneratedServices/TPU/GTLRTPUObjects.m index b570a26f2..37fd3c890 100644 --- a/Source/GeneratedServices/TPU/GTLRTPUObjects.m +++ b/Source/GeneratedServices/TPU/GTLRTPUObjects.m @@ -63,11 +63,12 @@ @implementation GTLRTPU_Empty // @implementation GTLRTPU_ListAcceleratorTypesResponse -@dynamic acceleratorTypes, nextPageToken; +@dynamic acceleratorTypes, nextPageToken, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"acceleratorTypes" : [GTLRTPU_AcceleratorType class] + @"acceleratorTypes" : [GTLRTPU_AcceleratorType class], + @"unreachable" : [NSString class] }; return map; } @@ -152,11 +153,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRTPU_ListTensorFlowVersionsResponse -@dynamic nextPageToken, tensorflowVersions; +@dynamic nextPageToken, tensorflowVersions, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"tensorflowVersions" : [GTLRTPU_TensorFlowVersion class] + @"tensorflowVersions" : [GTLRTPU_TensorFlowVersion class], + @"unreachable" : [NSString class] }; return map; } diff --git a/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.h b/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.h index 0ef70c7a7..10b88401c 100644 --- a/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.h +++ b/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.h @@ -267,6 +267,8 @@ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Severity_Warning; GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_Anr; /** Value: "availableDeepLinks" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_AvailableDeepLinks; +/** Value: "blankScreen" */ +GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_BlankScreen; /** Value: "compatibleWithOrchestrator" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_CompatibleWithOrchestrator; /** Value: "completeRoboScriptExecution" */ @@ -299,12 +301,16 @@ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_NativeCrash; GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_NonSdkApiUsageReport; /** Value: "nonSdkApiUsageViolation" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_NonSdkApiUsageViolation; +/** Value: "overlappingUiElements" */ +GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_OverlappingUiElements; /** Value: "performedGoogleLogin" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_PerformedGoogleLogin; /** Value: "performedMonkeyActions" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_PerformedMonkeyActions; /** Value: "startActivityNotFound" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_StartActivityNotFound; +/** Value: "uiElementsTooDeep" */ +GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_UiElementsTooDeep; /** Value: "unspecifiedType" */ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_UnspecifiedType; /** Value: "unusedRoboDirective" */ @@ -1687,6 +1693,7 @@ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_UsedRoboIgnoreDirec * TestExecutionStep with id 100 to COMPLETE * A Step can be updated until its state is set to COMPLETE at which points it * becomes immutable. + * Next tag: 23 */ @interface GTLRToolResults_Step : GTLRObject @@ -2067,6 +2074,7 @@ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_UsedRoboIgnoreDirec * @arg @c kGTLRToolResults_TestIssue_Type_Anr Value "anr" * @arg @c kGTLRToolResults_TestIssue_Type_AvailableDeepLinks Value * "availableDeepLinks" + * @arg @c kGTLRToolResults_TestIssue_Type_BlankScreen Value "blankScreen" * @arg @c kGTLRToolResults_TestIssue_Type_CompatibleWithOrchestrator Value * "compatibleWithOrchestrator" * @arg @c kGTLRToolResults_TestIssue_Type_CompleteRoboScriptExecution Value @@ -2096,12 +2104,16 @@ GTLR_EXTERN NSString * const kGTLRToolResults_TestIssue_Type_UsedRoboIgnoreDirec * "nonSdkApiUsageReport" * @arg @c kGTLRToolResults_TestIssue_Type_NonSdkApiUsageViolation Value * "nonSdkApiUsageViolation" + * @arg @c kGTLRToolResults_TestIssue_Type_OverlappingUiElements Value + * "overlappingUiElements" * @arg @c kGTLRToolResults_TestIssue_Type_PerformedGoogleLogin Value * "performedGoogleLogin" * @arg @c kGTLRToolResults_TestIssue_Type_PerformedMonkeyActions Value * "performedMonkeyActions" * @arg @c kGTLRToolResults_TestIssue_Type_StartActivityNotFound Value * "startActivityNotFound" + * @arg @c kGTLRToolResults_TestIssue_Type_UiElementsTooDeep Value + * "uiElementsTooDeep" * @arg @c kGTLRToolResults_TestIssue_Type_UnspecifiedType Value * "unspecifiedType" * @arg @c kGTLRToolResults_TestIssue_Type_UnusedRoboDirective Value diff --git a/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.m b/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.m index 8ada848d1..79603f14d 100644 --- a/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.m +++ b/Source/GeneratedServices/ToolResults/GTLRToolResultsObjects.m @@ -108,6 +108,7 @@ // GTLRToolResults_TestIssue.type NSString * const kGTLRToolResults_TestIssue_Type_Anr = @"anr"; NSString * const kGTLRToolResults_TestIssue_Type_AvailableDeepLinks = @"availableDeepLinks"; +NSString * const kGTLRToolResults_TestIssue_Type_BlankScreen = @"blankScreen"; NSString * const kGTLRToolResults_TestIssue_Type_CompatibleWithOrchestrator = @"compatibleWithOrchestrator"; NSString * const kGTLRToolResults_TestIssue_Type_CompleteRoboScriptExecution = @"completeRoboScriptExecution"; NSString * const kGTLRToolResults_TestIssue_Type_CrashDialogError = @"crashDialogError"; @@ -124,9 +125,11 @@ NSString * const kGTLRToolResults_TestIssue_Type_NativeCrash = @"nativeCrash"; NSString * const kGTLRToolResults_TestIssue_Type_NonSdkApiUsageReport = @"nonSdkApiUsageReport"; NSString * const kGTLRToolResults_TestIssue_Type_NonSdkApiUsageViolation = @"nonSdkApiUsageViolation"; +NSString * const kGTLRToolResults_TestIssue_Type_OverlappingUiElements = @"overlappingUiElements"; NSString * const kGTLRToolResults_TestIssue_Type_PerformedGoogleLogin = @"performedGoogleLogin"; NSString * const kGTLRToolResults_TestIssue_Type_PerformedMonkeyActions = @"performedMonkeyActions"; NSString * const kGTLRToolResults_TestIssue_Type_StartActivityNotFound = @"startActivityNotFound"; +NSString * const kGTLRToolResults_TestIssue_Type_UiElementsTooDeep = @"uiElementsTooDeep"; NSString * const kGTLRToolResults_TestIssue_Type_UnspecifiedType = @"unspecifiedType"; NSString * const kGTLRToolResults_TestIssue_Type_UnusedRoboDirective = @"unusedRoboDirective"; NSString * const kGTLRToolResults_TestIssue_Type_UsedRoboDirective = @"usedRoboDirective"; diff --git a/Source/GeneratedServices/Vision/GTLRVisionObjects.h b/Source/GeneratedServices/Vision/GTLRVisionObjects.h index b33de00ba..bfd5c8ee1 100644 --- a/Source/GeneratedServices/Vision/GTLRVisionObjects.h +++ b/Source/GeneratedServices/Vision/GTLRVisionObjects.h @@ -68,6 +68,7 @@ @class GTLRVision_GoogleCloudVisionV1p1beta1ProductKeyValue; @class GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResults; @class GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult; +@class GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation; @class GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult; @class GTLRVision_GoogleCloudVisionV1p1beta1Property; @class GTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation; @@ -110,6 +111,7 @@ @class GTLRVision_GoogleCloudVisionV1p2beta1ProductKeyValue; @class GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResults; @class GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult; +@class GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation; @class GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsResult; @class GTLRVision_GoogleCloudVisionV1p2beta1Property; @class GTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation; @@ -152,6 +154,7 @@ @class GTLRVision_GoogleCloudVisionV1p3beta1ProductKeyValue; @class GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResults; @class GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult; +@class GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation; @class GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsResult; @class GTLRVision_GoogleCloudVisionV1p3beta1Property; @class GTLRVision_GoogleCloudVisionV1p3beta1ReferenceImage; @@ -197,6 +200,7 @@ @class GTLRVision_GoogleCloudVisionV1p4beta1ProductKeyValue; @class GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResults; @class GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult; +@class GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation; @class GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsResult; @class GTLRVision_GoogleCloudVisionV1p4beta1Property; @class GTLRVision_GoogleCloudVisionV1p4beta1QualityOptimizationResult; @@ -243,6 +247,7 @@ @class GTLRVision_GoogleCloudVisionV1p5beta1ProductKeyValue; @class GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResults; @class GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult; +@class GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation; @class GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsResult; @class GTLRVision_GoogleCloudVisionV1p5beta1Property; @class GTLRVision_GoogleCloudVisionV1p5beta1ReferenceImage; @@ -278,6 +283,7 @@ @class GTLRVision_LocalizedObjectAnnotation; @class GTLRVision_LocationInfo; @class GTLRVision_NormalizedVertex; +@class GTLRVision_ObjectAnnotation; @class GTLRVision_Operation; @class GTLRVision_Operation_Metadata; @class GTLRVision_Operation_Response; @@ -289,6 +295,7 @@ @class GTLRVision_ProductSearchParams; @class GTLRVision_ProductSearchResults; @class GTLRVision_ProductSet; +@class GTLRVision_ProductSetPurgeConfig; @class GTLRVision_Property; @class GTLRVision_ReferenceImage; @class GTLRVision_Result; @@ -439,13 +446,13 @@ GTLR_EXTERN NSString * const kGTLRVision_DetectedBreak_Type_Unknown; // GTLRVision_FaceAnnotation.angerLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_AngerLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -457,19 +464,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_AngerLikelihood_Possible */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_AngerLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_AngerLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_AngerLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -479,13 +486,13 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_AngerLikelihood_VeryUnli // GTLRVision_FaceAnnotation.blurredLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_BlurredLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -497,19 +504,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_BlurredLikelihood_Possib */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_BlurredLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_BlurredLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_BlurredLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -519,13 +526,13 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_BlurredLikelihood_VeryUn // GTLRVision_FaceAnnotation.headwearLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_HeadwearLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -537,19 +544,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_HeadwearLikelihood_Possi */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_HeadwearLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_HeadwearLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_HeadwearLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -559,13 +566,13 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_HeadwearLikelihood_VeryU // GTLRVision_FaceAnnotation.joyLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_JoyLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -577,19 +584,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_JoyLikelihood_Possible; */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_JoyLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_JoyLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_JoyLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -599,13 +606,13 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_JoyLikelihood_VeryUnlike // GTLRVision_FaceAnnotation.sorrowLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SorrowLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -617,19 +624,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SorrowLikelihood_Possibl */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SorrowLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SorrowLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SorrowLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -639,13 +646,13 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SorrowLikelihood_VeryUnl // GTLRVision_FaceAnnotation.surpriseLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SurpriseLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -657,19 +664,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SurpriseLikelihood_Possi */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SurpriseLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SurpriseLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SurpriseLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -679,13 +686,13 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_SurpriseLikelihood_VeryU // GTLRVision_FaceAnnotation.underExposedLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -697,19 +704,19 @@ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_UnderExposedLikelihood_P */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_FaceAnnotation_UnderExposedLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -846,13 +853,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1Block_BlockTy // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.angerLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -864,19 +871,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -886,13 +893,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.blurredLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -904,19 +911,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -926,13 +933,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.headwearLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -944,19 +951,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -966,13 +973,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.joyLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -984,19 +991,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1006,13 +1013,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.sorrowLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1024,19 +1031,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1046,13 +1053,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.surpriseLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1064,19 +1071,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1086,13 +1093,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation.underExposedLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1104,19 +1111,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1374,13 +1381,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1OperationMeta // GTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation.adult /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1392,19 +1399,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1414,13 +1421,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation.medical /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1432,19 +1439,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1454,13 +1461,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation.racy /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1472,19 +1479,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1494,13 +1501,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation.spoof /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1512,19 +1519,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1534,13 +1541,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation.violence /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1552,19 +1559,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1655,13 +1662,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1Block_BlockTy // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.angerLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1673,19 +1680,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1695,13 +1702,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.blurredLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1713,19 +1720,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1735,13 +1742,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.headwearLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1753,19 +1760,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1775,13 +1782,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.joyLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1793,19 +1800,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1815,13 +1822,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.sorrowLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1833,19 +1840,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1855,13 +1862,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.surpriseLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1873,19 +1880,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -1895,13 +1902,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation.underExposedLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -1913,19 +1920,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2183,13 +2190,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1OperationMeta // GTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation.adult /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2201,19 +2208,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2223,13 +2230,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation.medical /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2241,19 +2248,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2263,13 +2270,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation.racy /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2281,19 +2288,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2303,13 +2310,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation.spoof /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2321,19 +2328,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2343,13 +2350,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation.violence /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2361,19 +2368,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2501,13 +2508,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1Block_BlockTy // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.angerLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2519,19 +2526,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2541,13 +2548,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.blurredLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2559,19 +2566,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2581,13 +2588,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.headwearLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2599,19 +2606,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2621,13 +2628,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.joyLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2639,19 +2646,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2661,13 +2668,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.sorrowLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2679,19 +2686,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2701,13 +2708,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.surpriseLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2719,19 +2726,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -2741,13 +2748,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation.underExposedLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -2759,19 +2766,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3029,13 +3036,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1OperationMeta // GTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation.adult /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3047,19 +3054,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3069,13 +3076,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation.medical /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3087,19 +3094,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3109,13 +3116,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation.racy /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3127,19 +3134,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3149,13 +3156,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation.spoof /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3167,19 +3174,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3189,13 +3196,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation.violence /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3207,19 +3214,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3347,13 +3354,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1Block_BlockTy // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.angerLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3365,19 +3372,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3387,13 +3394,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.blurredLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3405,19 +3412,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3427,13 +3434,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.headwearLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3445,19 +3452,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3467,13 +3474,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.joyLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3485,19 +3492,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3507,13 +3514,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.sorrowLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3525,19 +3532,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3547,13 +3554,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.surpriseLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3565,19 +3572,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3587,13 +3594,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation.underExposedLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3605,19 +3612,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3912,13 +3919,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1QualityOptimi // GTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation.adult /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3930,19 +3937,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3952,13 +3959,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation.medical /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -3970,19 +3977,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -3992,13 +3999,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation.racy /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4010,19 +4017,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4032,13 +4039,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation.spoof /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4050,19 +4057,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4072,13 +4079,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation.violence /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4090,19 +4097,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4236,13 +4243,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1Block_BlockTy // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.angerLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4254,19 +4261,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4276,13 +4283,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.blurredLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4294,19 +4301,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4316,13 +4323,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.headwearLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4334,19 +4341,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4356,13 +4363,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.joyLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4374,19 +4381,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4396,13 +4403,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.sorrowLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4414,19 +4421,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4436,13 +4443,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.surpriseLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4454,19 +4461,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4476,13 +4483,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio // GTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation.underExposedLikelihood /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4494,19 +4501,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotatio */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4764,13 +4771,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1OperationMeta // GTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation.adult /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4782,19 +4789,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4804,13 +4811,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation.medical /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4822,19 +4829,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4844,13 +4851,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation.racy /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4862,19 +4869,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4884,13 +4891,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation.spoof /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4902,19 +4909,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -4924,13 +4931,13 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn // GTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation.violence /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -4942,19 +4949,19 @@ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnn */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -5253,13 +5260,13 @@ GTLR_EXTERN NSString * const kGTLRVision_OperationMetadata_State_StateUnspecifie // GTLRVision_SafeSearchAnnotation.adult /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Adult_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -5271,19 +5278,19 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Adult_Possible; */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Adult_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Adult_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Adult_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -5293,13 +5300,13 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Adult_VeryUnlikely // GTLRVision_SafeSearchAnnotation.medical /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Medical_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -5311,19 +5318,19 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Medical_Possible; */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Medical_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Medical_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Medical_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -5333,13 +5340,13 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Medical_VeryUnlike // GTLRVision_SafeSearchAnnotation.racy /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Racy_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -5351,19 +5358,19 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Racy_Possible; */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Racy_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Racy_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Racy_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -5373,13 +5380,13 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Racy_VeryUnlikely; // GTLRVision_SafeSearchAnnotation.spoof /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Spoof_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -5391,19 +5398,19 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Spoof_Possible; */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Spoof_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Spoof_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Spoof_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -5413,13 +5420,13 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Spoof_VeryUnlikely // GTLRVision_SafeSearchAnnotation.violence /** - * It is likely that the image belongs to the specified vertical. + * It is likely. * * Value: "LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Likely; /** - * It is possible that the image belongs to the specified vertical. + * It is possible. * * Value: "POSSIBLE" */ @@ -5431,19 +5438,19 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Possible; */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Unknown; /** - * It is unlikely that the image belongs to the specified vertical. + * It is unlikely. * * Value: "UNLIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Unlikely; /** - * It is very likely that the image belongs to the specified vertical. + * It is very likely. * * Value: "VERY_LIKELY" */ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryLikely; /** - * It is very unlikely that the image belongs to the specified vertical. + * It is very unlikely. * * Value: "VERY_UNLIKELY" */ @@ -5503,6 +5510,12 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_AnnotateFileResponse : GTLRObject +/** + * If set, represents the error message for the failed request. The + * `responses` field will not be set in this case. + */ +@property(nonatomic, strong, nullable) GTLRVision_Status *error; + /** Information about the file for which this response is generated. */ @property(nonatomic, strong, nullable) GTLRVision_InputConfig *inputConfig; @@ -5642,6 +5655,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_AsyncBatchAnnotateFilesRequest : GTLRObject +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** Individual async file annotation requests for this batch. */ @property(nonatomic, strong, nullable) NSArray *requests; @@ -5670,6 +5695,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** Required. The desired output location and metadata (e.g. format). */ @property(nonatomic, strong, nullable) GTLRVision_OutputConfig *outputConfig; +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** Individual image annotation requests for this batch. */ @property(nonatomic, strong, nullable) NSArray *requests; @@ -5692,6 +5729,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_BatchAnnotateFilesRequest : GTLRObject +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** * The list of file annotation requests. Right now we support only one * AnnotateFileRequest in BatchAnnotateFilesRequest. @@ -5720,6 +5769,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_BatchAnnotateImagesRequest : GTLRObject +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + /** Individual image annotation requests for this batch. */ @property(nonatomic, strong, nullable) NSArray *requests; @@ -6258,20 +6319,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * Anger likelihood. * * Likely values: - * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Likely It is likely - * that the image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Possible It is possible - * that the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Likely It is likely. + * (Value: "LIKELY") + * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Possible It is + * possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") - * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Unlikely It is unlikely - * that the image belongs to the specified vertical. (Value: "UNLIKELY") + * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_Unlikely It is + * unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_AngerLikelihood_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *angerLikelihood; @@ -6279,22 +6338,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * Blurred likelihood. * * Likely values: - * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_Likely It is likely - * that the image belongs to the specified vertical. (Value: "LIKELY") + * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_Likely It is likely. + * (Value: "LIKELY") * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_Possible It is - * possible that the image belongs to the specified vertical. (Value: - * "POSSIBLE") + * possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_Unlikely It is - * unlikely that the image belongs to the specified vertical. (Value: - * "UNLIKELY") + * unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_BlurredLikelihood_VeryUnlikely It is - * very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *blurredLikelihood; @@ -6330,22 +6385,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * Headwear likelihood. * * Likely values: - * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_Likely It is likely - * that the image belongs to the specified vertical. (Value: "LIKELY") + * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_Likely It is likely. + * (Value: "LIKELY") * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_Possible It is - * possible that the image belongs to the specified vertical. (Value: - * "POSSIBLE") + * possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_Unlikely It is - * unlikely that the image belongs to the specified vertical. (Value: - * "UNLIKELY") + * unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_VeryLikely It is - * very likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_HeadwearLikelihood_VeryUnlikely It is - * very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *headwearLikelihood; @@ -6353,20 +6404,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * Joy likelihood. * * Likely values: - * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Likely It is likely that - * the image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Possible It is possible - * that the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Likely It is likely. + * (Value: "LIKELY") + * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Possible It is possible. + * (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") - * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Unlikely It is unlikely - * that the image belongs to the specified vertical. (Value: "UNLIKELY") + * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_Unlikely It is unlikely. + * (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_JoyLikelihood_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *joyLikelihood; @@ -6402,22 +6451,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * Sorrow likelihood. * * Likely values: - * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_Likely It is likely - * that the image belongs to the specified vertical. (Value: "LIKELY") + * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_Likely It is likely. + * (Value: "LIKELY") * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_Possible It is - * possible that the image belongs to the specified vertical. (Value: - * "POSSIBLE") + * possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_Unlikely It is - * unlikely that the image belongs to the specified vertical. (Value: - * "UNLIKELY") + * unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_SorrowLikelihood_VeryUnlikely It is - * very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *sorrowLikelihood; @@ -6425,22 +6470,18 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * Surprise likelihood. * * Likely values: - * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_Likely It is likely - * that the image belongs to the specified vertical. (Value: "LIKELY") + * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_Likely It is likely. + * (Value: "LIKELY") * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_Possible It is - * possible that the image belongs to the specified vertical. (Value: - * "POSSIBLE") + * possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_Unlikely It is - * unlikely that the image belongs to the specified vertical. (Value: - * "UNLIKELY") + * unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_VeryLikely It is - * very likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_SurpriseLikelihood_VeryUnlikely It is - * very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *surpriseLikelihood; @@ -6457,22 +6498,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Likely It is - * likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * likely. (Value: "LIKELY") * @arg @c kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Possible It is - * possible that the image belongs to the specified vertical. (Value: - * "POSSIBLE") + * possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Unknown Unknown * likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_FaceAnnotation_UnderExposedLikelihood_Unlikely It is - * unlikely that the image belongs to the specified vertical. (Value: - * "UNLIKELY") + * unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_FaceAnnotation_UnderExposedLikelihood_VeryLikely It is - * very likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_FaceAnnotation_UnderExposedLikelihood_VeryUnlikely It - * is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *underExposedLikelihood; @@ -6594,6 +6630,12 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_GoogleCloudVisionV1p1beta1AnnotateFileResponse : GTLRObject +/** + * If set, represents the error message for the failed request. The + * `responses` field will not be set in this case. + */ +@property(nonatomic, strong, nullable) GTLRVision_Status *error; + /** Information about the file for which this response is generated. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p1beta1InputConfig *inputConfig; @@ -6942,22 +6984,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_AngerLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *angerLikelihood; @@ -6966,22 +7003,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_BlurredLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *blurredLikelihood; @@ -7018,22 +7050,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_HeadwearLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *headwearLikelihood; @@ -7042,22 +7069,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_JoyLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *joyLikelihood; @@ -7094,22 +7116,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SorrowLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *sorrowLikelihood; @@ -7118,22 +7135,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_SurpriseLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *surpriseLikelihood; @@ -7150,22 +7162,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1FaceAnnotation_UnderExposedLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *underExposedLikelihood; @@ -7704,12 +7711,43 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** The bounding polygon around the product detected in the query image. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p1beta1BoundingPoly *boundingPoly; +/** List of generic predictions for the object in the bounding box. */ +@property(nonatomic, strong, nullable) NSArray *objectAnnotations; + /** List of results, one for each product match. */ @property(nonatomic, strong, nullable) NSArray *results; @end +/** + * Prediction for what the object in the bounding box is. + */ +@interface GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation : GTLRObject + +/** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Object ID that should align with EntityAnnotation mid. */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** Object name, expressed in its `language_code` language. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Score of the result. Range [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * Information about a product. */ @@ -7770,22 +7808,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Adult_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *adult; @@ -7794,22 +7827,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Medical_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *medical; @@ -7821,22 +7849,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Racy_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *racy; @@ -7847,22 +7870,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Spoof_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *spoof; @@ -7871,22 +7889,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation_Violence_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *violence; @@ -8230,6 +8243,12 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_GoogleCloudVisionV1p2beta1AnnotateFileResponse : GTLRObject +/** + * If set, represents the error message for the failed request. The + * `responses` field will not be set in this case. + */ +@property(nonatomic, strong, nullable) GTLRVision_Status *error; + /** Information about the file for which this response is generated. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p2beta1InputConfig *inputConfig; @@ -8578,22 +8597,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_AngerLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *angerLikelihood; @@ -8602,22 +8616,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_BlurredLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *blurredLikelihood; @@ -8654,22 +8663,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_HeadwearLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *headwearLikelihood; @@ -8678,22 +8682,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_JoyLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *joyLikelihood; @@ -8730,22 +8729,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SorrowLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *sorrowLikelihood; @@ -8754,22 +8748,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_SurpriseLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *surpriseLikelihood; @@ -8786,22 +8775,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1FaceAnnotation_UnderExposedLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *underExposedLikelihood; @@ -9340,12 +9324,43 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** The bounding polygon around the product detected in the query image. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p2beta1BoundingPoly *boundingPoly; +/** List of generic predictions for the object in the bounding box. */ +@property(nonatomic, strong, nullable) NSArray *objectAnnotations; + /** List of results, one for each product match. */ @property(nonatomic, strong, nullable) NSArray *results; @end +/** + * Prediction for what the object in the bounding box is. + */ +@interface GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation : GTLRObject + +/** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Object ID that should align with EntityAnnotation mid. */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** Object name, expressed in its `language_code` language. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Score of the result. Range [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * Information about a product. */ @@ -9406,22 +9421,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Adult_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *adult; @@ -9430,22 +9440,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Medical_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *medical; @@ -9457,22 +9462,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Racy_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *racy; @@ -9483,22 +9483,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Spoof_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *spoof; @@ -9507,22 +9502,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation_Violence_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *violence; @@ -9866,6 +9856,12 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_GoogleCloudVisionV1p3beta1AnnotateFileResponse : GTLRObject +/** + * If set, represents the error message for the failed request. The + * `responses` field will not be set in this case. + */ +@property(nonatomic, strong, nullable) GTLRVision_Status *error; + /** Information about the file for which this response is generated. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p3beta1InputConfig *inputConfig; @@ -10256,22 +10252,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_AngerLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *angerLikelihood; @@ -10280,22 +10271,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_BlurredLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *blurredLikelihood; @@ -10332,22 +10318,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_HeadwearLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *headwearLikelihood; @@ -10356,22 +10337,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_JoyLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *joyLikelihood; @@ -10408,22 +10384,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SorrowLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *sorrowLikelihood; @@ -10432,22 +10403,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_SurpriseLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *surpriseLikelihood; @@ -10464,22 +10430,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1FaceAnnotation_UnderExposedLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *underExposedLikelihood; @@ -11041,12 +11002,43 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** The bounding polygon around the product detected in the query image. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p3beta1BoundingPoly *boundingPoly; +/** List of generic predictions for the object in the bounding box. */ +@property(nonatomic, strong, nullable) NSArray *objectAnnotations; + /** List of results, one for each product match. */ @property(nonatomic, strong, nullable) NSArray *results; @end +/** + * Prediction for what the object in the bounding box is. + */ +@interface GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation : GTLRObject + +/** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Object ID that should align with EntityAnnotation mid. */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** Object name, expressed in its `language_code` language. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Score of the result. Range [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * Information about a product. */ @@ -11142,22 +11134,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Adult_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *adult; @@ -11166,22 +11153,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Medical_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *medical; @@ -11193,22 +11175,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Racy_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *racy; @@ -11219,22 +11196,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Spoof_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *spoof; @@ -11243,22 +11215,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation_Violence_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *violence; @@ -11602,6 +11569,12 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_GoogleCloudVisionV1p4beta1AnnotateFileResponse : GTLRObject +/** + * If set, represents the error message for the failed request. The + * `responses` field will not be set in this case. + */ +@property(nonatomic, strong, nullable) GTLRVision_Status *error; + /** Information about the file for which this response is generated. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p4beta1InputConfig *inputConfig; @@ -12023,22 +11996,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_AngerLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *angerLikelihood; @@ -12047,22 +12015,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_BlurredLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *blurredLikelihood; @@ -12099,22 +12062,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_HeadwearLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *headwearLikelihood; @@ -12123,22 +12081,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_JoyLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *joyLikelihood; @@ -12175,22 +12128,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SorrowLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *sorrowLikelihood; @@ -12199,22 +12147,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_SurpriseLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *surpriseLikelihood; @@ -12231,22 +12174,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1FaceAnnotation_UnderExposedLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *underExposedLikelihood; @@ -12422,6 +12360,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * quality. */ @interface GTLRVision_GoogleCloudVisionV1p4beta1ImageQuality : GTLRObject + +/** + * A score representing the aesthetic/technical quality of the image. The + * score is in range [0, 1]. Higher value corresponds to more professional + * looking photos. 0 means the image looks very bad, 1 means the image with + * very high quality. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *qualityScore; + @end @@ -12816,6 +12765,9 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** The bounding polygon around the product detected in the query image. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p4beta1BoundingPoly *boundingPoly; +/** List of generic predictions for the object in the bounding box. */ +@property(nonatomic, strong, nullable) NSArray *objectAnnotations; + /** List of results, one for each product match. */ @property(nonatomic, strong, nullable) NSArray *results; @@ -12823,13 +12775,41 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** - * Information about a product. + * Prediction for what the object in the bounding box is. */ -@interface GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsResult : GTLRObject +@interface GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation : GTLRObject /** - * The resource name of the image from the product that is the closest match - * to the query. + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Object ID that should align with EntityAnnotation mid. */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** Object name, expressed in its `language_code` language. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Score of the result. Range [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + +/** + * Information about a product. + */ +@interface GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsResult : GTLRObject + +/** + * The resource name of the image from the product that is the closest match + * to the query. */ @property(nonatomic, copy, nullable) NSString *image; @@ -12964,49 +12944,63 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Adult_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *adult; +/** + * Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adultConfidence; + /** * Likelihood that this is a medical image. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Medical_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *medical; +/** + * Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *medicalConfidence; + +/** + * Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very + * confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nsfwConfidence; + /** * Likelihood that the request image contains racy content. Racy content may * include (but is not limited to) skimpy or sheer clothing, strategically @@ -13015,25 +13009,28 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Racy_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *racy; +/** + * Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very + * confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *racyConfidence; + /** * Spoof likelihood. The likelihood that an modification * was made to the image's canonical version to make it appear @@ -13041,49 +13038,55 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Spoof_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *spoof; +/** + * Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *spoofConfidence; + /** * Likelihood that this image contains violent content. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation_Violence_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *violence; +/** + * Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *violenceConfidence; + @end @@ -13424,6 +13427,12 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik */ @interface GTLRVision_GoogleCloudVisionV1p5beta1AnnotateFileResponse : GTLRObject +/** + * If set, represents the error message for the failed request. The + * `responses` field will not be set in this case. + */ +@property(nonatomic, strong, nullable) GTLRVision_Status *error; + /** Information about the file for which this response is generated. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p5beta1InputConfig *inputConfig; @@ -13861,22 +13870,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_AngerLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *angerLikelihood; @@ -13885,22 +13889,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_BlurredLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *blurredLikelihood; @@ -13937,22 +13936,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_HeadwearLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *headwearLikelihood; @@ -13961,22 +13955,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_JoyLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *joyLikelihood; @@ -14013,22 +14002,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SorrowLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *sorrowLikelihood; @@ -14037,22 +14021,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_SurpriseLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *surpriseLikelihood; @@ -14069,22 +14048,17 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1FaceAnnotation_UnderExposedLikelihood_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *underExposedLikelihood; @@ -14698,12 +14672,43 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** The bounding polygon around the product detected in the query image. */ @property(nonatomic, strong, nullable) GTLRVision_GoogleCloudVisionV1p5beta1BoundingPoly *boundingPoly; +/** List of generic predictions for the object in the bounding box. */ +@property(nonatomic, strong, nullable) NSArray *objectAnnotations; + /** List of results, one for each product match. */ @property(nonatomic, strong, nullable) NSArray *results; @end +/** + * Prediction for what the object in the bounding box is. + */ +@interface GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation : GTLRObject + +/** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Object ID that should align with EntityAnnotation mid. */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** Object name, expressed in its `language_code` language. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Score of the result. Range [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * Information about a product. */ @@ -14799,49 +14804,63 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Adult_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *adult; +/** + * Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adultConfidence; + /** * Likelihood that this is a medical image. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Medical_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *medical; +/** + * Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *medicalConfidence; + +/** + * Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very + * confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nsfwConfidence; + /** * Likelihood that the request image contains racy content. Racy content may * include (but is not limited to) skimpy or sheer clothing, strategically @@ -14850,25 +14869,28 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Racy_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *racy; +/** + * Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very + * confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *racyConfidence; + /** * Spoof likelihood. The likelihood that an modification * was made to the image's canonical version to make it appear @@ -14876,49 +14898,55 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Spoof_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *spoof; +/** + * Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *spoofConfidence; + /** * Likelihood that this image contains violent content. * * Likely values: * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Likely - * It is likely that the image belongs to the specified vertical. (Value: - * "LIKELY") + * It is likely. (Value: "LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Possible - * It is possible that the image belongs to the specified vertical. - * (Value: "POSSIBLE") + * It is possible. (Value: "POSSIBLE") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Unknown * Unknown likelihood. (Value: "UNKNOWN") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_Unlikely - * It is unlikely that the image belongs to the specified vertical. - * (Value: "UNLIKELY") + * It is unlikely. (Value: "UNLIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_VeryLikely - * It is very likely that the image belongs to the specified vertical. - * (Value: "VERY_LIKELY") + * It is very likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation_Violence_VeryUnlikely - * It is very unlikely that the image belongs to the specified vertical. - * (Value: "VERY_UNLIKELY") + * It is very unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *violence; +/** + * Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *violenceConfidence; + @end @@ -15327,6 +15355,9 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik /** The bounding polygon around the product detected in the query image. */ @property(nonatomic, strong, nullable) GTLRVision_BoundingPoly *boundingPoly; +/** List of generic predictions for the object in the bounding box. */ +@property(nonatomic, strong, nullable) NSArray *objectAnnotations; + /** List of results, one for each product match. */ @property(nonatomic, strong, nullable) NSArray *results; @@ -15939,6 +15970,34 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik @end +/** + * Prediction for what the object in the bounding box is. + */ +@interface GTLRVision_ObjectAnnotation : GTLRObject + +/** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Object ID that should align with EntityAnnotation mid. */ +@property(nonatomic, copy, nullable) NSString *mid; + +/** Object name, expressed in its `language_code` language. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Score of the result. Range [0, 1]. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -16348,6 +16407,21 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik @end +/** + * Config to control which ProductSet contains the Products to be deleted. + */ +@interface GTLRVision_ProductSetPurgeConfig : GTLRObject + +/** + * The ProductSet that contains the Products to delete. If a Product is a + * member of product_set_id in addition to other ProductSets, the Product will + * still be deleted. + */ +@property(nonatomic, copy, nullable) NSString *productSetId; + +@end + + /** * A `Property` consists of a user-supplied name/value pair. */ @@ -16369,6 +16443,33 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik @end +/** + * Request message for the `PurgeProducts` method. + */ +@interface GTLRVision_PurgeProductsRequest : GTLRObject + +/** + * If delete_orphan_products is true, all Products that are not in any + * ProductSet will be deleted. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deleteOrphanProducts; + +/** + * The default value is false. Override this value to true to actually perform + * the purge. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + +/** Specify which ProductSet contains the Products to be deleted. */ +@property(nonatomic, strong, nullable) GTLRVision_ProductSetPurgeConfig *productSetPurgeConfig; + +@end + + /** * A `ReferenceImage` represents a product image and its associated metadata, * such as bounding boxes. @@ -16457,44 +16558,64 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * sexual activities. * * Likely values: - * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Likely It is likely that - * the image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Possible It is possible - * that the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Likely It is likely. + * (Value: "LIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Possible It is possible. + * (Value: "POSSIBLE") * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Unknown Unknown likelihood. * (Value: "UNKNOWN") - * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Unlikely It is unlikely - * that the image belongs to the specified vertical. (Value: "UNLIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_Unlikely It is unlikely. + * (Value: "UNLIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Adult_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *adult; +/** + * Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *adultConfidence; + /** * Likelihood that this is a medical image. * * Likely values: - * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Likely It is likely that - * the image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Possible It is possible - * that the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Likely It is likely. + * (Value: "LIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Possible It is possible. + * (Value: "POSSIBLE") * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Unknown Unknown * likelihood. (Value: "UNKNOWN") - * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Unlikely It is unlikely - * that the image belongs to the specified vertical. (Value: "UNLIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_Unlikely It is unlikely. + * (Value: "UNLIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Medical_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *medical; +/** + * Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *medicalConfidence; + +/** + * Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very + * confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nsfwConfidence; + /** * Likelihood that the request image contains racy content. Racy content may * include (but is not limited to) skimpy or sheer clothing, strategically @@ -16502,67 +16623,85 @@ GTLR_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlik * body areas. * * Likely values: - * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Likely It is likely that the - * image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Possible It is possible that - * the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Likely It is likely. (Value: + * "LIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Possible It is possible. + * (Value: "POSSIBLE") * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Unknown Unknown likelihood. * (Value: "UNKNOWN") - * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Unlikely It is unlikely that - * the image belongs to the specified vertical. (Value: "UNLIKELY") - * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_VeryLikely It is very likely - * that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_Unlikely It is unlikely. + * (Value: "UNLIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_VeryLikely It is very + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Racy_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *racy; +/** + * Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very + * confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *racyConfidence; + /** * Spoof likelihood. The likelihood that an modification * was made to the image's canonical version to make it appear * funny or offensive. * * Likely values: - * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Likely It is likely that - * the image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Possible It is possible - * that the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Likely It is likely. + * (Value: "LIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Possible It is possible. + * (Value: "POSSIBLE") * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Unknown Unknown likelihood. * (Value: "UNKNOWN") - * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Unlikely It is unlikely - * that the image belongs to the specified vertical. (Value: "UNLIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_Unlikely It is unlikely. + * (Value: "UNLIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Spoof_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *spoof; +/** + * Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *spoofConfidence; + /** * Likelihood that this image contains violent content. * * Likely values: - * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Likely It is likely that - * the image belongs to the specified vertical. (Value: "LIKELY") - * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Possible It is possible - * that the image belongs to the specified vertical. (Value: "POSSIBLE") + * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Likely It is likely. + * (Value: "LIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Possible It is possible. + * (Value: "POSSIBLE") * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Unknown Unknown * likelihood. (Value: "UNKNOWN") - * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Unlikely It is unlikely - * that the image belongs to the specified vertical. (Value: "UNLIKELY") + * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_Unlikely It is unlikely. + * (Value: "UNLIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_VeryLikely It is very - * likely that the image belongs to the specified vertical. (Value: - * "VERY_LIKELY") + * likely. (Value: "VERY_LIKELY") * @arg @c kGTLRVision_SafeSearchAnnotation_Violence_VeryUnlikely It is very - * unlikely that the image belongs to the specified vertical. (Value: - * "VERY_UNLIKELY") + * unlikely. (Value: "VERY_UNLIKELY") */ @property(nonatomic, copy, nullable) NSString *violence; +/** + * Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means + * very confident. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *violenceConfidence; + @end diff --git a/Source/GeneratedServices/Vision/GTLRVisionObjects.m b/Source/GeneratedServices/Vision/GTLRVisionObjects.m index dfccef908..33f93c427 100644 --- a/Source/GeneratedServices/Vision/GTLRVisionObjects.m +++ b/Source/GeneratedServices/Vision/GTLRVisionObjects.m @@ -1036,7 +1036,7 @@ @implementation GTLRVision_AnnotateFileRequest // @implementation GTLRVision_AnnotateFileResponse -@dynamic inputConfig, responses, totalPages; +@dynamic error, inputConfig, responses, totalPages; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1127,7 +1127,7 @@ @implementation GTLRVision_AsyncAnnotateFileResponse // @implementation GTLRVision_AsyncBatchAnnotateFilesRequest -@dynamic requests; +@dynamic parent, requests; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1163,7 +1163,7 @@ @implementation GTLRVision_AsyncBatchAnnotateFilesResponse // @implementation GTLRVision_AsyncBatchAnnotateImagesRequest -@dynamic outputConfig, requests; +@dynamic outputConfig, parent, requests; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1191,7 +1191,7 @@ @implementation GTLRVision_AsyncBatchAnnotateImagesResponse // @implementation GTLRVision_BatchAnnotateFilesRequest -@dynamic requests; +@dynamic parent, requests; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1227,7 +1227,7 @@ @implementation GTLRVision_BatchAnnotateFilesResponse // @implementation GTLRVision_BatchAnnotateImagesRequest -@dynamic requests; +@dynamic parent, requests; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1508,7 +1508,7 @@ @implementation GTLRVision_GcsSource // @implementation GTLRVision_GoogleCloudVisionV1p1beta1AnnotateFileResponse -@dynamic inputConfig, responses, totalPages; +@dynamic error, inputConfig, responses, totalPages; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1927,10 +1927,11 @@ @implementation GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResults // @implementation GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult -@dynamic boundingPoly, results; +@dynamic boundingPoly, objectAnnotations, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"objectAnnotations" : [GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation class], @"results" : [GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult class] }; return map; @@ -1939,6 +1940,16 @@ @implementation GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsGrouped @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation +// + +@implementation GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation +@dynamic languageCode, mid, name, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult @@ -2147,7 +2158,7 @@ @implementation GTLRVision_GoogleCloudVisionV1p1beta1Word // @implementation GTLRVision_GoogleCloudVisionV1p2beta1AnnotateFileResponse -@dynamic inputConfig, responses, totalPages; +@dynamic error, inputConfig, responses, totalPages; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2566,10 +2577,11 @@ @implementation GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResults // @implementation GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult -@dynamic boundingPoly, results; +@dynamic boundingPoly, objectAnnotations, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"objectAnnotations" : [GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation class], @"results" : [GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsResult class] }; return map; @@ -2578,6 +2590,16 @@ @implementation GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsGrouped @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation +// + +@implementation GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation +@dynamic languageCode, mid, name, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_GoogleCloudVisionV1p2beta1ProductSearchResultsResult @@ -2786,7 +2808,7 @@ @implementation GTLRVision_GoogleCloudVisionV1p2beta1Word // @implementation GTLRVision_GoogleCloudVisionV1p3beta1AnnotateFileResponse -@dynamic inputConfig, responses, totalPages; +@dynamic error, inputConfig, responses, totalPages; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3234,10 +3256,11 @@ @implementation GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResults // @implementation GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult -@dynamic boundingPoly, results; +@dynamic boundingPoly, objectAnnotations, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"objectAnnotations" : [GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation class], @"results" : [GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsResult class] }; return map; @@ -3246,6 +3269,16 @@ @implementation GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsGrouped @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation +// + +@implementation GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation +@dynamic languageCode, mid, name, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_GoogleCloudVisionV1p3beta1ProductSearchResultsResult @@ -3472,7 +3505,7 @@ @implementation GTLRVision_GoogleCloudVisionV1p3beta1Word // @implementation GTLRVision_GoogleCloudVisionV1p4beta1AnnotateFileResponse -@dynamic inputConfig, responses, totalPages; +@dynamic error, inputConfig, responses, totalPages; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3772,6 +3805,7 @@ @implementation GTLRVision_GoogleCloudVisionV1p4beta1ImageProperties // @implementation GTLRVision_GoogleCloudVisionV1p4beta1ImageQuality +@dynamic qualityScore; @end @@ -3957,10 +3991,11 @@ @implementation GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResults // @implementation GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsGroupedResult -@dynamic boundingPoly, results; +@dynamic boundingPoly, objectAnnotations, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"objectAnnotations" : [GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation class], @"results" : [GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsResult class] }; return map; @@ -3969,6 +4004,16 @@ @implementation GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsGrouped @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation +// + +@implementation GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation +@dynamic languageCode, mid, name, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_GoogleCloudVisionV1p4beta1ProductSearchResultsResult @@ -4023,7 +4068,9 @@ @implementation GTLRVision_GoogleCloudVisionV1p4beta1ReferenceImage // @implementation GTLRVision_GoogleCloudVisionV1p4beta1SafeSearchAnnotation -@dynamic adult, medical, racy, spoof, violence; +@dynamic adult, adultConfidence, medical, medicalConfidence, nsfwConfidence, + racy, racyConfidence, spoof, spoofConfidence, violence, + violenceConfidence; @end @@ -4205,7 +4252,7 @@ @implementation GTLRVision_GoogleCloudVisionV1p4beta1Word // @implementation GTLRVision_GoogleCloudVisionV1p5beta1AnnotateFileResponse -@dynamic inputConfig, responses, totalPages; +@dynamic error, inputConfig, responses, totalPages; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4692,10 +4739,11 @@ @implementation GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResults // @implementation GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsGroupedResult -@dynamic boundingPoly, results; +@dynamic boundingPoly, objectAnnotations, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"objectAnnotations" : [GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation class], @"results" : [GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsResult class] }; return map; @@ -4704,6 +4752,16 @@ @implementation GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsGrouped @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation +// + +@implementation GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation +@dynamic languageCode, mid, name, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_GoogleCloudVisionV1p5beta1ProductSearchResultsResult @@ -4748,7 +4806,9 @@ @implementation GTLRVision_GoogleCloudVisionV1p5beta1ReferenceImage // @implementation GTLRVision_GoogleCloudVisionV1p5beta1SafeSearchAnnotation -@dynamic adult, medical, racy, spoof, violence; +@dynamic adult, adultConfidence, medical, medicalConfidence, nsfwConfidence, + racy, racyConfidence, spoof, spoofConfidence, violence, + violenceConfidence; @end @@ -4977,10 +5037,11 @@ @implementation GTLRVision_GoogleCloudVisionV1p5beta1Word // @implementation GTLRVision_GroupedResult -@dynamic boundingPoly, results; +@dynamic boundingPoly, objectAnnotations, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"objectAnnotations" : [GTLRVision_ObjectAnnotation class], @"results" : [GTLRVision_Result class] }; return map; @@ -5287,6 +5348,16 @@ @implementation GTLRVision_NormalizedVertex @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_ObjectAnnotation +// + +@implementation GTLRVision_ObjectAnnotation +@dynamic languageCode, mid, name, score; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_Operation @@ -5460,6 +5531,16 @@ @implementation GTLRVision_ProductSet @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_ProductSetPurgeConfig +// + +@implementation GTLRVision_ProductSetPurgeConfig +@dynamic productSetId; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_Property @@ -5470,6 +5551,16 @@ @implementation GTLRVision_Property @end +// ---------------------------------------------------------------------------- +// +// GTLRVision_PurgeProductsRequest +// + +@implementation GTLRVision_PurgeProductsRequest +@dynamic deleteOrphanProducts, force, productSetPurgeConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRVision_ReferenceImage @@ -5514,7 +5605,9 @@ @implementation GTLRVision_Result // @implementation GTLRVision_SafeSearchAnnotation -@dynamic adult, medical, racy, spoof, violence; +@dynamic adult, adultConfidence, medical, medicalConfidence, nsfwConfidence, + racy, racyConfidence, spoof, spoofConfidence, violence, + violenceConfidence; @end diff --git a/Source/GeneratedServices/Vision/GTLRVisionQuery.h b/Source/GeneratedServices/Vision/GTLRVisionQuery.h index d22913e92..86638241e 100644 --- a/Source/GeneratedServices/Vision/GTLRVisionQuery.h +++ b/Source/GeneratedServices/Vision/GTLRVisionQuery.h @@ -29,6 +29,7 @@ @class GTLRVision_ImportProductSetsRequest; @class GTLRVision_Product; @class GTLRVision_ProductSet; +@class GTLRVision_PurgeProductsRequest; @class GTLRVision_ReferenceImage; @class GTLRVision_RemoveProductFromProductSetRequest; @@ -398,6 +399,454 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Service that performs image detection and annotation for a batch of files. + * Now only "application/pdf", "image/tiff" and "image/gif" are supported. + * This service will extract at most 5 (customers can specify which 5 in + * AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each + * file provided and perform detection and annotation for each image + * extracted. + * + * Method: vision.projects.files.annotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsFilesAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsFilesAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_BatchAnnotateFilesResponse. + * + * Service that performs image detection and annotation for a batch of files. + * Now only "application/pdf", "image/tiff" and "image/gif" are supported. + * This service will extract at most 5 (customers can specify which 5 in + * AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each + * file provided and perform detection and annotation for each image + * extracted. + * + * @param object The @c GTLRVision_BatchAnnotateFilesRequest to include in the + * query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsFilesAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateFilesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Run asynchronous image detection and annotation for a list of generic + * files, such as PDF files, which may contain multiple pages and multiple + * images per page. Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). + * + * Method: vision.projects.files.asyncBatchAnnotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsFilesAsyncBatchAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsFilesAsyncBatchAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_Operation. + * + * Run asynchronous image detection and annotation for a list of generic + * files, such as PDF files, which may contain multiple pages and multiple + * images per page. Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). + * + * @param object The @c GTLRVision_AsyncBatchAnnotateFilesRequest to include in + * the query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsFilesAsyncBatchAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateFilesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Run image detection and annotation for a batch of images. + * + * Method: vision.projects.images.annotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsImagesAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsImagesAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_BatchAnnotateImagesResponse. + * + * Run image detection and annotation for a batch of images. + * + * @param object The @c GTLRVision_BatchAnnotateImagesRequest to include in the + * query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsImagesAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateImagesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Run asynchronous image detection and annotation for a list of images. + * Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). + * This service will write image annotation outputs to json files in customer + * GCS bucket, each json file containing BatchAnnotateImagesResponse proto. + * + * Method: vision.projects.images.asyncBatchAnnotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsImagesAsyncBatchAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsImagesAsyncBatchAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_Operation. + * + * Run asynchronous image detection and annotation for a list of images. + * Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). + * This service will write image annotation outputs to json files in customer + * GCS bucket, each json file containing BatchAnnotateImagesResponse proto. + * + * @param object The @c GTLRVision_AsyncBatchAnnotateImagesRequest to include + * in the query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsImagesAsyncBatchAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateImagesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Service that performs image detection and annotation for a batch of files. + * Now only "application/pdf", "image/tiff" and "image/gif" are supported. + * This service will extract at most 5 (customers can specify which 5 in + * AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each + * file provided and perform detection and annotation for each image + * extracted. + * + * Method: vision.projects.locations.files.annotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsLocationsFilesAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsLocationsFilesAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_BatchAnnotateFilesResponse. + * + * Service that performs image detection and annotation for a batch of files. + * Now only "application/pdf", "image/tiff" and "image/gif" are supported. + * This service will extract at most 5 (customers can specify which 5 in + * AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each + * file provided and perform detection and annotation for each image + * extracted. + * + * @param object The @c GTLRVision_BatchAnnotateFilesRequest to include in the + * query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsLocationsFilesAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateFilesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Run asynchronous image detection and annotation for a list of generic + * files, such as PDF files, which may contain multiple pages and multiple + * images per page. Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). + * + * Method: vision.projects.locations.files.asyncBatchAnnotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsLocationsFilesAsyncBatchAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsLocationsFilesAsyncBatchAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_Operation. + * + * Run asynchronous image detection and annotation for a list of generic + * files, such as PDF files, which may contain multiple pages and multiple + * images per page. Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). + * + * @param object The @c GTLRVision_AsyncBatchAnnotateFilesRequest to include in + * the query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsLocationsFilesAsyncBatchAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateFilesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Run image detection and annotation for a batch of images. + * + * Method: vision.projects.locations.images.annotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsLocationsImagesAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsLocationsImagesAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_BatchAnnotateImagesResponse. + * + * Run image detection and annotation for a batch of images. + * + * @param object The @c GTLRVision_BatchAnnotateImagesRequest to include in the + * query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsLocationsImagesAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateImagesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Run asynchronous image detection and annotation for a list of images. + * Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). + * This service will write image annotation outputs to json files in customer + * GCS bucket, each json file containing BatchAnnotateImagesResponse proto. + * + * Method: vision.projects.locations.images.asyncBatchAnnotate + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsLocationsImagesAsyncBatchAnnotate : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsLocationsImagesAsyncBatchAnnotateWithObject:parent:] + +/** + * Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_Operation. + * + * Run asynchronous image detection and annotation for a list of images. + * Progress and results can be retrieved through the + * `google.longrunning.Operations` interface. + * `Operation.metadata` contains `OperationMetadata` (metadata). + * `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results). + * This service will write image annotation outputs to json files in customer + * GCS bucket, each json file containing BatchAnnotateImagesResponse proto. + * + * @param object The @c GTLRVision_AsyncBatchAnnotateImagesRequest to include + * in the query. + * @param parent Optional. Target project and location to make a call. + * Format: `projects/{project-id}/locations/{location-id}`. + * If no parent is specified, a region will be chosen automatically. + * Supported location-ids: + * `us`: USA country only, + * `asia`: East asia areas, like Japan, Taiwan, + * `eu`: The European Union. + * Example: `projects/project-A/locations/eu`. + * + * @return GTLRVisionQuery_ProjectsLocationsImagesAsyncBatchAnnotate + */ ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateImagesRequest *)object + parent:(NSString *)parent; + +@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 @@ -1112,6 +1561,79 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Asynchronous API to delete all Products in a ProductSet or all Products + * that are in no ProductSet. + * If a Product is a member of the specified ProductSet in addition to other + * ProductSets, the Product will still be deleted. + * It is recommended to not delete the specified ProductSet until after this + * operation has completed. It is also recommended to not add any of the + * Products involved in the batch delete to a new ProductSet while this + * operation is running because those Products may still end up deleted. + * It's not possible to undo the PurgeProducts operation. Therefore, it is + * recommended to keep the csv files used in ImportProductSets (if that was + * how you originally built the Product Set) before starting PurgeProducts, in + * case you need to re-import the data after deletion. + * If the plan is to purge all of the Products from a ProductSet and then + * re-use the empty ProductSet to re-import new Products into the empty + * ProductSet, you must wait until the PurgeProducts operation has finished + * for that ProductSet. + * The google.longrunning.Operation API can be used to keep track of the + * progress and results of the request. + * `Operation.metadata` contains `BatchOperationMetadata`. (progress) + * + * Method: vision.projects.locations.products.purge + * + * Authorization scope(s): + * @c kGTLRAuthScopeVisionCloudPlatform + * @c kGTLRAuthScopeVisionCloudVision + */ +@interface GTLRVisionQuery_ProjectsLocationsProductsPurge : GTLRVisionQuery +// Previous library name was +// +[GTLQueryVision queryForProjectsLocationsProductsPurgeWithObject:parent:] + +/** + * The project and location in which the Products should be deleted. + * Format is `projects/PROJECT_ID/locations/LOC_ID`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRVision_Operation. + * + * Asynchronous API to delete all Products in a ProductSet or all Products + * that are in no ProductSet. + * If a Product is a member of the specified ProductSet in addition to other + * ProductSets, the Product will still be deleted. + * It is recommended to not delete the specified ProductSet until after this + * operation has completed. It is also recommended to not add any of the + * Products involved in the batch delete to a new ProductSet while this + * operation is running because those Products may still end up deleted. + * It's not possible to undo the PurgeProducts operation. Therefore, it is + * recommended to keep the csv files used in ImportProductSets (if that was + * how you originally built the Product Set) before starting PurgeProducts, in + * case you need to re-import the data after deletion. + * If the plan is to purge all of the Products from a ProductSet and then + * re-use the empty ProductSet to re-import new Products into the empty + * ProductSet, you must wait until the PurgeProducts operation has finished + * for that ProductSet. + * The google.longrunning.Operation API can be used to keep track of the + * progress and results of the request. + * `Operation.metadata` contains `BatchOperationMetadata`. (progress) + * + * @param object The @c GTLRVision_PurgeProductsRequest to include in the + * query. + * @param parent The project and location in which the Products should be + * deleted. + * Format is `projects/PROJECT_ID/locations/LOC_ID`. + * + * @return GTLRVisionQuery_ProjectsLocationsProductsPurge + */ ++ (instancetype)queryWithObject:(GTLRVision_PurgeProductsRequest *)object + parent:(NSString *)parent; + +@end + /** * Creates and returns a new ReferenceImage resource. * The `bounding_poly` field is optional. If `bounding_poly` is not specified, diff --git a/Source/GeneratedServices/Vision/GTLRVisionQuery.m b/Source/GeneratedServices/Vision/GTLRVisionQuery.m index 7ccfc7e50..f194f991e 100644 --- a/Source/GeneratedServices/Vision/GTLRVisionQuery.m +++ b/Source/GeneratedServices/Vision/GTLRVisionQuery.m @@ -201,6 +201,206 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRVisionQuery_ProjectsFilesAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateFilesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/files:annotate"; + GTLRVisionQuery_ProjectsFilesAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_BatchAnnotateFilesResponse class]; + query.loggingName = @"vision.projects.files.annotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsFilesAsyncBatchAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateFilesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/files:asyncBatchAnnotate"; + GTLRVisionQuery_ProjectsFilesAsyncBatchAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_Operation class]; + query.loggingName = @"vision.projects.files.asyncBatchAnnotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsImagesAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateImagesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/images:annotate"; + GTLRVisionQuery_ProjectsImagesAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_BatchAnnotateImagesResponse class]; + query.loggingName = @"vision.projects.images.annotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsImagesAsyncBatchAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateImagesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/images:asyncBatchAnnotate"; + GTLRVisionQuery_ProjectsImagesAsyncBatchAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_Operation class]; + query.loggingName = @"vision.projects.images.asyncBatchAnnotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsLocationsFilesAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateFilesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/files:annotate"; + GTLRVisionQuery_ProjectsLocationsFilesAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_BatchAnnotateFilesResponse class]; + query.loggingName = @"vision.projects.locations.files.annotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsLocationsFilesAsyncBatchAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateFilesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/files:asyncBatchAnnotate"; + GTLRVisionQuery_ProjectsLocationsFilesAsyncBatchAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_Operation class]; + query.loggingName = @"vision.projects.locations.files.asyncBatchAnnotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsLocationsImagesAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_BatchAnnotateImagesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/images:annotate"; + GTLRVisionQuery_ProjectsLocationsImagesAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_BatchAnnotateImagesResponse class]; + query.loggingName = @"vision.projects.locations.images.annotate"; + return query; +} + +@end + +@implementation GTLRVisionQuery_ProjectsLocationsImagesAsyncBatchAnnotate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_AsyncBatchAnnotateImagesRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/images:asyncBatchAnnotate"; + GTLRVisionQuery_ProjectsLocationsImagesAsyncBatchAnnotate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_Operation class]; + query.loggingName = @"vision.projects.locations.images.asyncBatchAnnotate"; + return query; +} + +@end + @implementation GTLRVisionQuery_ProjectsLocationsOperationsGet @dynamic name; @@ -528,6 +728,31 @@ + (instancetype)queryWithObject:(GTLRVision_Product *)object @end +@implementation GTLRVisionQuery_ProjectsLocationsProductsPurge + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRVision_PurgeProductsRequest *)object + parent:(NSString *)parent { + if (object == nil) { + GTLR_DEBUG_ASSERT(object != nil, @"Got a nil object"); + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/products:purge"; + GTLRVisionQuery_ProjectsLocationsProductsPurge *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRVision_Operation class]; + query.loggingName = @"vision.projects.locations.products.purge"; + return query; +} + +@end + @implementation GTLRVisionQuery_ProjectsLocationsProductsReferenceImagesCreate @dynamic parent, referenceImageId; diff --git a/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.h b/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.h index 480024994..d88c6af4a 100644 --- a/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.h +++ b/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.h @@ -78,6 +78,7 @@ @class GTLRYouTube_InvideoPromotion; @class GTLRYouTube_InvideoTiming; @class GTLRYouTube_LanguageTag; +@class GTLRYouTube_LevelDetails; @class GTLRYouTube_LiveBroadcast; @class GTLRYouTube_LiveBroadcastContentDetails; @class GTLRYouTube_LiveBroadcastSnippet; @@ -109,6 +110,11 @@ @class GTLRYouTube_LiveStreamStatus; @class GTLRYouTube_LocalizedProperty; @class GTLRYouTube_LocalizedString; +@class GTLRYouTube_Member; +@class GTLRYouTube_MembershipsDetails; +@class GTLRYouTube_MembershipsLevel; +@class GTLRYouTube_MembershipsLevelSnippet; +@class GTLRYouTube_MemberSnippet; @class GTLRYouTube_MonitorStreamInfo; @class GTLRYouTube_Nonprofit; @class GTLRYouTube_NonprofitId; @@ -1499,6 +1505,8 @@ GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NfvcbRating_NfvcbUnrated /** Value: "nkclv12plus" */ GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv12plus; +/** Value: "nkclv16plus" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv16plus; /** Value: "nkclv18plus" */ GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv18plus; /** Value: "nkclv7plus" */ @@ -1508,6 +1516,26 @@ GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NkclvRating_NkclvU; /** Value: "nkclvUnrated" */ GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NkclvRating_NkclvUnrated; +// ---------------------------------------------------------------------------- +// GTLRYouTube_ContentRating.nmcRating + +/** Value: "nmc15plus" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_Nmc15plus; +/** Value: "nmc18plus" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_Nmc18plus; +/** Value: "nmc18tc" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_Nmc18tc; +/** Value: "nmcG" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcG; +/** Value: "nmcPg" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcPg; +/** Value: "nmcPg13" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcPg13; +/** Value: "nmcPg15" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcPg15; +/** Value: "nmcUnrated" */ +GTLR_EXTERN NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcUnrated; + // ---------------------------------------------------------------------------- // GTLRYouTube_ContentRating.oflcRating @@ -4220,7 +4248,7 @@ GTLR_EXTERN NSString * const kGTLRYouTube_VideoSuggestions_ProcessingWarnings_Un /** * Ratings schemes. The country-specific ratings are mostly for movies and - * shows. NEXT_ID: 71 + * shows. NEXT_ID: 72 */ @interface GTLRYouTube_ContentRating : GTLRObject @@ -5147,6 +5175,8 @@ GTLR_EXTERN NSString * const kGTLRYouTube_VideoSuggestions_ProcessingWarnings_Un * Likely values: * @arg @c kGTLRYouTube_ContentRating_NkclvRating_Nkclv12plus Value * "nkclv12plus" + * @arg @c kGTLRYouTube_ContentRating_NkclvRating_Nkclv16plus Value + * "nkclv16plus" * @arg @c kGTLRYouTube_ContentRating_NkclvRating_Nkclv18plus Value * "nkclv18plus" * @arg @c kGTLRYouTube_ContentRating_NkclvRating_Nkclv7plus Value @@ -5157,6 +5187,21 @@ GTLR_EXTERN NSString * const kGTLRYouTube_VideoSuggestions_ProcessingWarnings_Un */ @property(nonatomic, copy, nullable) NSString *nkclvRating; +/** + * nmcRating + * + * Likely values: + * @arg @c kGTLRYouTube_ContentRating_NmcRating_Nmc15plus Value "nmc15plus" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_Nmc18plus Value "nmc18plus" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_Nmc18tc Value "nmc18tc" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_NmcG Value "nmcG" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_NmcPg Value "nmcPg" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_NmcPg13 Value "nmcPg13" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_NmcPg15 Value "nmcPg15" + * @arg @c kGTLRYouTube_ContentRating_NmcRating_NmcUnrated Value "nmcUnrated" + */ +@property(nonatomic, copy, nullable) NSString *nmcRating; + /** * The video's Office of Film and Literature Classification (OFLC - New * Zealand) rating. @@ -5893,6 +5938,16 @@ GTLR_EXTERN NSString * const kGTLRYouTube_VideoSuggestions_ProcessingWarnings_Un @end +/** + * GTLRYouTube_LevelDetails + */ +@interface GTLRYouTube_LevelDetails : GTLRObject + +@property(nonatomic, copy, nullable) NSString *displayName; + +@end + + /** * A liveBroadcast resource represents an event that will be streamed, via live * video, on YouTube. @@ -7392,6 +7447,219 @@ GTLR_EXTERN NSString * const kGTLRYouTube_VideoSuggestions_ProcessingWarnings_Un @end +/** + * A member resource represents a member for a YouTube channel. A member + * provides recurring monetary support to a creator and receives special + * benefits. + */ +@interface GTLRYouTube_Member : GTLRObject + +/** Etag of this resource. */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * The ID that YouTube assigns to uniquely identify the member. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "youtube#member". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The snippet object contains basic details about the member. */ +@property(nonatomic, strong, nullable) GTLRYouTube_MemberSnippet *snippet; + +@end + + +/** + * GTLRYouTube_MemberListResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "items" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRYouTube_MemberListResponse : GTLRCollectionObject + +/** Etag of this resource. */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Serialized EventId of the request which produced this response. */ +@property(nonatomic, copy, nullable) NSString *eventId; + +/** + * A list of members that match the request criteria. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "youtube#memberListResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * The token that can be used as the value of the pageToken parameter to + * retrieve the next page in the result set. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@property(nonatomic, strong, nullable) GTLRYouTube_PageInfo *pageInfo; +@property(nonatomic, strong, nullable) GTLRYouTube_TokenPagination *tokenPagination; + +/** The visitorId identifies the visitor. */ +@property(nonatomic, copy, nullable) NSString *visitorId; + +@end + + +/** + * GTLRYouTube_MembershipsDetails + */ +@interface GTLRYouTube_MembershipsDetails : GTLRObject + +/** + * All levels that the user has access to. This includes the purchased level + * and all other levels that are included because of a higher purchase. + */ +@property(nonatomic, strong, nullable) NSArray *accessibleLevels; + +/** + * The date and time when the user became a continuous member across all + * levels. + */ +@property(nonatomic, copy, nullable) NSString *memberSince; + +/** + * The date and time when the user started to continuously have access to the + * currently highest level. + */ +@property(nonatomic, copy, nullable) NSString *memberSinceCurrentLevel; + +/** + * The cumulative time the user has been a member across all levels in complete + * months (the time is rounded down to the nearest integer). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memberTotalDuration; + +/** + * The cumulative time the user has had access to the currently highest level + * in complete months (the time is rounded down to the nearest integer). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memberTotalDurationCurrentLevel; + +/** The highest level the user has access to at the moment. */ +@property(nonatomic, copy, nullable) NSString *purchasedLevel; + +@end + + +/** + * A membershipsLevel resource represents an offer made by YouTube creators for + * their fans. Users can become members of the channel by joining one of the + * available levels. They will provide recurring monetary support and receives + * special benefits. + */ +@interface GTLRYouTube_MembershipsLevel : GTLRObject + +/** Etag of this resource. */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * The ID that YouTube assigns to uniquely identify the memberships level. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "youtube#membershipsLevel". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The snippet object contains basic details about the level. */ +@property(nonatomic, strong, nullable) GTLRYouTube_MembershipsLevelSnippet *snippet; + +@end + + +/** + * GTLRYouTube_MembershipsLevelListResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "items" property. + */ +@interface GTLRYouTube_MembershipsLevelListResponse : GTLRCollectionObject + +/** Etag of this resource. */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Serialized EventId of the request which produced this response. */ +@property(nonatomic, copy, nullable) NSString *eventId; + +/** + * A list of pricing levels offered by a creator to the fans. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "youtube#membershipsLevelListResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** The visitorId identifies the visitor. */ +@property(nonatomic, copy, nullable) NSString *visitorId; + +@end + + +/** + * GTLRYouTube_MembershipsLevelSnippet + */ +@interface GTLRYouTube_MembershipsLevelSnippet : GTLRObject + +/** The id of the channel that's offering channel memberships. */ +@property(nonatomic, copy, nullable) NSString *creatorChannelId; + +@property(nonatomic, strong, nullable) GTLRYouTube_LevelDetails *levelDetails; + +@end + + +/** + * GTLRYouTube_MemberSnippet + */ +@interface GTLRYouTube_MemberSnippet : GTLRObject + +/** The id of the channel that's offering memberships. */ +@property(nonatomic, copy, nullable) NSString *creatorChannelId; + +/** Details about the member. */ +@property(nonatomic, strong, nullable) GTLRYouTube_ChannelProfileDetails *memberDetails; + +/** Details about the user's membership. */ +@property(nonatomic, strong, nullable) GTLRYouTube_MembershipsDetails *membershipsDetails; + +@end + + /** * Settings and Info of the monitor stream */ diff --git a/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.m b/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.m index c013d08f1..25f478064 100644 --- a/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.m +++ b/Source/GeneratedServices/YouTube/GTLRYouTubeObjects.m @@ -672,11 +672,22 @@ // GTLRYouTube_ContentRating.nkclvRating NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv12plus = @"nkclv12plus"; +NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv16plus = @"nkclv16plus"; NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv18plus = @"nkclv18plus"; NSString * const kGTLRYouTube_ContentRating_NkclvRating_Nkclv7plus = @"nkclv7plus"; NSString * const kGTLRYouTube_ContentRating_NkclvRating_NkclvU = @"nkclvU"; NSString * const kGTLRYouTube_ContentRating_NkclvRating_NkclvUnrated = @"nkclvUnrated"; +// GTLRYouTube_ContentRating.nmcRating +NSString * const kGTLRYouTube_ContentRating_NmcRating_Nmc15plus = @"nmc15plus"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_Nmc18plus = @"nmc18plus"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_Nmc18tc = @"nmc18tc"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcG = @"nmcG"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcPg = @"nmcPg"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcPg13 = @"nmcPg13"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcPg15 = @"nmcPg15"; +NSString * const kGTLRYouTube_ContentRating_NmcRating_NmcUnrated = @"nmcUnrated"; + // GTLRYouTube_ContentRating.oflcRating NSString * const kGTLRYouTube_ContentRating_OflcRating_OflcG = @"oflcG"; NSString * const kGTLRYouTube_ContentRating_OflcRating_OflcM = @"oflcM"; @@ -1874,9 +1885,10 @@ @implementation GTLRYouTube_ContentRating mccypRating, mcstRating, mdaRating, medietilsynetRating, mekuRating, menaMpaaRating, mibacRating, mocRating, moctwRating, mpaaRating, mpaatRating, mtrcbRating, nbcplRating, nbcRating, nfrcRating, - nfvcbRating, nkclvRating, oflcRating, pefilmRating, rcnofRating, - resorteviolenciaRating, rtcRating, rteRating, russiaRating, - skfilmRating, smaisRating, smsaRating, tvpgRating, ytRating; + nfvcbRating, nkclvRating, nmcRating, oflcRating, pefilmRating, + rcnofRating, resorteviolenciaRating, rtcRating, rteRating, + russiaRating, skfilmRating, smaisRating, smsaRating, tvpgRating, + ytRating; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2139,6 +2151,16 @@ @implementation GTLRYouTube_LanguageTag @end +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_LevelDetails +// + +@implementation GTLRYouTube_LevelDetails +@dynamic displayName; +@end + + // ---------------------------------------------------------------------------- // // GTLRYouTube_LiveBroadcast @@ -2672,6 +2694,128 @@ @implementation GTLRYouTube_LocalizedString @end +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_Member +// + +@implementation GTLRYouTube_Member +@dynamic ETag, identifier, kind, snippet; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"ETag" : @"etag", + @"identifier" : @"id" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_MemberListResponse +// + +@implementation GTLRYouTube_MemberListResponse +@dynamic ETag, eventId, items, kind, nextPageToken, pageInfo, tokenPagination, + visitorId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"items" : [GTLRYouTube_Member class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_MembershipsDetails +// + +@implementation GTLRYouTube_MembershipsDetails +@dynamic accessibleLevels, memberSince, memberSinceCurrentLevel, + memberTotalDuration, memberTotalDurationCurrentLevel, purchasedLevel; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"accessibleLevels" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_MembershipsLevel +// + +@implementation GTLRYouTube_MembershipsLevel +@dynamic ETag, identifier, kind, snippet; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"ETag" : @"etag", + @"identifier" : @"id" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_MembershipsLevelListResponse +// + +@implementation GTLRYouTube_MembershipsLevelListResponse +@dynamic ETag, eventId, items, kind, visitorId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"items" : [GTLRYouTube_MembershipsLevel class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_MembershipsLevelSnippet +// + +@implementation GTLRYouTube_MembershipsLevelSnippet +@dynamic creatorChannelId, levelDetails; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRYouTube_MemberSnippet +// + +@implementation GTLRYouTube_MemberSnippet +@dynamic creatorChannelId, memberDetails, membershipsDetails; +@end + + // ---------------------------------------------------------------------------- // // GTLRYouTube_MonitorStreamInfo diff --git a/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.h b/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.h index 913adb4b8..ab95ee2fc 100644 --- a/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.h +++ b/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.h @@ -185,6 +185,23 @@ GTLR_EXTERN NSString * const kGTLRYouTubeFilterAll; */ GTLR_EXTERN NSString * const kGTLRYouTubeFilterNewest; +// ---------------------------------------------------------------------------- +// mode + +/** + * Return all current members, from newest to oldest. + * + * Value: "all_current" + */ +GTLR_EXTERN NSString * const kGTLRYouTubeModeAllCurrent; +/** + * Return only members that joined after the first call with this mode was + * made. + * + * Value: "updates" + */ +GTLR_EXTERN NSString * const kGTLRYouTubeModeUpdates; + // ---------------------------------------------------------------------------- // moderationStatus @@ -3771,6 +3788,117 @@ GTLR_EXTERN NSString * const kGTLRYouTubeVideoTypeMovie; @end +/** + * Lists pricing levels for a channel. + * + * Method: youtube.membershipsLevels.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeYouTube + * @c kGTLRAuthScopeYouTubeForceSsl + * @c kGTLRAuthScopeYouTubeReadonly + * @c kGTLRAuthScopeYouTubeYoutubepartner + */ +@interface GTLRYouTubeQuery_MembershipsLevelsList : GTLRYouTubeQuery +// Previous library name was +// +[GTLQueryYouTube queryForMembershipsLevelsListWithpart:] + +/** + * The part parameter specifies the membershipsLevel resource parts that the + * API response will include. Supported values are id and snippet. + */ +@property(nonatomic, copy, nullable) NSString *part; + +/** + * Fetches a @c GTLRYouTube_MembershipsLevelListResponse. + * + * Lists pricing levels for a channel. + * + * @param part The part parameter specifies the membershipsLevel resource parts + * that the API response will include. Supported values are id and snippet. + * + * @return GTLRYouTubeQuery_MembershipsLevelsList + */ ++ (instancetype)queryWithPart:(NSString *)part; + +@end + +/** + * Lists members for a channel. + * + * Method: youtube.members.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeYouTube + * @c kGTLRAuthScopeYouTubeForceSsl + * @c kGTLRAuthScopeYouTubeReadonly + * @c kGTLRAuthScopeYouTubeYoutubepartner + */ +@interface GTLRYouTubeQuery_MembersList : GTLRYouTubeQuery +// Previous library name was +// +[GTLQueryYouTube queryForMembersListWithpart:] + +/** + * The hasAccessToLevel parameter specifies, when set, the ID of a pricing + * level that members from the results set should have access to. When not set, + * all members will be considered, regardless of their active pricing level. + */ +@property(nonatomic, copy, nullable) NSString *hasAccessToLevel; + +/** + * The maxResults parameter specifies the maximum number of items that should + * be returned in the result set. + * + * @note If not set, the documented server-side default will be 5 (from the + * range 0..50). + */ +@property(nonatomic, assign) NSUInteger maxResults; + +/** + * The mode parameter specifies which channel members to return. + * + * Likely values: + * @arg @c kGTLRYouTubeModeAllCurrent Return all current members, from newest + * to oldest. (Value: "all_current") + * @arg @c kGTLRYouTubeModeUpdates Return only members that joined after the + * first call with this mode was made. (Value: "updates") + * + * @note If not set, the documented server-side default will be + * "LIST_MEMBERS_MODE_ALL_CURRENT". + */ +@property(nonatomic, copy, nullable) NSString *mode; + +/** + * The pageToken parameter identifies a specific page in the result set that + * should be returned. In an API response, the nextPageToken and prevPageToken + * properties identify other pages that could be retrieved. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * The part parameter specifies the member resource parts that the API response + * will include. Supported values are id and snippet. + */ +@property(nonatomic, copy, nullable) NSString *part; + +/** + * Fetches a @c GTLRYouTube_MemberListResponse. + * + * Lists members for a channel. + * + * @param part The part parameter specifies the member resource parts that the + * API response will include. Supported values are id and snippet. + * + * @return GTLRYouTubeQuery_MembersList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithPart:(NSString *)part; + +@end + /** * Deletes a playlist item. * diff --git a/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.m b/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.m index 64e41e712..ed6e4968c 100644 --- a/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.m +++ b/Source/GeneratedServices/YouTube/GTLRYouTubeQuery.m @@ -46,6 +46,10 @@ NSString * const kGTLRYouTubeFilterAll = @"all"; NSString * const kGTLRYouTubeFilterNewest = @"newest"; +// mode +NSString * const kGTLRYouTubeModeAllCurrent = @"all_current"; +NSString * const kGTLRYouTubeModeUpdates = @"updates"; + // moderationStatus NSString * const kGTLRYouTubeModerationStatusHeldForReview = @"heldForReview"; NSString * const kGTLRYouTubeModerationStatusLikelySpam = @"likelySpam"; @@ -1170,6 +1174,42 @@ + (instancetype)queryWithObject:(GTLRYouTube_LiveStream *)object @end +@implementation GTLRYouTubeQuery_MembershipsLevelsList + +@dynamic part; + ++ (instancetype)queryWithPart:(NSString *)part { + NSString *pathURITemplate = @"membershipsLevels"; + GTLRYouTubeQuery_MembershipsLevelsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.part = part; + query.expectedObjectClass = [GTLRYouTube_MembershipsLevelListResponse class]; + query.loggingName = @"youtube.membershipsLevels.list"; + return query; +} + +@end + +@implementation GTLRYouTubeQuery_MembersList + +@dynamic hasAccessToLevel, maxResults, mode, pageToken, part; + ++ (instancetype)queryWithPart:(NSString *)part { + NSString *pathURITemplate = @"members"; + GTLRYouTubeQuery_MembersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.part = part; + query.expectedObjectClass = [GTLRYouTube_MemberListResponse class]; + query.loggingName = @"youtube.members.list"; + return query; +} + +@end + @implementation GTLRYouTubeQuery_PlaylistItemsDelete @dynamic identifier, onBehalfOfContentOwner; diff --git a/Source/GeneratedServices/YouTube/GTLRYouTubeService.m b/Source/GeneratedServices/YouTube/GTLRYouTubeService.m index 9ecbab0d2..000e4fef4 100644 --- a/Source/GeneratedServices/YouTube/GTLRYouTubeService.m +++ b/Source/GeneratedServices/YouTube/GTLRYouTubeService.m @@ -71,6 +71,10 @@ - (instancetype)init { @"youtube#liveChatModeratorListResponse" : [GTLRYouTube_LiveChatModeratorListResponse class], @"youtube#liveStream" : [GTLRYouTube_LiveStream class], @"youtube#liveStreamListResponse" : [GTLRYouTube_LiveStreamListResponse class], + @"youtube#member" : [GTLRYouTube_Member class], + @"youtube#memberListResponse" : [GTLRYouTube_MemberListResponse class], + @"youtube#membershipsLevel" : [GTLRYouTube_MembershipsLevel class], + @"youtube#membershipsLevelListResponse" : [GTLRYouTube_MembershipsLevelListResponse class], @"youtube#playlist" : [GTLRYouTube_Playlist class], @"youtube#playlistItem" : [GTLRYouTube_PlaylistItem class], @"youtube#playlistItemListResponse" : [GTLRYouTube_PlaylistItemListResponse class], diff --git a/Source/Tools/GenerateCheckedInServices b/Source/Tools/GenerateCheckedInServices index f71837939..6418aef7a 100755 --- a/Source/Tools/GenerateCheckedInServices +++ b/Source/Tools/GenerateCheckedInServices @@ -66,6 +66,11 @@ SERVICE_GENERATOR_COMMAND+=( admin:datatransfer_v1 admin:directory_v1 + # doubleclicksearch got retitled to "Search Ads 360 API" so we no long guess + # a good formatted name. Force the name to keep things in sync (can revisit + # this in the future). + --formattedName doubleclicksearch:v2=DoubleClickSearch + # Include a filter so there are no warnings/infos during normal generation. --messageFilter "${ToolsDir}/${ScriptName}-message_filter.json" ) diff --git a/Source/Tools/GenerateCheckedInServices-message_filter.json b/Source/Tools/GenerateCheckedInServices-message_filter.json index a58e02b5b..83464320f 100644 --- a/Source/Tools/GenerateCheckedInServices-message_filter.json +++ b/Source/Tools/GenerateCheckedInServices-message_filter.json @@ -1,7 +1,6 @@ { "INFO": [ "Guessed formatted name 'DigitalAssetLinks' from API title 'Digital Asset Links API'", - "Guessed formatted name 'DoubleClickSearch' from API title 'DoubleClick Search API'", "Guessed formatted name 'FusionTables' from API title 'Fusion Tables API'", "Guessed formatted name 'GroupsSettings' from API title 'Groups Settings API'", "Guessed formatted name 'ProximityBeacon' from API title 'Proximity Beacon API'",