Class ManagementResource.WebpropertiesResource.InsertRequest
Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Webproperty>
ManagementResource.WebpropertiesResource.InsertRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Webproperty>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class InsertRequest : AnalyticsBaseServiceRequest<Webproperty>, IClientServiceRequest<Webproperty>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Webproperty, String)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Webproperty body, string accountId)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service | |
| Webproperty | body | |
| System.String | accountId |
Properties
AccountId
Account ID to create the web property for.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Analytics.v3.AnalyticsBaseServiceRequest<Google.Apis.Analytics.v3.Data.Webproperty>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest