Class FormsResource.SetPublishSettingsRequest
Updates the publish settings of a form. Legacy forms aren't supported because they don't have the
publish_settings
field.
Inheritance
FormsResource.SetPublishSettingsRequest
Inherited Members
Namespace: Google.Apis.Forms.v1
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class FormsResource.SetPublishSettingsRequest : FormsBaseServiceRequest<SetPublishSettingsResponse>, IClientServiceRequest<SetPublishSettingsResponse>, IClientServiceRequest
Constructors
SetPublishSettingsRequest(IClientService, SetPublishSettingsRequest, string)
Constructs a new SetPublishSettings request.
Declaration
public SetPublishSettingsRequest(IClientService service, SetPublishSettingsRequest body, string formId)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service | |
Set |
body | |
string | formId |
Properties
FormId
Required. The ID of the form. You can get the id from Form.form_id
field.
Declaration
[RequestParameter("formId", RequestParameterType.Path)]
public virtual string FormId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SetPublishSettings parameter list.
Declaration
protected override void InitParameters()