Class ProjectProperties
A descriptor for defining project properties for a service. One service may
have many consumer projects, and the service may want to behave differently
depending on some properties on the project. For example, a project may be
associated with a school, or a business, or a government agency, a business
type property on the project may affect how a service responds to the client.
This descriptor defines which properties are allowed to be set on a project.
Example:
project_properties:
properties:
- name: NO_WATERMARK
type: BOOL
description: Allows usage of the API without watermarks.
- name: EXTENDED_TILE_CACHE_PERIOD
type: INT64
Inheritance
System.Object
ProjectProperties
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class ProjectProperties : IMessage<ProjectProperties>, IMessage, IEquatable<ProjectProperties>, IDeepCloneable<ProjectProperties>
Constructors
ProjectProperties()
Declaration
public ProjectProperties()
ProjectProperties(ProjectProperties)
Declaration
public ProjectProperties(ProjectProperties other)
Parameters
Fields
PropertiesFieldNumber
Field number for the "properties" field.
Declaration
public const int PropertiesFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Parser
Declaration
public static MessageParser<ProjectProperties> Parser { get; }
Property Value
Properties
List of per consumer project-specific properties.
Declaration
public RepeatedField<Property> Properties { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public ProjectProperties Clone()
Returns
Implements
Equals(ProjectProperties)
Declaration
public bool Equals(ProjectProperties other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
MergeFrom(ProjectProperties)
Declaration
public void MergeFrom(ProjectProperties other)
Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements