diff --git a/admin/directory/v1/admin-api.json b/admin/directory/v1/admin-api.json index b5a9b5fd82a..a3e35daf0ae 100644 --- a/admin/directory/v1/admin-api.json +++ b/admin/directory/v1/admin-api.json @@ -2376,11 +2376,13 @@ "description": "Whether to return all sub-organizations or just immediate children.", "enum": [ "all", - "children" + "children", + "allIncludingParent" ], "enumDescriptions": [ "All sub-organizational units.", - "Immediate children only (default)." + "Immediate children only (default).", + "All sub-organizational units and the specified organizational unit (root if not specified)." ], "location": "query", "type": "string" @@ -4635,7 +4637,7 @@ } } }, - "revision": "20230724", + "revision": "20230802", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { diff --git a/admin/directory/v1/admin-gen.go b/admin/directory/v1/admin-gen.go index dce6cb1e6cf..5bdb602c5e6 100644 --- a/admin/directory/v1/admin-gen.go +++ b/admin/directory/v1/admin-gen.go @@ -16115,6 +16115,9 @@ func (c *OrgunitsListCall) OrgUnitPath(orgUnitPath string) *OrgunitsListCall { // // "all" - All sub-organizational units. // "children" - Immediate children only (default). +// "allIncludingParent" - All sub-organizational units and the +// +// specified organizational unit (root if not specified). func (c *OrgunitsListCall) Type(type_ string) *OrgunitsListCall { c.urlParams_.Set("type", type_) return c @@ -16243,11 +16246,13 @@ func (c *OrgunitsListCall) Do(opts ...googleapi.CallOption) (*OrgUnits, error) { // "description": "Whether to return all sub-organizations or just immediate children.", // "enum": [ // "all", - // "children" + // "children", + // "allIncludingParent" // ], // "enumDescriptions": [ // "All sub-organizational units.", - // "Immediate children only (default)." + // "Immediate children only (default).", + // "All sub-organizational units and the specified organizational unit (root if not specified)." // ], // "location": "query", // "type": "string" diff --git a/androidmanagement/v1/androidmanagement-api.json b/androidmanagement/v1/androidmanagement-api.json index ecbae4bb59b..8d004629ea9 100644 --- a/androidmanagement/v1/androidmanagement-api.json +++ b/androidmanagement/v1/androidmanagement-api.json @@ -1095,7 +1095,7 @@ } } }, - "revision": "20230717", + "revision": "20230724", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -2041,6 +2041,24 @@ }, "type": "array" }, + "startLostModeParams": { + "$ref": "StartLostModeParams", + "description": "Parameters for the START_LOST_MODE command to put the device into lost mode. See StartLostModeParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to START_LOST_MODE. It is also acceptable to explicitly set type to START_LOST_MODE." + }, + "startLostModeStatus": { + "$ref": "StartLostModeStatus", + "description": "Output only. Status of the START_LOST_MODE command to put the device into lost mode. See StartLostModeStatus.", + "readOnly": true + }, + "stopLostModeParams": { + "$ref": "StopLostModeParams", + "description": "Parameters for the STOP_LOST_MODE command to take the device out of lost mode. See StopLostModeParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to STOP_LOST_MODE. It is also acceptable to explicitly set type to STOP_LOST_MODE." + }, + "stopLostModeStatus": { + "$ref": "StopLostModeStatus", + "description": "Output only. Status of the STOP_LOST_MODE command to take the device out of lost mode. See StopLostModeStatus.", + "readOnly": true + }, "type": { "description": "The type of the command.", "enum": [ @@ -2049,7 +2067,9 @@ "RESET_PASSWORD", "REBOOT", "RELINQUISH_OWNERSHIP", - "CLEAR_APP_DATA" + "CLEAR_APP_DATA", + "START_LOST_MODE", + "STOP_LOST_MODE" ], "enumDescriptions": [ "This value is disallowed.", @@ -2057,7 +2077,9 @@ "Reset the user's password.", "Reboot the device. Only supported on fully managed devices running Android 7.0 (API level 24) or higher.", "Removes the work profile and all policies from a company-owned Android 8.0+ device, relinquishing the device for personal use. Apps and data associated with the personal profile(s) are preserved. The device will be deleted from the server after it acknowledges the command.", - "Clears the application data of specified apps. This is supported on Android 9 and above. Note that an application can store data outside of its application data, for example in external storage or in a user dictionary. See also clear_apps_data_params." + "Clears the application data of specified apps. This is supported on Android 9 and above. Note that an application can store data outside of its application data, for example in external storage or in a user dictionary. See also clear_apps_data_params.", + "Puts the device into lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also start_lost_mode_params.", + "Takes the device out of lost mode. Only supported on fully managed devices or organization-owned devices with a managed profile. See also stop_lost_mode_params." ], "type": "string" }, @@ -2330,14 +2352,16 @@ "ACTIVE", "DISABLED", "DELETED", - "PROVISIONING" + "PROVISIONING", + "LOST" ], "enumDescriptions": [ "This value is disallowed.", "The device is active.", "The device is disabled.", "The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", - "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied." + "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", + "The device is lost. This state is only possible on organization-owned devices." ], "type": "string" }, @@ -2491,14 +2515,16 @@ "ACTIVE", "DISABLED", "DELETED", - "PROVISIONING" + "PROVISIONING", + "LOST" ], "enumDescriptions": [ "This value is disallowed.", "The device is active.", "The device is disabled.", "The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", - "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied." + "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", + "The device is lost. This state is only possible on organization-owned devices." ], "type": "string" }, @@ -3489,6 +3515,23 @@ }, "type": "object" }, + "Location": { + "description": "The device location containing the latitude and longitude.", + "id": "Location", + "properties": { + "latitude": { + "description": "The latitude position of the location", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "The longitude position of the location", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "LogBufferSizeCriticalEvent": { "description": "The usageLog buffer on the device has reached 90% of its capacity, therefore older events may be dropped. Intentionally empty.", "id": "LogBufferSizeCriticalEvent", @@ -3507,6 +3550,28 @@ "properties": {}, "type": "object" }, + "LostModeLocationEvent": { + "description": "A lost mode event containing the device location and battery level as a percentage.", + "id": "LostModeLocationEvent", + "properties": { + "batteryLevel": { + "description": "The battery level as a number between 0 and 100 inclusive", + "format": "int32", + "type": "integer" + }, + "location": { + "$ref": "Location", + "description": "The device location" + } + }, + "type": "object" + }, + "LostModeOutgoingPhoneCallEvent": { + "description": "An event indicating an outgoing phone call has been made when a device is in lost mode. Intentionally empty.", + "id": "LostModeOutgoingPhoneCallEvent", + "properties": {}, + "type": "object" + }, "ManagedConfigurationTemplate": { "description": "The managed configurations template for the app, saved from the managed configurations iframe.", "id": "ManagedConfigurationTemplate", @@ -5007,10 +5072,6 @@ "format": "int32", "type": "integer" }, - "authenticatedUserEmail": { - "description": "The email address of the authenticated user (only present for Google Account provisioning method).", - "type": "string" - }, "brand": { "description": "Brand of the device. For example, Google.", "type": "string" @@ -5271,6 +5332,58 @@ }, "type": "object" }, + "StartLostModeParams": { + "description": "Parameters associated with the START_LOST_MODE command to put the device into lost mode. At least one of the parameters, not including the organization name, must be provided in order for the device to be put into lost mode.", + "id": "StartLostModeParams", + "properties": { + "lostEmailAddress": { + "description": "The email address displayed to the user when the device is in lost mode.", + "type": "string" + }, + "lostMessage": { + "$ref": "UserFacingMessage", + "description": "The message displayed to the user when the device is in lost mode." + }, + "lostOrganization": { + "$ref": "UserFacingMessage", + "description": "The organization name displayed to the user when the device is in lost mode." + }, + "lostPhoneNumber": { + "$ref": "UserFacingMessage", + "description": "The phone number displayed to the user when the device is in lost mode." + }, + "lostStreetAddress": { + "$ref": "UserFacingMessage", + "description": "The street address displayed to the user when the device is in lost mode." + } + }, + "type": "object" + }, + "StartLostModeStatus": { + "description": "Status of the START_LOST_MODE command to put the device into lost mode.", + "id": "StartLostModeStatus", + "properties": { + "status": { + "description": "The status. See StartLostModeStatus.", + "enum": [ + "STATUS_UNSPECIFIED", + "SUCCESS", + "RESET_PASSWORD_RECENTLY", + "USER_EXIT_LOST_MODE_RECENTLY", + "ALREADY_IN_LOST_MODE" + ], + "enumDescriptions": [ + "Unspecified. This value is not used.", + "The device was put into lost mode.", + "The device could not be put into lost mode because the admin reset the device's password recently.", + "The device could not be put into lost mode because the user exited lost mode recently.", + "The device is already in lost mode." + ], + "type": "string" + } + }, + "type": "object" + }, "Status": { "description": "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).", "id": "Status", @@ -5349,6 +5462,54 @@ }, "type": "object" }, + "StopLostModeParams": { + "description": "Parameters associated with the STOP_LOST_MODE command to take the device out of lost mode.", + "id": "StopLostModeParams", + "properties": {}, + "type": "object" + }, + "StopLostModeStatus": { + "description": "Status of the STOP_LOST_MODE command to take the device out of lost mode.", + "id": "StopLostModeStatus", + "properties": { + "status": { + "description": "The status. See StopLostModeStatus.", + "enum": [ + "STATUS_UNSPECIFIED", + "SUCCESS", + "NOT_IN_LOST_MODE" + ], + "enumDescriptions": [ + "Unspecified. This value is not used.", + "The device was taken out of lost mode.", + "The device is not in lost mode." + ], + "type": "string" + } + }, + "type": "object" + }, + "StopLostModeUserAttemptEvent": { + "description": "A lost mode event indicating the user has attempted to stop lost mode.", + "id": "StopLostModeUserAttemptEvent", + "properties": { + "status": { + "description": "The status of the attempt to stop lost mode.", + "enum": [ + "STATUS_UNSPECIFIED", + "ATTEMPT_SUCCEEDED", + "ATTEMPT_FAILED" + ], + "enumDescriptions": [ + "This value is not used.", + "Indicates that the user successfully stopped lost mode.", + "Indicates that the user's attempt to stop lost mode failed." + ], + "type": "string" + } + }, + "type": "object" + }, "SystemUpdate": { "description": "Configuration for managing system updates", "id": "SystemUpdate", @@ -5570,7 +5731,10 @@ "REMOTE_LOCK", "WIPE_FAILURE", "CONNECT", - "DNS" + "DNS", + "STOP_LOST_MODE_USER_ATTEMPT", + "LOST_MODE_OUTGOING_PHONE_CALL", + "LOST_MODE_LOCATION" ], "enumDescriptions": [ "This value is not used", @@ -5600,7 +5764,10 @@ "Indicates remote_lock_event has been set.", "Indicates wipe_failure_event has been set.", "Indicates connect_event has been set.", - "Indicates dns_event has been set." + "Indicates dns_event has been set.", + "Indicates stopLostModeUserAttemptEvent has been set.", + "Indicates lostModeOutgoingPhoneCallEvent has been set.", + "Indicates lostModeLocationEvent has been set." ], "type": "string" }, @@ -5652,6 +5819,14 @@ "$ref": "LoggingStoppedEvent", "description": "usageLog policy has been disabled. Part of SECURITY_LOGS." }, + "lostModeLocationEvent": { + "$ref": "LostModeLocationEvent", + "description": "A lost mode location update when a device in lost mode." + }, + "lostModeOutgoingPhoneCallEvent": { + "$ref": "LostModeOutgoingPhoneCallEvent", + "description": "An outgoing phone call has been made when a device in lost mode." + }, "mediaMountEvent": { "$ref": "MediaMountEvent", "description": "Removable media was mounted. Part of SECURITY_LOGS." @@ -5672,6 +5847,10 @@ "$ref": "RemoteLockEvent", "description": "The device or profile has been remotely locked via the LOCK command. Part of SECURITY_LOGS." }, + "stopLostModeUserAttemptEvent": { + "$ref": "StopLostModeUserAttemptEvent", + "description": "An attempt to take a device out of lost mode." + }, "wipeFailureEvent": { "$ref": "WipeFailureEvent", "description": "The work profile or company-owned device failed to wipe when requested. This could be user initiated or admin initiated e.g. delete was received. Part of SECURITY_LOGS." diff --git a/androidmanagement/v1/androidmanagement-gen.go b/androidmanagement/v1/androidmanagement-gen.go index 070177f0c9e..24ae14f370c 100644 --- a/androidmanagement/v1/androidmanagement-gen.go +++ b/androidmanagement/v1/androidmanagement-gen.go @@ -1548,6 +1548,28 @@ type Command struct { // "LOCK_NOW" - Lock the device after password reset. ResetPasswordFlags []string `json:"resetPasswordFlags,omitempty"` + // StartLostModeParams: Parameters for the START_LOST_MODE command to + // put the device into lost mode. See StartLostModeParams. If this is + // set, then it is suggested that type should not be set. In this case, + // the server automatically sets it to START_LOST_MODE. It is also + // acceptable to explicitly set type to START_LOST_MODE. + StartLostModeParams *StartLostModeParams `json:"startLostModeParams,omitempty"` + + // StartLostModeStatus: Output only. Status of the START_LOST_MODE + // command to put the device into lost mode. See StartLostModeStatus. + StartLostModeStatus *StartLostModeStatus `json:"startLostModeStatus,omitempty"` + + // StopLostModeParams: Parameters for the STOP_LOST_MODE command to take + // the device out of lost mode. See StopLostModeParams. If this is set, + // then it is suggested that type should not be set. In this case, the + // server automatically sets it to STOP_LOST_MODE. It is also acceptable + // to explicitly set type to STOP_LOST_MODE. + StopLostModeParams *StopLostModeParams `json:"stopLostModeParams,omitempty"` + + // StopLostModeStatus: Output only. Status of the STOP_LOST_MODE command + // to take the device out of lost mode. See StopLostModeStatus. + StopLostModeStatus *StopLostModeStatus `json:"stopLostModeStatus,omitempty"` + // Type: The type of the command. // // Possible values: @@ -1567,6 +1589,12 @@ type Command struct { // can store data outside of its application data, for example in // external storage or in a user dictionary. See also // clear_apps_data_params. + // "START_LOST_MODE" - Puts the device into lost mode. Only supported + // on fully managed devices or organization-owned devices with a managed + // profile. See also start_lost_mode_params. + // "STOP_LOST_MODE" - Takes the device out of lost mode. Only + // supported on fully managed devices or organization-owned devices with + // a managed profile. See also stop_lost_mode_params. Type string `json:"type,omitempty"` // UserName: The resource name of the user that owns the device in the @@ -2027,6 +2055,8 @@ type Device struct { // the server. // "PROVISIONING" - The device is being provisioned. Newly enrolled // devices are in this state until they have a policy applied. + // "LOST" - The device is lost. This state is only possible on + // organization-owned devices. AppliedState string `json:"appliedState,omitempty"` // CommonCriteriaModeInfo: Information about Common Criteria @@ -2170,6 +2200,8 @@ type Device struct { // the server. // "PROVISIONING" - The device is being provisioned. Newly enrolled // devices are in this state until they have a policy applied. + // "LOST" - The device is lost. This state is only possible on + // organization-owned devices. State string `json:"state,omitempty"` // SystemProperties: Map of selected system properties name and value @@ -3789,6 +3821,53 @@ func (s *ListWebAppsResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// Location: The device location containing the latitude and longitude. +type Location struct { + // Latitude: The latitude position of the location + Latitude float64 `json:"latitude,omitempty"` + + // Longitude: The longitude position of the location + Longitude float64 `json:"longitude,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Latitude") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Latitude") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *Location) MarshalJSON() ([]byte, error) { + type NoMethod Location + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +func (s *Location) UnmarshalJSON(data []byte) error { + type NoMethod Location + var s1 struct { + Latitude gensupport.JSONFloat64 `json:"latitude"` + Longitude gensupport.JSONFloat64 `json:"longitude"` + *NoMethod + } + s1.NoMethod = (*NoMethod)(s) + if err := json.Unmarshal(data, &s1); err != nil { + return err + } + s.Latitude = float64(s1.Latitude) + s.Longitude = float64(s1.Longitude) + return nil +} + // LogBufferSizeCriticalEvent: The usageLog buffer on the device has // reached 90% of its capacity, therefore older events may be dropped. // Intentionally empty. @@ -3805,6 +3884,45 @@ type LoggingStartedEvent struct { type LoggingStoppedEvent struct { } +// LostModeLocationEvent: A lost mode event containing the device +// location and battery level as a percentage. +type LostModeLocationEvent struct { + // BatteryLevel: The battery level as a number between 0 and 100 + // inclusive + BatteryLevel int64 `json:"batteryLevel,omitempty"` + + // Location: The device location + Location *Location `json:"location,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BatteryLevel") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BatteryLevel") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *LostModeLocationEvent) MarshalJSON() ([]byte, error) { + type NoMethod LostModeLocationEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// LostModeOutgoingPhoneCallEvent: An event indicating an outgoing phone +// call has been made when a device is in lost mode. Intentionally +// empty. +type LostModeOutgoingPhoneCallEvent struct { +} + // ManagedConfigurationTemplate: The managed configurations template for // the app, saved from the managed configurations iframe. type ManagedConfigurationTemplate struct { @@ -5758,10 +5876,6 @@ type ProvisioningInfo struct { // the device. ApiLevel int64 `json:"apiLevel,omitempty"` - // AuthenticatedUserEmail: The email address of the authenticated user - // (only present for Google Account provisioning method). - AuthenticatedUserEmail string `json:"authenticatedUserEmail,omitempty"` - // Brand: Brand of the device. For example, Google. Brand string `json:"brand,omitempty"` @@ -6188,6 +6302,93 @@ func (s *SpecificNonComplianceContext) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// StartLostModeParams: Parameters associated with the START_LOST_MODE +// command to put the device into lost mode. At least one of the +// parameters, not including the organization name, must be provided in +// order for the device to be put into lost mode. +type StartLostModeParams struct { + // LostEmailAddress: The email address displayed to the user when the + // device is in lost mode. + LostEmailAddress string `json:"lostEmailAddress,omitempty"` + + // LostMessage: The message displayed to the user when the device is in + // lost mode. + LostMessage *UserFacingMessage `json:"lostMessage,omitempty"` + + // LostOrganization: The organization name displayed to the user when + // the device is in lost mode. + LostOrganization *UserFacingMessage `json:"lostOrganization,omitempty"` + + // LostPhoneNumber: The phone number displayed to the user when the + // device is in lost mode. + LostPhoneNumber *UserFacingMessage `json:"lostPhoneNumber,omitempty"` + + // LostStreetAddress: The street address displayed to the user when the + // device is in lost mode. + LostStreetAddress *UserFacingMessage `json:"lostStreetAddress,omitempty"` + + // ForceSendFields is a list of field names (e.g. "LostEmailAddress") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "LostEmailAddress") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *StartLostModeParams) MarshalJSON() ([]byte, error) { + type NoMethod StartLostModeParams + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// StartLostModeStatus: Status of the START_LOST_MODE command to put the +// device into lost mode. +type StartLostModeStatus struct { + // Status: The status. See StartLostModeStatus. + // + // Possible values: + // "STATUS_UNSPECIFIED" - Unspecified. This value is not used. + // "SUCCESS" - The device was put into lost mode. + // "RESET_PASSWORD_RECENTLY" - The device could not be put into lost + // mode because the admin reset the device's password recently. + // "USER_EXIT_LOST_MODE_RECENTLY" - The device could not be put into + // lost mode because the user exited lost mode recently. + // "ALREADY_IN_LOST_MODE" - The device is already in lost mode. + Status string `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Status") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *StartLostModeStatus) MarshalJSON() ([]byte, error) { + type NoMethod StartLostModeStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Status: 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 @@ -6302,6 +6503,81 @@ func (s *StatusReportingSettings) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// StopLostModeParams: Parameters associated with the STOP_LOST_MODE +// command to take the device out of lost mode. +type StopLostModeParams struct { +} + +// StopLostModeStatus: Status of the STOP_LOST_MODE command to take the +// device out of lost mode. +type StopLostModeStatus struct { + // Status: The status. See StopLostModeStatus. + // + // Possible values: + // "STATUS_UNSPECIFIED" - Unspecified. This value is not used. + // "SUCCESS" - The device was taken out of lost mode. + // "NOT_IN_LOST_MODE" - The device is not in lost mode. + Status string `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Status") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *StopLostModeStatus) MarshalJSON() ([]byte, error) { + type NoMethod StopLostModeStatus + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +// StopLostModeUserAttemptEvent: A lost mode event indicating the user +// has attempted to stop lost mode. +type StopLostModeUserAttemptEvent struct { + // Status: The status of the attempt to stop lost mode. + // + // Possible values: + // "STATUS_UNSPECIFIED" - This value is not used. + // "ATTEMPT_SUCCEEDED" - Indicates that the user successfully stopped + // lost mode. + // "ATTEMPT_FAILED" - Indicates that the user's attempt to stop lost + // mode failed. + Status string `json:"status,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Status") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Status") to include in API + // requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *StopLostModeUserAttemptEvent) MarshalJSON() ([]byte, error) { + type NoMethod StopLostModeUserAttemptEvent + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SystemUpdate: Configuration for managing system updates type SystemUpdate struct { // EndMinutes: If the type is WINDOWED, the end of the maintenance @@ -6649,6 +6925,12 @@ type UsageLogEvent struct { // "WIPE_FAILURE" - Indicates wipe_failure_event has been set. // "CONNECT" - Indicates connect_event has been set. // "DNS" - Indicates dns_event has been set. + // "STOP_LOST_MODE_USER_ATTEMPT" - Indicates + // stopLostModeUserAttemptEvent has been set. + // "LOST_MODE_OUTGOING_PHONE_CALL" - Indicates + // lostModeOutgoingPhoneCallEvent has been set. + // "LOST_MODE_LOCATION" - Indicates lostModeLocationEvent has been + // set. EventType string `json:"eventType,omitempty"` // FilePulledEvent: A file was downloaded from the device. Part of @@ -6705,6 +6987,14 @@ type UsageLogEvent struct { // SECURITY_LOGS. LoggingStoppedEvent *LoggingStoppedEvent `json:"loggingStoppedEvent,omitempty"` + // LostModeLocationEvent: A lost mode location update when a device in + // lost mode. + LostModeLocationEvent *LostModeLocationEvent `json:"lostModeLocationEvent,omitempty"` + + // LostModeOutgoingPhoneCallEvent: An outgoing phone call has been made + // when a device in lost mode. + LostModeOutgoingPhoneCallEvent *LostModeOutgoingPhoneCallEvent `json:"lostModeOutgoingPhoneCallEvent,omitempty"` + // MediaMountEvent: Removable media was mounted. Part of SECURITY_LOGS. MediaMountEvent *MediaMountEvent `json:"mediaMountEvent,omitempty"` @@ -6722,6 +7012,10 @@ type UsageLogEvent struct { // the LOCK command. Part of SECURITY_LOGS. RemoteLockEvent *RemoteLockEvent `json:"remoteLockEvent,omitempty"` + // StopLostModeUserAttemptEvent: An attempt to take a device out of lost + // mode. + StopLostModeUserAttemptEvent *StopLostModeUserAttemptEvent `json:"stopLostModeUserAttemptEvent,omitempty"` + // WipeFailureEvent: The work profile or company-owned device failed to // wipe when requested. This could be user initiated or admin initiated // e.g. delete was received. Part of SECURITY_LOGS. diff --git a/api-list.json b/api-list.json index 6176e1a31fa..f5ed9037ec0 100644 --- a/api-list.json +++ b/api-list.json @@ -1186,6 +1186,21 @@ "documentationLink": "https://cloud.google.com/channel", "preferred": true }, + { + "kind": "discovery#directoryItem", + "id": "clouddebugger:v2", + "name": "clouddebugger", + "version": "v2", + "title": "Cloud Debugger API (Deprecated)", + "description": "Examines the call stack and variables of a running application without stopping or slowing it down. (Deprecated)", + "discoveryRestUrl": "https://clouddebugger.googleapis.com/$discovery/rest?version=v2", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "documentationLink": "https://cloud.google.com/debugger", + "preferred": true + }, { "kind": "discovery#directoryItem", "id": "clouddeploy:v1", diff --git a/compute/v0.alpha/compute-api.json b/compute/v0.alpha/compute-api.json index 2b26e29a552..4198b242d27 100644 --- a/compute/v0.alpha/compute-api.json +++ b/compute/v0.alpha/compute-api.json @@ -42183,7 +42183,7 @@ } } }, - "revision": "20230720", + "revision": "20230725", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -65063,6 +65063,10 @@ "description": "[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.", "type": "string" }, + "instanceFlexibilityOverride": { + "$ref": "ManagedInstanceInstanceFlexibilityOverride", + "description": "[Output Only] The overrides to instance properties resulting from InstanceFlexibilityPolicy." + }, "instanceHealth": { "description": "[Output Only] Health state of the instance per health-check.", "items": { @@ -65159,6 +65163,28 @@ }, "type": "object" }, + "ManagedInstanceInstanceFlexibilityOverride": { + "id": "ManagedInstanceInstanceFlexibilityOverride", + "properties": { + "machineType": { + "description": "The machine type to be used for this instance.", + "type": "string" + }, + "provisioningModel": { + "description": "The provisioning model to be used for this instance.", + "enum": [ + "SPOT", + "STANDARD" + ], + "enumDescriptions": [ + "Heavily discounted, no guaranteed runtime.", + "Standard provisioning with user controlled runtime, no discounts." + ], + "type": "string" + } + }, + "type": "object" + }, "ManagedInstanceInstanceHealth": { "id": "ManagedInstanceInstanceHealth", "properties": { @@ -70600,7 +70626,7 @@ "type": "object" }, "Operation": { - "description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/alpha/globalOperations) * [Regional](/compute/docs/reference/rest/alpha/regionOperations) * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.", + "description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/alpha/globalOperations) * [Regional](/compute/docs/reference/rest/alpha/regionOperations) * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources.", "id": "Operation", "properties": { "clientOperationId": { diff --git a/compute/v0.alpha/compute-gen.go b/compute/v0.alpha/compute-gen.go index 221ffcbd111..e89007c08e3 100644 --- a/compute/v0.alpha/compute-gen.go +++ b/compute/v0.alpha/compute-gen.go @@ -34327,6 +34327,10 @@ type ManagedInstance struct { // even if the instance has not yet been created. Instance string `json:"instance,omitempty"` + // InstanceFlexibilityOverride: [Output Only] The overrides to instance + // properties resulting from InstanceFlexibilityPolicy. + InstanceFlexibilityOverride *ManagedInstanceInstanceFlexibilityOverride `json:"instanceFlexibilityOverride,omitempty"` + // InstanceHealth: [Output Only] Health state of the instance per // health-check. InstanceHealth []*ManagedInstanceInstanceHealth `json:"instanceHealth,omitempty"` @@ -34447,6 +34451,42 @@ func (s *ManagedInstanceAllInstancesConfig) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type ManagedInstanceInstanceFlexibilityOverride struct { + // MachineType: The machine type to be used for this instance. + MachineType string `json:"machineType,omitempty"` + + // ProvisioningModel: The provisioning model to be used for this + // instance. + // + // Possible values: + // "SPOT" - Heavily discounted, no guaranteed runtime. + // "STANDARD" - Standard provisioning with user controlled runtime, no + // discounts. + ProvisioningModel string `json:"provisioningModel,omitempty"` + + // ForceSendFields is a list of field names (e.g. "MachineType") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "MachineType") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *ManagedInstanceInstanceFlexibilityOverride) MarshalJSON() ([]byte, error) { + type NoMethod ManagedInstanceInstanceFlexibilityOverride + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + type ManagedInstanceInstanceHealth struct { // DetailedHealthState: [Output Only] The current detailed instance // health state. @@ -41873,7 +41913,7 @@ func (s *NotificationEndpointsScopedListWarningData) MarshalJSON() ([]byte, erro // regional or zonal. - For global operations, use the // `globalOperations` resource. - For regional operations, use the // `regionOperations` resource. - For zonal operations, use the -// `zonalOperations` resource. For more information, read Global, +// `zoneOperations` resource. For more information, read Global, // Regional, and Zonal Resources. type Operation struct { // ClientOperationId: [Output Only] The value of `requestId` if you diff --git a/dataproc/v1/dataproc-api.json b/dataproc/v1/dataproc-api.json index 02e82661c9c..827330e8e0f 100644 --- a/dataproc/v1/dataproc-api.json +++ b/dataproc/v1/dataproc-api.json @@ -2671,7 +2671,7 @@ } } }, - "revision": "20230721", + "revision": "20230726", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -4819,7 +4819,8 @@ "YARN", "SPARK_HISTORY_SERVER", "HIVESERVER2", - "HIVEMETASTORE" + "HIVEMETASTORE", + "FLINK" ], "enumDescriptions": [ "Required unspecified metric source.", @@ -4829,7 +4830,8 @@ "YARN metric source.", "Spark History Server metric source.", "Hiveserver2 metric source.", - "hivemetastore metric source" + "hivemetastore metric source", + "flink metric source" ], "type": "string" } diff --git a/dataproc/v1/dataproc-gen.go b/dataproc/v1/dataproc-gen.go index a06c18a07c1..c4973e6c63f 100644 --- a/dataproc/v1/dataproc-gen.go +++ b/dataproc/v1/dataproc-gen.go @@ -3838,6 +3838,7 @@ type Metric struct { // "SPARK_HISTORY_SERVER" - Spark History Server metric source. // "HIVESERVER2" - Hiveserver2 metric source. // "HIVEMETASTORE" - hivemetastore metric source + // "FLINK" - flink metric source MetricSource string `json:"metricSource,omitempty"` // ForceSendFields is a list of field names (e.g. "MetricOverrides") to diff --git a/displayvideo/v1/displayvideo-api.json b/displayvideo/v1/displayvideo-api.json index e4984f51773..52abfc054a9 100644 --- a/displayvideo/v1/displayvideo-api.json +++ b/displayvideo/v1/displayvideo-api.json @@ -306,6 +306,11 @@ "location": "query", "type": "string" }, + "internalDebuggingConfig": { + "description": "The config used in internal debugging and manual testing. Use comma to separate multiple values. Examples: To allow entity search to go through tangle `searchUsingTangle` To get only the advertiser Ids use `idOnly`", + "location": "query", + "type": "string" + }, "orderBy": { "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", "location": "query", @@ -8152,7 +8157,7 @@ } } }, - "revision": "20230720", + "revision": "20230803", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -14226,13 +14231,19 @@ "description": "The bidding strategy of the insertion order. By default, fixed_bid is set." }, "billableOutcome": { - "description": "Immutable. The billable outcome of the insertion order. Outcome based buying will be deprecated on **August 1, 2023**. Read more on our [Announced Deprecations page](/display-video/api/deprecations#features.obb).", + "description": "Immutable. The billable outcome of the insertion order. Outcome based buying is deprecated. `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value.", "enum": [ "BILLABLE_OUTCOME_UNSPECIFIED", "BILLABLE_OUTCOME_PAY_PER_IMPRESSION", "BILLABLE_OUTCOME_PAY_PER_CLICK", "BILLABLE_OUTCOME_PAY_PER_VIEWABLE_IMPRESSION" ], + "enumDeprecated": [ + false, + false, + true, + true + ], "enumDescriptions": [ "Unspecified billable outcome.", "Pay per impressions.", @@ -16738,7 +16749,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, diff --git a/displayvideo/v1/displayvideo-gen.go b/displayvideo/v1/displayvideo-gen.go index ac780855215..2c350cba1bb 100644 --- a/displayvideo/v1/displayvideo-gen.go +++ b/displayvideo/v1/displayvideo-gen.go @@ -9244,9 +9244,8 @@ type InsertionOrder struct { BidStrategy *BiddingStrategy `json:"bidStrategy,omitempty"` // BillableOutcome: Immutable. The billable outcome of the insertion - // order. Outcome based buying will be deprecated on **August 1, 2023**. - // Read more on our Announced Deprecations page - // (/display-video/api/deprecations#features.obb). + // order. Outcome based buying is deprecated. + // `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value. // // Possible values: // "BILLABLE_OUTCOME_UNSPECIFIED" - Unspecified billable outcome. @@ -13119,8 +13118,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 @@ -17228,6 +17227,16 @@ func (c *AdvertisersListCall) Filter(filter string) *AdvertisersListCall { return c } +// InternalDebuggingConfig sets the optional parameter +// "internalDebuggingConfig": The config used in internal debugging and +// manual testing. Use comma to separate multiple values. Examples: To +// allow entity search to go through tangle `searchUsingTangle` To get +// only the advertiser Ids use `idOnly` +func (c *AdvertisersListCall) InternalDebuggingConfig(internalDebuggingConfig string) *AdvertisersListCall { + c.urlParams_.Set("internalDebuggingConfig", internalDebuggingConfig) + return c +} + // OrderBy sets the optional parameter "orderBy": Field by which to sort // the list. Acceptable values are: * `displayName` (default) * // `entityStatus` * `updateTime` The default sorting order is ascending. @@ -17370,6 +17379,11 @@ func (c *AdvertisersListCall) Do(opts ...googleapi.CallOption) (*ListAdvertisers // "location": "query", // "type": "string" // }, + // "internalDebuggingConfig": { + // "description": "The config used in internal debugging and manual testing. Use comma to separate multiple values. Examples: To allow entity search to go through tangle `searchUsingTangle` To get only the advertiser Ids use `idOnly`", + // "location": "query", + // "type": "string" + // }, // "orderBy": { // "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", // "location": "query", diff --git a/displayvideo/v2/displayvideo-api.json b/displayvideo/v2/displayvideo-api.json index b52259daffa..ae0baa6b22f 100644 --- a/displayvideo/v2/displayvideo-api.json +++ b/displayvideo/v2/displayvideo-api.json @@ -259,6 +259,11 @@ "location": "query", "type": "string" }, + "internalDebuggingConfig": { + "description": "The config used in internal debugging and manual testing. Use comma to separate multiple values. Examples: To allow entity search to go through tangle `searchUsingTangle` To get only the advertiser Ids use `idOnly`", + "location": "query", + "type": "string" + }, "orderBy": { "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", "location": "query", @@ -9178,7 +9183,7 @@ } } }, - "revision": "20230720", + "revision": "20230803", "rootUrl": "https://displayvideo.googleapis.com/", "schemas": { "ActivateManualTriggerRequest": { @@ -15801,13 +15806,19 @@ "description": "The bidding strategy of the insertion order. By default, fixed_bid is set." }, "billableOutcome": { - "description": "Immutable. The billable outcome of the insertion order. Outcome based buying will be deprecated on **August 1, 2023**. Read more on our [Announced Deprecations page](/display-video/api/deprecations#features.obb).", + "description": "Immutable. The billable outcome of the insertion order. Outcome based buying is deprecated. `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value.", "enum": [ "BILLABLE_OUTCOME_UNSPECIFIED", "BILLABLE_OUTCOME_PAY_PER_IMPRESSION", "BILLABLE_OUTCOME_PAY_PER_CLICK", "BILLABLE_OUTCOME_PAY_PER_VIEWABLE_IMPRESSION" ], + "enumDeprecated": [ + false, + false, + true, + true + ], "enumDescriptions": [ "Unspecified billable outcome.", "Pay per impressions.", @@ -18461,7 +18472,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, @@ -21074,7 +21085,7 @@ "type": "string" }, "value": { - "description": "The value used by the bidding strategy. When the bidding strategy is assigned at the line item level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` When the bidding strategy is assigned at the ad group level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM` If not using an applicable strategy, the value of this field will be 0.", + "description": "The value used by the bidding strategy. When the bidding strategy is assigned at the line item level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` When the bidding strategy is assigned at the ad group level, this field is only applicable for the following strategy types: * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM` If not using an applicable strategy, the value of this field will be 0.", "format": "int64", "type": "string" } diff --git a/displayvideo/v2/displayvideo-gen.go b/displayvideo/v2/displayvideo-gen.go index 6e99948f34e..bb5eda83129 100644 --- a/displayvideo/v2/displayvideo-gen.go +++ b/displayvideo/v2/displayvideo-gen.go @@ -10124,9 +10124,8 @@ type InsertionOrder struct { BidStrategy *BiddingStrategy `json:"bidStrategy,omitempty"` // BillableOutcome: Immutable. The billable outcome of the insertion - // order. Outcome based buying will be deprecated on **August 1, 2023**. - // Read more on our Announced Deprecations page - // (/display-video/api/deprecations#features.obb). + // order. Outcome based buying is deprecated. + // `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value. // // Possible values: // "BILLABLE_OUTCOME_UNSPECIFIED" - Unspecified billable outcome. @@ -14261,8 +14260,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 @@ -18097,7 +18096,8 @@ type YoutubeAndPartnersBiddingStrategy struct { // Value: The value used by the bidding strategy. When the bidding // strategy is assigned at the line item level, this field is only // applicable for the following strategy types: * - // `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` When the + // `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA` * + // `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_ROAS` When the // bidding strategy is assigned at the ad group level, this field is // only applicable for the following strategy types: * // `YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM` * @@ -19181,6 +19181,16 @@ func (c *AdvertisersListCall) Filter(filter string) *AdvertisersListCall { return c } +// InternalDebuggingConfig sets the optional parameter +// "internalDebuggingConfig": The config used in internal debugging and +// manual testing. Use comma to separate multiple values. Examples: To +// allow entity search to go through tangle `searchUsingTangle` To get +// only the advertiser Ids use `idOnly` +func (c *AdvertisersListCall) InternalDebuggingConfig(internalDebuggingConfig string) *AdvertisersListCall { + c.urlParams_.Set("internalDebuggingConfig", internalDebuggingConfig) + return c +} + // OrderBy sets the optional parameter "orderBy": Field by which to sort // the list. Acceptable values are: * `displayName` (default) * // `entityStatus` * `updateTime` The default sorting order is ascending. @@ -19323,6 +19333,11 @@ func (c *AdvertisersListCall) Do(opts ...googleapi.CallOption) (*ListAdvertisers // "location": "query", // "type": "string" // }, + // "internalDebuggingConfig": { + // "description": "The config used in internal debugging and manual testing. Use comma to separate multiple values. Examples: To allow entity search to go through tangle `searchUsingTangle` To get only the advertiser Ids use `idOnly`", + // "location": "query", + // "type": "string" + // }, // "orderBy": { // "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. For example, `displayName desc`.", // "location": "query", diff --git a/dns/v1/dns-api.json b/dns/v1/dns-api.json index d3667c41fc5..d46f0d718ec 100644 --- a/dns/v1/dns-api.json +++ b/dns/v1/dns-api.json @@ -1824,7 +1824,7 @@ } } }, - "revision": "20230721", + "revision": "20230801", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3133,11 +3133,13 @@ "description": "The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region.", "enum": [ "none", + "globalL7ilb", "regionalL4ilb", "regionalL7ilb" ], "enumDescriptions": [ "", + "Cross-region internal Application Load Balancer", "Regional internal passthrough Network Load Balancer", "Regional internal Application Load Balancer" ], diff --git a/dns/v1/dns-gen.go b/dns/v1/dns-gen.go index edc8b0f729b..ce62a19141d 100644 --- a/dns/v1/dns-gen.go +++ b/dns/v1/dns-gen.go @@ -2510,6 +2510,7 @@ type RRSetRoutingPolicyLoadBalancerTarget struct { // // Possible values: // "none" + // "globalL7ilb" - Cross-region internal Application Load Balancer // "regionalL4ilb" - Regional internal passthrough Network Load // Balancer // "regionalL7ilb" - Regional internal Application Load Balancer diff --git a/dns/v1beta2/dns-api.json b/dns/v1beta2/dns-api.json index 049beb6a985..812f0fb75e1 100644 --- a/dns/v1beta2/dns-api.json +++ b/dns/v1beta2/dns-api.json @@ -1821,7 +1821,7 @@ } } }, - "revision": "20230721", + "revision": "20230801", "rootUrl": "https://dns.googleapis.com/", "schemas": { "Change": { @@ -3138,11 +3138,13 @@ "description": "The type of Load Balancer specified by this target. Must match the configuration of the Load Balancer located at the LoadBalancerTarget's IP address/port and region.", "enum": [ "none", + "globalL7ilb", "regionalL4ilb", "regionalL7ilb" ], "enumDescriptions": [ "", + "Cross-region internal Application Load Balancer", "Regional internal passthrough Network Load Balancer", "Regional internal Application Load Balancer" ], diff --git a/dns/v1beta2/dns-gen.go b/dns/v1beta2/dns-gen.go index b947f4dbef0..74bd1ddb22f 100644 --- a/dns/v1beta2/dns-gen.go +++ b/dns/v1beta2/dns-gen.go @@ -2514,6 +2514,7 @@ type RRSetRoutingPolicyLoadBalancerTarget struct { // // Possible values: // "none" + // "globalL7ilb" - Cross-region internal Application Load Balancer // "regionalL4ilb" - Regional internal passthrough Network Load // Balancer // "regionalL7ilb" - Regional internal Application Load Balancer diff --git a/firebase/v1beta1/firebase-api.json b/firebase/v1beta1/firebase-api.json index f49cb32b49e..da216dc6f4f 100644 --- a/firebase/v1beta1/firebase-api.json +++ b/firebase/v1beta1/firebase-api.json @@ -1320,7 +1320,7 @@ } } }, - "revision": "20230703", + "revision": "20230802", "rootUrl": "https://firebase.googleapis.com/", "schemas": { "AddFirebaseRequest": { @@ -1937,7 +1937,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, diff --git a/firebase/v1beta1/firebase-gen.go b/firebase/v1beta1/firebase-gen.go index 25783fb099c..4c1ffebb6e9 100644 --- a/firebase/v1beta1/firebase-gen.go +++ b/firebase/v1beta1/firebase-gen.go @@ -1414,8 +1414,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 diff --git a/firebaseml/v1/firebaseml-api.json b/firebaseml/v1/firebaseml-api.json index 2220d158e40..38bfe688dc5 100644 --- a/firebaseml/v1/firebaseml-api.json +++ b/firebaseml/v1/firebaseml-api.json @@ -204,7 +204,7 @@ } } }, - "revision": "20230306", + "revision": "20230802", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -290,7 +290,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, diff --git a/firebaseml/v1/firebaseml-gen.go b/firebaseml/v1/firebaseml-gen.go index 927d0f1650b..f75e3cc90ed 100644 --- a/firebaseml/v1/firebaseml-gen.go +++ b/firebaseml/v1/firebaseml-gen.go @@ -265,8 +265,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 diff --git a/firebaseml/v1beta2/firebaseml-api.json b/firebaseml/v1beta2/firebaseml-api.json index 3bde276218f..2eb749668db 100644 --- a/firebaseml/v1beta2/firebaseml-api.json +++ b/firebaseml/v1beta2/firebaseml-api.json @@ -318,7 +318,7 @@ } } }, - "revision": "20220321", + "revision": "20230802", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "DownloadModelResponse": { @@ -511,7 +511,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, diff --git a/firebaseml/v1beta2/firebaseml-gen.go b/firebaseml/v1beta2/firebaseml-gen.go index 4cedd98e9d1..62b64fe0975 100644 --- a/firebaseml/v1beta2/firebaseml-gen.go +++ b/firebaseml/v1beta2/firebaseml-gen.go @@ -439,8 +439,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 diff --git a/monitoring/v1/monitoring-api.json b/monitoring/v1/monitoring-api.json index a15976b10a4..bdc87717c54 100644 --- a/monitoring/v1/monitoring-api.json +++ b/monitoring/v1/monitoring-api.json @@ -753,7 +753,7 @@ } } }, - "revision": "20230724", + "revision": "20230731", "rootUrl": "https://monitoring.googleapis.com/", "schemas": { "Aggregation": { @@ -1927,6 +1927,97 @@ "The text contains no special formatting." ], "type": "string" + }, + "style": { + "$ref": "TextStyle", + "description": "How the text is styled" + } + }, + "type": "object" + }, + "TextStyle": { + "description": "Properties that determine how the title and content are styled", + "id": "TextStyle", + "properties": { + "backgroundColor": { + "description": "The background color as a hex string. \"#RRGGBB\" or \"#RGB\"", + "type": "string" + }, + "fontSize": { + "description": "Font sizes for both the title and content. The title will still be larger relative to the content.", + "enum": [ + "FONT_SIZE_UNSPECIFIED", + "FS_EXTRA_SMALL", + "FS_SMALL", + "FS_MEDIUM", + "FS_LARGE", + "FS_EXTRA_LARGE" + ], + "enumDescriptions": [ + "No font size specified, will default to FS_LARGE", + "Extra small font size", + "Small font size", + "Medium font size", + "Large font size", + "Extra large font size" + ], + "type": "string" + }, + "horizontalAlignment": { + "description": "The horizontal alignment of both the title and content", + "enum": [ + "HORIZONTAL_ALIGNMENT_UNSPECIFIED", + "H_LEFT", + "H_CENTER", + "H_RIGHT" + ], + "enumDescriptions": [ + "No horizontal alignment specified, will default to H_LEFT", + "Left-align", + "Center-align", + "Right-align" + ], + "type": "string" + }, + "padding": { + "description": "The amount of padding around the widget", + "enum": [ + "PADDING_SIZE_UNSPECIFIED", + "P_EXTRA_SMALL", + "P_SMALL", + "P_MEDIUM", + "P_LARGE", + "P_EXTRA_LARGE" + ], + "enumDescriptions": [ + "No padding size specified, will default to P_EXTRA_SMALL", + "Extra small padding", + "Small padding", + "Medium padding", + "Large padding", + "Extra large padding" + ], + "type": "string" + }, + "textColor": { + "description": "The text color as a hex string. \"#RRGGBB\" or \"#RGB\"", + "type": "string" + }, + "verticalAlignment": { + "description": "The vertical alignment of both the title and content", + "enum": [ + "VERTICAL_ALIGNMENT_UNSPECIFIED", + "V_TOP", + "V_CENTER", + "V_BOTTOM" + ], + "enumDescriptions": [ + "No vertical alignment specified, will default to V_TOP", + "Top-align", + "Center-align", + "Bottom-align" + ], + "type": "string" } }, "type": "object" diff --git a/monitoring/v1/monitoring-gen.go b/monitoring/v1/monitoring-gen.go index d8ddaf24ac7..dc5cb43c4b8 100644 --- a/monitoring/v1/monitoring-gen.go +++ b/monitoring/v1/monitoring-gen.go @@ -2462,6 +2462,9 @@ type Text struct { // "RAW" - The text contains no special formatting. Format string `json:"format,omitempty"` + // Style: How the text is styled + Style *TextStyle `json:"style,omitempty"` + // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any @@ -2485,6 +2488,87 @@ func (s *Text) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// TextStyle: Properties that determine how the title and content are +// styled +type TextStyle struct { + // BackgroundColor: The background color as a hex string. "#RRGGBB" or + // "#RGB" + BackgroundColor string `json:"backgroundColor,omitempty"` + + // FontSize: Font sizes for both the title and content. The title will + // still be larger relative to the content. + // + // Possible values: + // "FONT_SIZE_UNSPECIFIED" - No font size specified, will default to + // FS_LARGE + // "FS_EXTRA_SMALL" - Extra small font size + // "FS_SMALL" - Small font size + // "FS_MEDIUM" - Medium font size + // "FS_LARGE" - Large font size + // "FS_EXTRA_LARGE" - Extra large font size + FontSize string `json:"fontSize,omitempty"` + + // HorizontalAlignment: The horizontal alignment of both the title and + // content + // + // Possible values: + // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - No horizontal alignment + // specified, will default to H_LEFT + // "H_LEFT" - Left-align + // "H_CENTER" - Center-align + // "H_RIGHT" - Right-align + HorizontalAlignment string `json:"horizontalAlignment,omitempty"` + + // Padding: The amount of padding around the widget + // + // Possible values: + // "PADDING_SIZE_UNSPECIFIED" - No padding size specified, will + // default to P_EXTRA_SMALL + // "P_EXTRA_SMALL" - Extra small padding + // "P_SMALL" - Small padding + // "P_MEDIUM" - Medium padding + // "P_LARGE" - Large padding + // "P_EXTRA_LARGE" - Extra large padding + Padding string `json:"padding,omitempty"` + + // TextColor: The text color as a hex string. "#RRGGBB" or "#RGB" + TextColor string `json:"textColor,omitempty"` + + // VerticalAlignment: The vertical alignment of both the title and + // content + // + // Possible values: + // "VERTICAL_ALIGNMENT_UNSPECIFIED" - No vertical alignment specified, + // will default to V_TOP + // "V_TOP" - Top-align + // "V_CENTER" - Center-align + // "V_BOTTOM" - Bottom-align + VerticalAlignment string `json:"verticalAlignment,omitempty"` + + // ForceSendFields is a list of field names (e.g. "BackgroundColor") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "BackgroundColor") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *TextStyle) MarshalJSON() ([]byte, error) { + type NoMethod TextStyle + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // Threshold: Defines a threshold for categorizing time series values. type Threshold struct { // Color: The state color for this threshold. Color is not allowed in a diff --git a/oslogin/v1alpha/oslogin-api.json b/oslogin/v1alpha/oslogin-api.json index 955763658f9..2af1bf24b54 100644 --- a/oslogin/v1alpha/oslogin-api.json +++ b/oslogin/v1alpha/oslogin-api.json @@ -278,6 +278,41 @@ "https://www.googleapis.com/auth/compute" ] } + }, + "resources": { + "zones": { + "methods": { + "signSshPublicKey": { + "description": "Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.", + "flatPath": "v1alpha/users/{usersId}/projects/{projectsId}/zones/{zonesId}:signSshPublicKey", + "httpMethod": "POST", + "id": "oslogin.users.projects.zones.signSshPublicKey", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.", + "location": "path", + "pattern": "^users/[^/]+/projects/[^/]+/zones/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}:signSshPublicKey", + "request": { + "$ref": "SignSshPublicKeyRequest" + }, + "response": { + "$ref": "SignSshPublicKeyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + } + } + } } }, "sshPublicKeys": { @@ -403,7 +438,7 @@ } } }, - "revision": "20220319", + "revision": "20230729", "rootUrl": "https://oslogin.googleapis.com/", "schemas": { "Empty": { @@ -547,6 +582,26 @@ }, "type": "object" }, + "SignSshPublicKeyRequest": { + "id": "SignSshPublicKeyRequest", + "properties": { + "sshPublicKey": { + "description": "The SSH public key to sign.", + "type": "string" + } + }, + "type": "object" + }, + "SignSshPublicKeyResponse": { + "id": "SignSshPublicKeyResponse", + "properties": { + "signedSshPublicKey": { + "description": "The signed SSH public key to use in the SSH handshake.", + "type": "string" + } + }, + "type": "object" + }, "SshPublicKey": { "description": "The SSH public key information associated with a Google account.", "id": "SshPublicKey", diff --git a/oslogin/v1alpha/oslogin-gen.go b/oslogin/v1alpha/oslogin-gen.go index 20fc70c7b39..685c84aabd7 100644 --- a/oslogin/v1alpha/oslogin-gen.go +++ b/oslogin/v1alpha/oslogin-gen.go @@ -174,11 +174,23 @@ type UsersService struct { func NewUsersProjectsService(s *Service) *UsersProjectsService { rs := &UsersProjectsService{s: s} + rs.Zones = NewUsersProjectsZonesService(s) return rs } type UsersProjectsService struct { s *Service + + Zones *UsersProjectsZonesService +} + +func NewUsersProjectsZonesService(s *Service) *UsersProjectsZonesService { + rs := &UsersProjectsZonesService{s: s} + return rs +} + +type UsersProjectsZonesService struct { + s *Service } func NewUsersSshPublicKeysService(s *Service) *UsersSshPublicKeysService { @@ -386,6 +398,66 @@ func (s *SecurityKey) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +type SignSshPublicKeyRequest struct { + // SshPublicKey: The SSH public key to sign. + SshPublicKey string `json:"sshPublicKey,omitempty"` + + // ForceSendFields is a list of field names (e.g. "SshPublicKey") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SshPublicKey") to include + // in API requests with the JSON null value. By default, fields with + // empty values are omitted from API requests. However, any field with + // an empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *SignSshPublicKeyRequest) MarshalJSON() ([]byte, error) { + type NoMethod SignSshPublicKeyRequest + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + +type SignSshPublicKeyResponse struct { + // SignedSshPublicKey: The signed SSH public key to use in the SSH + // handshake. + SignedSshPublicKey string `json:"signedSshPublicKey,omitempty"` + + // ServerResponse contains the HTTP response code and headers from the + // server. + googleapi.ServerResponse `json:"-"` + + // ForceSendFields is a list of field names (e.g. "SignedSshPublicKey") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "SignedSshPublicKey") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *SignSshPublicKeyResponse) MarshalJSON() ([]byte, error) { + type NoMethod SignSshPublicKeyResponse + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // SshPublicKey: The SSH public key information associated with a Google // account. type SshPublicKey struct { @@ -1081,6 +1153,153 @@ func (c *UsersProjectsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, erro } +// method id "oslogin.users.projects.zones.signSshPublicKey": + +type UsersProjectsZonesSignSshPublicKeyCall struct { + s *Service + parent string + signsshpublickeyrequest *SignSshPublicKeyRequest + urlParams_ gensupport.URLParams + ctx_ context.Context + header_ http.Header +} + +// SignSshPublicKey: Signs an SSH public key for a user to authenticate +// to a virtual machine on Google Compute Engine. +// +// - parent: The parent project and zone for the signing request. This +// is needed to properly ensure per-organization ISS processing and +// potentially to provide for the possibility of zone-specific +// certificates used in the signing process. +func (r *UsersProjectsZonesService) SignSshPublicKey(parent string, signsshpublickeyrequest *SignSshPublicKeyRequest) *UsersProjectsZonesSignSshPublicKeyCall { + c := &UsersProjectsZonesSignSshPublicKeyCall{s: r.s, urlParams_: make(gensupport.URLParams)} + c.parent = parent + c.signsshpublickeyrequest = signsshpublickeyrequest + return c +} + +// Fields allows partial responses to be retrieved. See +// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse +// for more information. +func (c *UsersProjectsZonesSignSshPublicKeyCall) Fields(s ...googleapi.Field) *UsersProjectsZonesSignSshPublicKeyCall { + c.urlParams_.Set("fields", googleapi.CombineFields(s)) + return c +} + +// Context sets the context to be used in this call's Do method. Any +// pending HTTP request will be aborted if the provided context is +// canceled. +func (c *UsersProjectsZonesSignSshPublicKeyCall) Context(ctx context.Context) *UsersProjectsZonesSignSshPublicKeyCall { + c.ctx_ = ctx + return c +} + +// Header returns an http.Header that can be modified by the caller to +// add HTTP headers to the request. +func (c *UsersProjectsZonesSignSshPublicKeyCall) Header() http.Header { + if c.header_ == nil { + c.header_ = make(http.Header) + } + return c.header_ +} + +func (c *UsersProjectsZonesSignSshPublicKeyCall) doRequest(alt string) (*http.Response, error) { + reqHeaders := make(http.Header) + reqHeaders.Set("x-goog-api-client", "gl-go/"+gensupport.GoVersion()+" gdcl/"+internal.Version) + for k, v := range c.header_ { + reqHeaders[k] = v + } + reqHeaders.Set("User-Agent", c.s.userAgent()) + var body io.Reader = nil + body, err := googleapi.WithoutDataWrapper.JSONReader(c.signsshpublickeyrequest) + if err != nil { + return nil, err + } + reqHeaders.Set("Content-Type", "application/json") + c.urlParams_.Set("alt", alt) + c.urlParams_.Set("prettyPrint", "false") + urls := googleapi.ResolveRelative(c.s.BasePath, "v1alpha/{+parent}:signSshPublicKey") + urls += "?" + c.urlParams_.Encode() + req, err := http.NewRequest("POST", urls, body) + if err != nil { + return nil, err + } + req.Header = reqHeaders + googleapi.Expand(req.URL, map[string]string{ + "parent": c.parent, + }) + return gensupport.SendRequest(c.ctx_, c.s.client, req) +} + +// Do executes the "oslogin.users.projects.zones.signSshPublicKey" call. +// Exactly one of *SignSshPublicKeyResponse or error will be non-nil. +// Any non-2xx status code is an error. Response headers are in either +// *SignSshPublicKeyResponse.ServerResponse.Header or (if a response was +// returned at all) in error.(*googleapi.Error).Header. Use +// googleapi.IsNotModified to check whether the returned error was +// because http.StatusNotModified was returned. +func (c *UsersProjectsZonesSignSshPublicKeyCall) Do(opts ...googleapi.CallOption) (*SignSshPublicKeyResponse, error) { + gensupport.SetOptions(c.urlParams_, opts...) + res, err := c.doRequest("json") + if res != nil && res.StatusCode == http.StatusNotModified { + if res.Body != nil { + res.Body.Close() + } + return nil, gensupport.WrapError(&googleapi.Error{ + Code: res.StatusCode, + Header: res.Header, + }) + } + if err != nil { + return nil, err + } + defer googleapi.CloseBody(res) + if err := googleapi.CheckResponse(res); err != nil { + return nil, gensupport.WrapError(err) + } + ret := &SignSshPublicKeyResponse{ + ServerResponse: googleapi.ServerResponse{ + Header: res.Header, + HTTPStatusCode: res.StatusCode, + }, + } + target := &ret + if err := gensupport.DecodeResponse(target, res); err != nil { + return nil, err + } + return ret, nil + // { + // "description": "Signs an SSH public key for a user to authenticate to a virtual machine on Google Compute Engine.", + // "flatPath": "v1alpha/users/{usersId}/projects/{projectsId}/zones/{zonesId}:signSshPublicKey", + // "httpMethod": "POST", + // "id": "oslogin.users.projects.zones.signSshPublicKey", + // "parameterOrder": [ + // "parent" + // ], + // "parameters": { + // "parent": { + // "description": "The parent project and zone for the signing request. This is needed to properly ensure per-organization ISS processing and potentially to provide for the possibility of zone-specific certificates used in the signing process.", + // "location": "path", + // "pattern": "^users/[^/]+/projects/[^/]+/zones/[^/]+$", + // "required": true, + // "type": "string" + // } + // }, + // "path": "v1alpha/{+parent}:signSshPublicKey", + // "request": { + // "$ref": "SignSshPublicKeyRequest" + // }, + // "response": { + // "$ref": "SignSshPublicKeyResponse" + // }, + // "scopes": [ + // "https://www.googleapis.com/auth/cloud-platform", + // "https://www.googleapis.com/auth/compute" + // ] + // } + +} + // method id "oslogin.users.sshPublicKeys.create": type UsersSshPublicKeysCreateCall struct { diff --git a/runtimeconfig/v1/runtimeconfig-api.json b/runtimeconfig/v1/runtimeconfig-api.json index 4a9b1eb49d3..613fdbf45dc 100644 --- a/runtimeconfig/v1/runtimeconfig-api.json +++ b/runtimeconfig/v1/runtimeconfig-api.json @@ -210,7 +210,7 @@ } } }, - "revision": "20230306", + "revision": "20230803", "rootUrl": "https://runtimeconfig.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -272,7 +272,7 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, diff --git a/runtimeconfig/v1/runtimeconfig-gen.go b/runtimeconfig/v1/runtimeconfig-gen.go index 3f0e996981d..736738e6032 100644 --- a/runtimeconfig/v1/runtimeconfig-gen.go +++ b/runtimeconfig/v1/runtimeconfig-gen.go @@ -233,8 +233,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 diff --git a/runtimeconfig/v1beta1/runtimeconfig-api.json b/runtimeconfig/v1beta1/runtimeconfig-api.json index 9831036baa3..35da350eab1 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-api.json +++ b/runtimeconfig/v1beta1/runtimeconfig-api.json @@ -805,7 +805,7 @@ } } }, - "revision": "20230123", + "revision": "20230803", "rootUrl": "https://runtimeconfig.googleapis.com/", "schemas": { "Binding": { @@ -969,14 +969,14 @@ "description": "Properties of the object. Contains field @type with type URL.", "type": "any" }, - "description": "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`.", + "description": "The normal, successful response of the operation. 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`.", "type": "object" } }, "type": "object" }, "Policy": { - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "id": "Policy", "properties": { "bindings": { diff --git a/runtimeconfig/v1beta1/runtimeconfig-gen.go b/runtimeconfig/v1beta1/runtimeconfig-gen.go index 10ccf78af2d..a6445a338e2 100644 --- a/runtimeconfig/v1beta1/runtimeconfig-gen.go +++ b/runtimeconfig/v1beta1/runtimeconfig-gen.go @@ -574,8 +574,8 @@ type Operation struct { // `operations/{unique_id}`. Name string `json:"name,omitempty"` - // Response: The normal response of the operation in case of success. If - // the original method returns no data on success, such as `Delete`, the + // Response: The normal, successful response of the operation. 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 @@ -625,7 +625,7 @@ func (s *Operation) MarshalJSON() ([]byte, error) { // both. To learn which resources support conditions in their IAM // policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). -// **JSON example:** { "bindings": [ { "role": +// **JSON example:** ``` { "bindings": [ { "role": // "roles/resourcemanager.organizationAdmin", "members": [ // "user:mike@example.com", "group:admins@example.com", // "domain:google.com", @@ -634,17 +634,17 @@ func (s *Operation) MarshalJSON() ([]byte, error) { // "user:eve@example.com" ], "condition": { "title": "expirable access", // "description": "Does not grant access after Sep 2020", "expression": // "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], -// "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - -// members: - user:mike@example.com - group:admins@example.com - -// domain:google.com - +// "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` +// bindings: - members: - user:mike@example.com - +// group:admins@example.com - domain:google.com - // serviceAccount:my-project-id@appspot.gserviceaccount.com role: // roles/resourcemanager.organizationAdmin - members: - // user:eve@example.com role: roles/resourcemanager.organizationViewer // condition: title: expirable access description: Does not grant access // after Sep 2020 expression: request.time < // timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 -// For a description of IAM and its features, see the IAM documentation -// (https://cloud.google.com/iam/docs/). +// ``` For a description of IAM and its features, see the IAM +// documentation (https://cloud.google.com/iam/docs/). type Policy struct { // Bindings: Associates a list of `members`, or principals, with a // `role`. Optionally, may specify a `condition` that determines how and diff --git a/toolresults/v1beta3/toolresults-api.json b/toolresults/v1beta3/toolresults-api.json index 0d9459b2811..24c43051c35 100644 --- a/toolresults/v1beta3/toolresults-api.json +++ b/toolresults/v1beta3/toolresults-api.json @@ -1463,7 +1463,7 @@ } } }, - "revision": "20230706", + "revision": "20230803", "rootUrl": "https://toolresults.googleapis.com/", "schemas": { "ANR": { @@ -1618,6 +1618,12 @@ }, "type": "object" }, + "AssetIssue": { + "description": "There was an issue with the assets in this test.", + "id": "AssetIssue", + "properties": {}, + "type": "object" + }, "AvailableDeepLinks": { "description": "A suggestion to use deep links for a Robo run.", "id": "AvailableDeepLinks", @@ -1959,7 +1965,7 @@ "type": "object" }, "FailedToInstall": { - "description": "Failed to install the APK.", + "description": "Failed to install the App.", "id": "FailedToInstall", "properties": {}, "type": "object" @@ -3624,7 +3630,8 @@ "unityException", "deviceOutOfMemory", "logcatCollectionError", - "detectedAppSplashScreen" + "detectedAppSplashScreen", + "assetIssue" ], "enumDescriptions": [ "Default unspecified type. Do not use. For versioning only.", @@ -3658,7 +3665,8 @@ "An uncaught Unity exception was detected (these don't crash apps).", "Device running out of memory was detected", "Problems detected while collecting logcat", - "Robo detected a splash screen provided by app (vs. Android OS splash screen)." + "Robo detected a splash screen provided by app (vs. Android OS splash screen).", + "There was an issue with the assets in this test." ], "type": "string" }, diff --git a/toolresults/v1beta3/toolresults-gen.go b/toolresults/v1beta3/toolresults-gen.go index 58e41600016..c7d4cd49c9f 100644 --- a/toolresults/v1beta3/toolresults-gen.go +++ b/toolresults/v1beta3/toolresults-gen.go @@ -585,6 +585,10 @@ func (s *AppStartTime) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// AssetIssue: There was an issue with the assets in this test. +type AssetIssue struct { +} + // AvailableDeepLinks: A suggestion to use deep links for a Robo run. type AvailableDeepLinks struct { } @@ -1137,7 +1141,7 @@ func (s *Execution) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } -// FailedToInstall: Failed to install the APK. +// FailedToInstall: Failed to install the App. type FailedToInstall struct { } @@ -4014,6 +4018,7 @@ type TestIssue struct { // "logcatCollectionError" - Problems detected while collecting logcat // "detectedAppSplashScreen" - Robo detected a splash screen provided // by app (vs. Android OS splash screen). + // "assetIssue" - There was an issue with the assets in this test. Type string `json:"type,omitempty"` // Warning: Warning message with additional details of the issue. Should diff --git a/vmmigration/v1/vmmigration-api.json b/vmmigration/v1/vmmigration-api.json index 7cd634655fa..98704733271 100644 --- a/vmmigration/v1/vmmigration-api.json +++ b/vmmigration/v1/vmmigration-api.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20230713", + "revision": "20230727", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2538,7 +2538,7 @@ "readOnly": true }, "bootOption": { - "description": "Output only. The VM Boot Option, as set in the source vm.", + "description": "Output only. The VM Boot Option, as set in the source VM.", "enum": [ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", @@ -2620,14 +2620,14 @@ "type": "array" }, "networkTags": { - "description": "A map of network tags to associate with the VM.", + "description": "A list of network tags to associate with the VM.", "items": { "type": "string" }, "type": "array" }, "secureBoot": { - "description": "Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.", + "description": "Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.", "type": "boolean" }, "serviceAccount": { @@ -2665,7 +2665,7 @@ "description": "The OS license returned from the adaptation module report." }, "bootOption": { - "description": "The VM Boot Option, as set in the source vm.", + "description": "The VM Boot Option, as set in the source VM.", "enum": [ "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED", "COMPUTE_ENGINE_BOOT_OPTION_EFI", @@ -2746,7 +2746,7 @@ "type": "array" }, "networkTags": { - "description": "A map of network tags to associate with the VM.", + "description": "A list of network tags to associate with the VM.", "items": { "type": "string" }, @@ -2757,7 +2757,7 @@ "type": "string" }, "secureBoot": { - "description": "Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.", + "description": "Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.", "type": "boolean" }, "serviceAccount": { @@ -3929,7 +3929,7 @@ "type": "string" }, "sourceDiskNumber": { - "description": "The ordinal number of the source VM disk.", + "description": "Required. The ordinal number of the source VM disk.", "format": "int32", "type": "integer" } diff --git a/vmmigration/v1/vmmigration-gen.go b/vmmigration/v1/vmmigration-gen.go index 8a1cb787441..32c86905233 100644 --- a/vmmigration/v1/vmmigration-gen.go +++ b/vmmigration/v1/vmmigration-gen.go @@ -991,7 +991,7 @@ type ComputeEngineTargetDefaults struct { // adaptation module report. AppliedLicense *AppliedLicense `json:"appliedLicense,omitempty"` - // BootOption: Output only. The VM Boot Option, as set in the source vm. + // BootOption: Output only. The VM Boot Option, as set in the source VM. // // Possible values: // "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED" - The boot option is @@ -1044,11 +1044,11 @@ type ComputeEngineTargetDefaults struct { // NetworkInterfaces: List of NICs connected to this VM. NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` - // NetworkTags: A map of network tags to associate with the VM. + // NetworkTags: A list of network tags to associate with the VM. NetworkTags []string `json:"networkTags,omitempty"` // SecureBoot: Defines whether the instance has Secure Boot enabled. - // This can be set to true only if the vm boot option is EFI. + // This can be set to true only if the VM boot option is EFI. SecureBoot bool `json:"secureBoot,omitempty"` // ServiceAccount: The service account to associate the VM with. @@ -1100,7 +1100,7 @@ type ComputeEngineTargetDetails struct { // report. AppliedLicense *AppliedLicense `json:"appliedLicense,omitempty"` - // BootOption: The VM Boot Option, as set in the source vm. + // BootOption: The VM Boot Option, as set in the source VM. // // Possible values: // "COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED" - The boot option is @@ -1153,14 +1153,14 @@ type ComputeEngineTargetDetails struct { // NetworkInterfaces: List of NICs connected to this VM. NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` - // NetworkTags: A map of network tags to associate with the VM. + // NetworkTags: A list of network tags to associate with the VM. NetworkTags []string `json:"networkTags,omitempty"` // Project: The Google Cloud target project ID or project name. Project string `json:"project,omitempty"` // SecureBoot: Defines whether the instance has Secure Boot enabled. - // This can be set to true only if the vm boot option is EFI. + // This can be set to true only if the VM boot option is EFI. SecureBoot bool `json:"secureBoot,omitempty"` // ServiceAccount: The service account to associate the VM with. @@ -2719,7 +2719,7 @@ type PersistentDiskDefaults struct { // persistent disks that balance performance and cost. DiskType string `json:"diskType,omitempty"` - // SourceDiskNumber: The ordinal number of the source VM disk. + // SourceDiskNumber: Required. The ordinal number of the source VM disk. SourceDiskNumber int64 `json:"sourceDiskNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalLabels") to